Skip to content

Commit 0cb547e

Browse files
authored
Add Roo Code output
Add a generated Roo Code workspace output with project MCP configuration, Roo rules, AGENTS.md guidance, shared skills, and verification coverage.
1 parent ab1723c commit 0cb547e

28 files changed

Lines changed: 24419 additions & 24 deletions

File tree

README.md

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Shared source for WordPress-focused agent skills and plugin packaging.
44

5-
This repo currently packages shared skills for Codex, Claude Code, Cursor, GitHub Copilot, and Gemini as separate plugin outputs:
5+
This repo currently packages shared skills for Codex, Claude Code, Cursor, GitHub Copilot, Gemini, and Roo Code as separate plugin outputs:
66

77
- prefers the WordPress Studio MCP server for site management, screenshots, and block validation
88
- falls back to the Studio CLI through a shared Studio skill when MCP is unavailable
@@ -14,6 +14,7 @@ This repo currently packages shared skills for Codex, Claude Code, Cursor, GitHu
1414
- can optionally generate three design preview directions before building a site theme
1515
- bundles a plugin-local telemetry MCP server so workflow events do not depend on Studio shipping telemetry support
1616
- keeps skills shared so other surfaces can reuse them later
17+
- adds Roo Code workspace rules and project MCP config without introducing a Roo-specific backend service
1718

1819
## Testing
1920

@@ -60,6 +61,20 @@ claude --plugin-dir ./plugins/claude-code
6061
- running an audit request
6162
6. For workflow telemetry coverage, make sure the generated `wordpress-telemetry` MCP server starts alongside `wordpress-studio`.
6263

64+
### Test in Roo Code
65+
66+
1. Install the Roo Code VS Code extension.
67+
2. Open `./plugins/roo-code` as the VS Code workspace root, or copy that folder's contents into a target workspace root.
68+
3. Confirm the generated workspace rules exist at `plugins/roo-code/.roo/rules/wordpress-com.md` and `plugins/roo-code/.roo/rules-code/wordpress-com-code.md`.
69+
4. Confirm the generated project MCP config exists at `plugins/roo-code/.roo/mcp.json`.
70+
5. In Roo Code, enable MCP servers and confirm `wordpress-studio` and `wordpress-telemetry` are available.
71+
6. Try the same representative tasks:
72+
- creating a new site
73+
- building or editing a theme
74+
- creating a custom block
75+
- creating a custom plugin
76+
- running an audit request
77+
6378
### Test in GitHub Copilot
6479

6580
1. Copy or open `./plugins/copilot` as the project root in VS Code.
@@ -104,6 +119,7 @@ claude --plugin-dir ./plugins/claude-code
104119
- Codex packaging output in `plugins/codex/`
105120
- Claude Code packaging output in `plugins/claude-code/`
106121
- Cursor packaging output in `plugins/cursor/`
122+
- Roo Code workspace output in `plugins/roo-code/`
107123
- Gemini packaging output in `plugins/gemini/`
108124
- GitHub Copilot packaging output in `plugins/copilot/`
109125
- Bundled telemetry artifact in `dist/`
@@ -119,6 +135,7 @@ The build packages the shared skills into:
119135
- `plugins/codex/plugins/wordpress-studio/skills/`
120136
- `plugins/claude-code/skills/`
121137
- `plugins/cursor/skills/`
138+
- `plugins/roo-code/skills/`
122139
- `plugins/gemini/skills/`
123140
- `plugins/copilot/skills/`
124141

@@ -127,6 +144,7 @@ It also generates plugin-specific MCP configs for each surface:
127144
- Codex: `plugins/codex/plugins/wordpress-studio/.mcp.json`
128145
- Claude Code: `plugins/claude-code/.mcp.json`
129146
- Cursor: `plugins/cursor/mcp.json`
147+
- Roo Code: `plugins/roo-code/.roo/mcp.json`
130148
- Gemini: `plugins/gemini/.gemini/settings.json`
131149
- GitHub Copilot: `plugins/copilot/.vscode/mcp.json`
132150

@@ -232,3 +250,21 @@ That folder currently contains:
232250
- `README.md`
233251

234252
The generated Gemini MCP config launches both `studio mcp` and the bundled `wordpress-telemetry` MCP server. `GEMINI.md` is the project-level instruction file for Gemini CLI and Gemini Code Assist workflows.
253+
254+
The Roo Code workspace output is generated to:
255+
256+
```text
257+
plugins/roo-code/
258+
```
259+
260+
That folder currently contains:
261+
262+
- `.roo/mcp.json`
263+
- `.roo/rules/wordpress-com.md`
264+
- `.roo/rules-code/wordpress-com-code.md`
265+
- `AGENTS.md`
266+
- `scripts/wordpress-telemetry-mcp.mjs`
267+
- `skills/`
268+
- `README.md`
269+
270+
The generated Roo Code project MCP config launches both `studio mcp` and the bundled `wordpress-telemetry` MCP server. The `.roo/rules/` files are Roo-specific; the WordPress.com MCP and skill behavior is shared with the other outputs.

plugins/claude-code/skills/auditing/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ Focus on issues this repo can realistically help with:
106106
- readability issues caused by font size, line height, or dense layouts
107107
- color choices that make important information hard to distinguish
108108

