You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-1Lines changed: 16 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
Shared source for WordPress-focused agent skills and plugin packaging.
4
4
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:
5
+
This repo currently packages shared skills and setup files for Codex, Claude Code, Cursor, Continue, GitHub Copilot, Gemini, Roo Code, and Windsurf/Cascade as separate outputs:
6
6
7
7
- prefers the WordPress Studio MCP server for site management, screenshots, and block validation
8
8
- falls back to the Studio CLI through a shared Studio skill when MCP is unavailable
@@ -16,6 +16,7 @@ This repo currently packages shared skills and setup files for Codex, Claude Cod
16
16
- keeps skills shared so other surfaces can reuse them later
17
17
- includes Continue-native setup files for WordPress.com rules, prompts, and MCP configuration
18
18
- adds Roo Code workspace rules and project MCP config without introducing a Roo-specific backend service
19
+
- adds Windsurf/Cascade workspace rules and MCP config without introducing a Windsurf-specific backend service
19
20
20
21
## Testing
21
22
@@ -117,6 +118,17 @@ claude --plugin-dir ./plugins/claude-code
117
118
3. In Continue, copy the `.continue/` examples into a project or merge the `config.yaml` MCP snippet into `~/.continue/config.yaml`.
118
119
4. Use Continue Agent mode for WordPress.com MCP tool access.
119
120
121
+
### Test in Windsurf/Cascade
122
+
123
+
1. Install Devin Desktop / Windsurf and complete onboarding.
124
+
2. Build the generated output with `pnpm build`.
125
+
3. Confirm the generated Cascade rules exist at `plugins/windsurf/.devin/rules/`.
126
+
4. Confirm the generated MCP config exists at `plugins/windsurf/mcp_config.json`.
127
+
5. Confirm the bundled telemetry server exists at `plugins/windsurf/scripts/wordpress-telemetry-mcp.mjs`.
128
+
6. Copy the servers from `plugins/windsurf/mcp_config.json` into `~/.codeium/windsurf/mcp_config.json`.
129
+
7. In Cascade MCP settings, confirm `wordpress-studio` and `wordpress-telemetry` are enabled.
130
+
8. Try representative WordPress.com tasks such as site review, theme edits, block validation, or plugin planning.
131
+
120
132
## Current scope
121
133
122
134
- Shared skills for:
@@ -137,6 +149,7 @@ claude --plugin-dir ./plugins/claude-code
137
149
- Roo Code workspace output in `plugins/roo-code/`
138
150
- Gemini packaging output in `plugins/gemini/`
139
151
- GitHub Copilot packaging output in `plugins/copilot/`
152
+
- Windsurf/Cascade workspace output in `plugins/windsurf/`
140
153
- Bundled telemetry artifact in `dist/`
141
154
-`pnpm` scripts for build and verification
142
155
@@ -153,6 +166,7 @@ The build packages the shared skills into:
153
166
-`plugins/roo-code/skills/`
154
167
-`plugins/gemini/skills/`
155
168
-`plugins/copilot/skills/`
169
+
-`plugins/windsurf/skills/`
156
170
157
171
It also generates plugin-specific MCP configs for each surface:
158
172
@@ -163,6 +177,7 @@ It also generates plugin-specific MCP configs for each surface:
- Treat this workspace as a WordPress.com-aware build environment.
8
+
- Use the configured WordPress.com MCP tools before falling back to shell or manual WordPress operations.
9
+
- Prefer the smallest fitting WordPress abstraction: existing blocks first, then theme work, custom blocks, and plugins only when reusable functionality is required.
10
+
- Keep user-facing product text as WordPress.com.
11
+
- Ask for the target site only when the available MCP context does not identify it.
12
+
- Verify WordPress work through MCP-backed screenshots, block validation, audits, or WP-CLI commands when those tools are available.
This Windsurf/Cascade output packages the shared WordPress agent substrate from the `build-with-wordpress` source repo for WordPress.com work.
4
+
5
+
## What is Windsurf-specific
6
+
7
+
- Cascade rules live in `.devin/rules/*.md`, which the official docs list as the preferred workspace rule location.
8
+
-`mcp_config.json` is shaped for Cascade's MCP configuration file at `~/.codeium/windsurf/mcp_config.json`.
9
+
- The rules tell Cascade when to use WordPress.com MCP tools and how to route WordPress implementation work.
10
+
11
+
## What is shared
12
+
13
+
- The WordPress.com MCP path uses the existing `wordpress-studio` MCP server; this output does not add a new backend service.
14
+
- Jetpack-connected site access stays part of the existing WordPress.com / Jetpack MCP flow.
15
+
- The bundled `wordpress-telemetry` MCP server is the same repo-local telemetry server used by the other outputs.
16
+
- Shared WordPress skills are copied into `skills/` so routing, Studio-backed workflows, auditing, theme, block, and plugin guidance stay aligned across agent surfaces.
17
+
18
+
## Setup
19
+
20
+
1. Install Devin Desktop / Windsurf and complete onboarding.
21
+
2. Optionally install the `windsurf` command in `PATH` during onboarding.
22
+
3. Build this repo with `pnpm build`.
23
+
4. Copy the servers from `plugins/windsurf/mcp_config.json` into `~/.codeium/windsurf/mcp_config.json`.
24
+
5. In Cascade MCP settings, confirm both servers are enabled:
25
+
-`wordpress-studio`
26
+
-`wordpress-telemetry`
27
+
6. Open this output folder or copy `.devin/rules/` into the workspace where Cascade should be WordPress.com-aware.
28
+
7. Ask Cascade for a WordPress.com site task and confirm it uses MCP tools before shell fallbacks.
29
+
30
+
## Included Cascade rules
31
+
32
+
-`.devin/rules/wordpress-com.md`: always-on WordPress.com routing and product guidance.
33
+
-`.devin/rules/wordpress-com-mcp.md`: model-decision MCP setup and troubleshooting guidance.
34
+
35
+
## Official references
36
+
37
+
- Rules and memories: https://docs.windsurf.com/windsurf/cascade/memories
0 commit comments