Skip to content

Commit 24beea1

Browse files
authored
Add Continue output (#12)
* Add Continue output * Revert "Update generated skills from shared Studio guidance" This reverts commit d02642d, reversing changes made to 4ccad40. * Repair Continue plugin branch after trunk merge
1 parent 5a2e9b2 commit 24beea1

9 files changed

Lines changed: 425 additions & 2 deletions

File tree

README.md

Lines changed: 36 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, Gemini, and Roo Code as separate plugin outputs:
5+
This repo currently packages shared skills and setup files for Codex, Claude Code, Cursor, Continue, GitHub Copilot, Gemini, and Roo Code as separate 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+
- includes Continue-native setup files for WordPress.com rules, prompts, and MCP configuration
1718
- adds Roo Code workspace rules and project MCP config without introducing a Roo-specific backend service
1819

1920
## Testing
@@ -103,6 +104,19 @@ claude --plugin-dir ./plugins/claude-code
103104
- running an audit request
104105
6. For workflow telemetry coverage, make sure the generated `wordpress-telemetry` MCP server starts alongside `wordpress-studio`.
105106

107+
### Test in Continue
108+
109+
1. Review the generated Continue output in `./plugins/continue`.
110+
2. Confirm the generated setup files exist:
111+
- `plugins/continue/README.md`
112+
- `plugins/continue/config.yaml`
113+
- `plugins/continue/.continue/rules/wordpress-com.md`
114+
- `plugins/continue/.continue/prompts/create-wordpress-com-site.md`
115+
- `plugins/continue/.continue/prompts/audit-wordpress-com-project.md`
116+
- `plugins/continue/.continue/mcpServers/wordpress-com.yaml`
117+
3. In Continue, copy the `.continue/` examples into a project or merge the `config.yaml` MCP snippet into `~/.continue/config.yaml`.
118+
4. Use Continue Agent mode for WordPress.com MCP tool access.
119+
106120
## Current scope
107121

108122
- Shared skills for:
@@ -119,6 +133,7 @@ claude --plugin-dir ./plugins/claude-code
119133
- Codex packaging output in `plugins/codex/`
120134
- Claude Code packaging output in `plugins/claude-code/`
121135
- Cursor packaging output in `plugins/cursor/`
136+
- Continue setup output in `plugins/continue/`
122137
- Roo Code workspace output in `plugins/roo-code/`
123138
- Gemini packaging output in `plugins/gemini/`
124139
- GitHub Copilot packaging output in `plugins/copilot/`
@@ -144,6 +159,7 @@ It also generates plugin-specific MCP configs for each surface:
144159
- Codex: `plugins/codex/plugins/wordpress-studio/.mcp.json`
145160
- Claude Code: `plugins/claude-code/.mcp.json`
146161
- Cursor: `plugins/cursor/mcp.json`
162+
- Continue: `plugins/continue/.continue/mcpServers/wordpress-com.yaml`
147163
- Roo Code: `plugins/roo-code/.roo/mcp.json`
148164
- Gemini: `plugins/gemini/.gemini/settings.json`
149165
- GitHub Copilot: `plugins/copilot/.vscode/mcp.json`
@@ -233,6 +249,25 @@ That folder currently contains:
233249
- `skills/`
234250
- `README.md`
235251

252+
The generated Cursor MCP config launches both `studio mcp` and the bundled `wordpress-telemetry` MCP server.
253+
254+
The Continue setup output is generated to:
255+
256+
```text
257+
plugins/continue/
258+
```
259+
260+
That folder currently contains:
261+
262+
- `README.md`
263+
- `config.yaml`
264+
- `.continue/rules/wordpress-com.md`
265+
- `.continue/prompts/create-wordpress-com-site.md`
266+
- `.continue/prompts/audit-wordpress-com-project.md`
267+
- `.continue/mcpServers/wordpress-com.yaml`
268+
269+
The generated Continue MCP guidance uses the same existing `studio mcp` entrypoint as the shared WordPress.com MCP substrate. Continue-specific files cover rules, prompts, and MCP block placement; they do not define a separate backend service.
270+
236271
The generated Copilot MCP config launches both `studio mcp` and the bundled `wordpress-telemetry` MCP server through VS Code's MCP configuration.
237272

238273
The Gemini plugin is generated to:
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: WordPress.com MCP
2+
version: 0.0.1
3+
schema: v1
4+
mcpServers:
5+
- name: WordPress.com MCP
6+
type: stdio
7+
command: studio
8+
args:
9+
- mcp
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Audit WordPress.com project
3+
description: Review a WordPress.com project for implementation, accessibility, performance, and editing quality.
4+
invokable: true
5+
---
6+
7+
# Audit WordPress.com Project
8+
9+
Review the selected WordPress.com project or change set.
10+
11+
Focus on:
12+
13+
- correctness and regressions
14+
- block validity and editor compatibility
15+
- accessibility
16+
- responsive behavior
17+
- frontend performance
18+
- maintainability and WordPress conventions
19+
20+
Use the configured WordPress.com MCP tools when available. Report findings first, ordered by severity, with file or tool evidence where possible.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
name: Create WordPress.com site
3+
description: Plan and build a WordPress.com site change using Continue and MCP tools.
4+
invokable: true
5+
---
6+
7+
# Create WordPress.com Site Work
8+
9+
Use Continue Agent mode and the configured WordPress.com MCP tools to help create or update a WordPress.com site.
10+
11+
1. Inspect the current project and available WordPress.com MCP tools.
12+
2. Identify whether the task is best handled with blocks, a theme, a plugin, content edits, or site settings.
13+
3. Make the smallest complete implementation that matches the existing project conventions.
14+
4. Validate the result with available WordPress.com MCP tools, screenshots, block validation, WP-CLI, or project tests.
15+
5. Summarize what changed, what was verified, and any remaining manual review steps.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
name: WordPress.com
3+
alwaysApply: true
4+
description: WordPress.com guidance for Continue Agent, Chat, and Edit requests.
5+
---
6+
7+
# WordPress.com
8+
9+
- Use the product name WordPress.com in user-facing text.
10+
- Prefer the WordPress.com and Jetpack MCP tools for site discovery, site changes, screenshots, validation, and WordPress operations when they are available.
11+
- Use Continue Agent mode for tasks that need MCP tools.
12+
- Preserve existing project conventions and make the smallest complete change.
13+
- For themes, blocks, plugins, and content changes, inspect the current WordPress project structure before editing.
14+
- Use WordPress APIs, Gutenberg block markup, and WP-CLI-compatible operations instead of custom one-off storage or service layers.
15+
- Explain whether a recommendation depends on Continue configuration or the shared WordPress.com MCP substrate.

plugins/continue/README.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# WordPress.com for Continue
2+
3+
This output shows how to configure the Continue IDE assistant for WordPress.com work using Continue-native configuration files.
4+
5+
Continue does not install this repository as a plugin. Instead, copy the example files into your Continue workspace or user configuration:
6+
7+
- `.continue/rules/wordpress-com.md` contains WordPress.com instructions for Agent, Chat, and Edit modes
8+
- `.continue/prompts/create-wordpress-com-site.md` adds a reusable slash-command prompt for new site work
9+
- `.continue/prompts/audit-wordpress-com-project.md` adds a reusable slash-command prompt for review work
10+
- `.continue/mcpServers/wordpress-com.yaml` shows the MCP server block Continue can load in Agent mode
11+
- `config.yaml` shows the equivalent user-level `~/.continue/config.yaml` snippet
12+
13+
## Setup
14+
15+
1. Install Continue in VS Code or JetBrains.
16+
2. Copy the example `.continue/` directory from this folder into the root of the project you want Continue to help with.
17+
3. Open Continue's local config at `~/.continue/config.yaml` and merge in the relevant parts of `config.yaml` if you prefer user-level configuration.
18+
4. Keep using the existing WordPress.com and Jetpack MCP flow. The example MCP block launches `studio mcp`, matching the shared WordPress.com MCP substrate used by the other outputs in this repository. If your environment exposes the WordPress.com or Jetpack MCP bridge through a different command, replace only the `command` and `args` values with that existing entrypoint.
19+
5. Use Continue Agent mode when you need MCP tools; Continue exposes MCP tools to Agent mode.
20+
21+
## Continue-specific pieces
22+
23+
These files are specific to Continue:
24+
25+
- local rule files under `.continue/rules/`
26+
- local prompt files under `.continue/prompts/` with `invokable: true`
27+
- local MCP server blocks under `.continue/mcpServers/`
28+
- optional user-level `~/.continue/config.yaml` snippets
29+
30+
## Shared WordPress.com substrate
31+
32+
The WordPress.com behavior remains shared across agent surfaces:
33+
34+
- WordPress.com and Jetpack access comes from the existing MCP flow, not a Continue-only backend
35+
- site management, WordPress operations, and Jetpack-connected tools should use that MCP substrate when available
36+
- implementation guidance stays aligned with the shared WordPress skills in this repository
37+
- Continue contributes the IDE-specific packaging format around the same WordPress.com workflow
38+
39+
## Continue references
40+
41+
- Configuration: https://docs.continue.dev/customize/deep-dives/configuration
42+
- Rules: https://docs.continue.dev/customize/deep-dives/rules
43+
- Prompts: https://docs.continue.dev/customize/deep-dives/prompts
44+
- MCP tools: https://docs.continue.dev/customize/deep-dives/mcp

plugins/continue/config.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Merge the relevant sections into ~/.continue/config.yaml.
2+
# Continue also loads project-local files from .continue/rules,
3+
# .continue/prompts, and .continue/mcpServers when they are present in a workspace.
4+
5+
name: WordPress.com
6+
version: 0.0.1
7+
schema: v1
8+
9+
# Project-local rule and prompt files can stay in .continue/rules and
10+
# .continue/prompts. If you publish them to Continue Hub, reference them here:
11+
# rules:
12+
# - uses: your-org/wordpress-com
13+
# prompts:
14+
# - uses: your-org/create-wordpress-com-site
15+
# - uses: your-org/audit-wordpress-com-project
16+
17+
mcpServers:
18+
- name: WordPress.com MCP
19+
type: stdio
20+
command: studio
21+
args:
22+
- mcp

0 commit comments

Comments
 (0)