109-
When the issue is visual, prefer `take_screenshot`-backed observations. Use `inspect_design` when the rendered DOM or computed styles would identify the root cause faster than code inspection alone.
109+
When the issue is visual, prefer `take_screenshot`-backed observations. Use `inspect_design` when the rendered DOM or computed styles would identify the root cause faster than code inspection.
110110

111111
When the issue appears structural, inspect the relevant theme or plugin files before recommending a fix.
112112

plugins/claude-code/skills/theme-creator/SKILL.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ Use `studio` for the review loop after making changes. Use `auditing` when the u
2121
## Principles
2222

2323
- Build block themes, not classic themes.
24-
- Use `scaffold_theme` when starting a new custom theme, then fill in design-specific templates, parts, and styles.
2524
- Use modern WordPress patterns: `theme.json`, template parts, templates, core blocks.
2625
- Prefer CSS and block composition over raw HTML blocks.
2726
- Keep the theme editable in the Site Editor.

plugins/codex/plugins/wordpress-studio/skills/auditing/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ Focus on issues this repo can realistically help with:
106106
- readability issues caused by font size, line height, or dense layouts
107107
- color choices that make important information hard to distinguish
108108

109-
When the issue is visual, prefer `take_screenshot`-backed observations. Use `inspect_design` when the rendered DOM or computed styles would identify the root cause faster than code inspection alone.
109+
When the issue is visual, prefer `take_screenshot`-backed observations. Use `inspect_design` when the rendered DOM or computed styles would identify the root cause faster than code inspection.
110110

111111
When the issue appears structural, inspect the relevant theme or plugin files before recommending a fix.
112112

plugins/codex/plugins/wordpress-studio/skills/theme-creator/SKILL.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ Use `studio` for the review loop after making changes. Use `auditing` when the u
2121
## Principles
2222

2323
- Build block themes, not classic themes.
24-
- Use `scaffold_theme` when starting a new custom theme, then fill in design-specific templates, parts, and styles.
2524
- Use modern WordPress patterns: `theme.json`, template parts, templates, core blocks.
2625
- Prefer CSS and block composition over raw HTML blocks.
2726
- Keep the theme editable in the Site Editor.

plugins/copilot/skills/auditing/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ Focus on issues this repo can realistically help with:
106106
- readability issues caused by font size, line height, or dense layouts
107107
- color choices that make important information hard to distinguish
108108

109-
When the issue is visual, prefer `take_screenshot`-backed observations. Use `inspect_design` when the rendered DOM or computed styles would identify the root cause faster than code inspection alone.
109+
When the issue is visual, prefer `take_screenshot`-backed observations. Use `inspect_design` when the rendered DOM or computed styles would identify the root cause faster than code inspection.
110110

111111
When the issue appears structural, inspect the relevant theme or plugin files before recommending a fix.
112112

plugins/copilot/skills/theme-creator/SKILL.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ Use `studio` for the review loop after making changes. Use `auditing` when the u
2121
## Principles
2222

2323
- Build block themes, not classic themes.
24-
- Use `scaffold_theme` when starting a new custom theme, then fill in design-specific templates, parts, and styles.
2524
- Use modern WordPress patterns: `theme.json`, template parts, templates, core blocks.
2625
- Prefer CSS and block composition over raw HTML blocks.
2726
- Keep the theme editable in the Site Editor.

plugins/cursor/skills/auditing/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ Focus on issues this repo can realistically help with:
106106
- readability issues caused by font size, line height, or dense layouts
107107
- color choices that make important information hard to distinguish
108108

109-
When the issue is visual, prefer `take_screenshot`-backed observations. Use `inspect_design` when the rendered DOM or computed styles would identify the root cause faster than code inspection alone.
109+
When the issue is visual, prefer `take_screenshot`-backed observations. Use `inspect_design` when the rendered DOM or computed styles would identify the root cause faster than code inspection.
110110

111111
When the issue appears structural, inspect the relevant theme or plugin files before recommending a fix.
112112

plugins/cursor/skills/theme-creator/SKILL.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ Use `studio` for the review loop after making changes. Use `auditing` when the u
2121
## Principles
2222

2323
- Build block themes, not classic themes.
24-
- Use `scaffold_theme` when starting a new custom theme, then fill in design-specific templates, parts, and styles.
2524
- Use modern WordPress patterns: `theme.json`, template parts, templates, core blocks.
2625
- Prefer CSS and block composition over raw HTML blocks.
2726
- Keep the theme editable in the Site Editor.

plugins/gemini/skills/auditing/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ Focus on issues this repo can realistically help with:
106106
- readability issues caused by font size, line height, or dense layouts
107107
- color choices that make important information hard to distinguish
108108

109-
When the issue is visual, prefer `take_screenshot`-backed observations. Use `inspect_design` when the rendered DOM or computed styles would identify the root cause faster than code inspection alone.
109+
When the issue is visual, prefer `take_screenshot`-backed observations. Use `inspect_design` when the rendered DOM or computed styles would identify the root cause faster than code inspection.
110110

111111
When the issue appears structural, inspect the relevant theme or plugin files before recommending a fix.
112112

0 commit comments

Comments
 (0)