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
+12-2Lines changed: 12 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -121,7 +121,7 @@ For manual smoke tests, open or copy the relevant folder from `plugins/` into th
121
121
122
122
## Cursor Publishing
123
123
124
-
Cursor requires a standalone plugin repository. This repo remains the source of truth; the publishable Cursor repository lives at:
124
+
Cursor requires a standalone native plugin repository. The generated Cursor package is not a VS Code extension, is not installed from a `.vsix`, and should not use VS Code Marketplace packaging or publishing tooling. This repo remains the source of truth; the publishable Cursor repository lives at:
The dry run prints the exact subtree split and push commands without creating a split branch, pushing to the standalone repository, or mutating the standalone checkout.
137
137
138
+
For local Cursor testing, install the generated package at Cursor's native local plugin path:
Reload Cursor and confirm the local plugin contains `.cursor-plugin/plugin.json`, `README.md`, `mcp.json`, `rules/wordpress-studio.mdc`, and the full `skills/` tree. In Cursor's MCP or tools settings, confirm `wordpress-studio` and `wordpress-telemetry` are visible and enabled. In Cursor's rules and skills surfaces, confirm `rules/wordpress-studio.mdc` and the bundled WordPress skills are visible before submitting marketplace changes.
147
+
138
148
When maintainers are ready to update the standalone repository, run the non-dry-run export from a clean source worktree:
139
149
140
150
```bash
@@ -143,4 +153,4 @@ pnpm export:cursor
143
153
144
154
The export command runs `git subtree split --prefix=plugins/cursor` and pushes the result to `Automattic/wordpress-cursor-plugin` on `sync/from-build-with-wordpress`. Open or update a PR from that branch into the standalone repo's `main` branch.
145
155
146
-
Before submitting or updating the Cursor listing, confirm the standalone branch includes the expected generated files, review `.cursor-plugin/plugin.json` listing metadata, verify the README and MCP setup match the generated source, and submit to Cursor only after the standalone repository PR is accepted.
156
+
Before submitting or updating the Cursor listing, confirm the standalone branch includes the expected generated files, review `.cursor-plugin/plugin.json` listing metadata including rules, skills, and MCP server paths, verify the README and MCP setup match the generated source, repeat the local native-plugin test flow from `~/.cursor/plugins/local/wordpress-studio`, and submit to Cursor only after the standalone repository PR is accepted.
Copy file name to clipboardExpand all lines: plugins/cursor/README.md
+60-3Lines changed: 60 additions & 3 deletions
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
This Cursor plugin packages shared WordPress skills from the `build-with-wordpress` source repo as WordPress Studio.
4
4
5
-
It is a Cursor plugin built from the same shared skills as the Codex and Claude Code plugins.
5
+
It is a Cursor-native plugin built from the same shared skills as the Codex and Claude Code plugins. It is not a VS Code extension, it is not installed from a `.vsix`, and it should not be packaged with VS Code Marketplace tooling.
6
6
7
7
- The generated `plugins/cursor/` folder uses Cursor's single-plugin layout
8
8
- Cursor discovers plugin skills from `skills/`
@@ -11,6 +11,55 @@ It is a Cursor plugin built from the same shared skills as the Codex and Claude
11
11
- WordPress request routing stays shared across surfaces
Reload Cursor after installing or updating the local plugin. The local plugin root should contain these files:
39
+
40
+
-`.cursor-plugin/plugin.json`
41
+
-`README.md`
42
+
-`mcp.json`
43
+
-`rules/wordpress-studio.mdc`
44
+
-`skills/<skill>/SKILL.md` for each bundled skill
45
+
46
+
## MCP visibility checks
47
+
48
+
In Cursor's MCP or tools settings, confirm both plugin-provided servers are visible and enabled:
49
+
50
+
-`wordpress-studio`, which launches `studio mcp`
51
+
-`wordpress-telemetry`, which launches the bundled telemetry bootstrap from `mcp.json`
52
+
53
+
If the servers are missing, inspect `~/.cursor/plugins/local/wordpress-studio/mcp.json`, confirm `studio --version` works in a normal shell, then reload Cursor.
54
+
55
+
## Rules and skills visibility checks
56
+
57
+
Confirm Cursor loads the plugin guidance before doing Marketplace or standalone-repo work:
58
+
59
+
- The always-on rule from `rules/wordpress-studio.mdc` is available in Cursor's rules view or applies to WordPress requests.
60
+
- The bundled skills are visible from the local plugin, including `wordpress-creator`, `site-creator`, `theme-creator`, `block-creator`, `plugin-creator`, `design-previews-creator`, `auditing`, and `studio`.
61
+
- A WordPress site, theme, block, plugin, or audit request routes through the shared WordPress creator guidance and prefers Studio MCP tools before shell fallbacks.
62
+
14
63
## Standalone export and listing
15
64
16
65
Build with WordPress is the source of truth for this generated package. The standalone Cursor plugin repository is https://github.com/Automattic/wordpress-cursor-plugin and should be updated through the repository export script, not by manually editing exported files.
@@ -23,9 +72,17 @@ pnpm verify
23
72
pnpm export:cursor -- --dry-run
24
73
```
25
74
26
-
When maintainers are ready to update the standalone repository, run `pnpm export:cursor` from a clean source worktree. The exporter creates a subtree split of `plugins/cursor/` and pushes it to `sync/from-build-with-wordpress` in the standalone repository.
75
+
When maintainers are ready to update the standalone repository, run `pnpm export:cursor` from a clean source worktree. The exporter creates a subtree split of `plugins/cursor/` and pushes it to `sync/from-build-with-wordpress` in the standalone repository. Do not manually edit generated Cursor output in the standalone repository; fix the generator or shared skills here, rebuild, verify, and export.
76
+
77
+
## Marketplace checklist
78
+
79
+
Before submitting or updating the Cursor listing:
27
80
28
-
Before submitting or updating the Cursor listing, confirm the exported standalone branch contains the expected `.cursor-plugin/plugin.json`, `README.md`, `mcp.json`, `rules/wordpress-studio.mdc`, and full `skills/` tree; review the listing-facing manifest fields for name, display name, version, description, author, homepage, repository, license, and keywords; then open or update the standalone repository pull request for review. Submit to Cursor only after the standalone repository PR is accepted.
81
+
- Confirm the exported standalone branch contains the expected `.cursor-plugin/plugin.json`, `README.md`, `mcp.json`, `rules/wordpress-studio.mdc`, and full `skills/` tree.
82
+
- Review the listing-facing manifest fields for name, display name, version, description, author, homepage, repository, license, keywords, rules, skills, and MCP server paths.
83
+
- Install the standalone branch locally at `~/.cursor/plugins/local/wordpress-studio` and repeat the MCP, rules, and skills visibility checks above.
84
+
- Open or update the standalone repository pull request from `sync/from-build-with-wordpress` into `main` and wait for review.
85
+
- Submit to Cursor Marketplace only after the standalone repository PR is accepted and the local native-plugin test flow passes.
29
86
30
87
It ships the shared skills from this repo so all supported surfaces stay aligned while we iterate on surface-specific packaging details.
Copy file name to clipboardExpand all lines: scripts/build-plugins.mjs
+60-3Lines changed: 60 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2348,7 +2348,7 @@ const pluginTargets = [
2348
2348
manifestDir: ".cursor-plugin",
2349
2349
manifestFileName: "plugin.json",
2350
2350
manifestContents: cursorPluginManifest,
2351
-
readmeIntro: `It is a Cursor plugin built from the same shared skills as the Codex and Claude Code plugins.
2351
+
readmeIntro: `It is a Cursor-native plugin built from the same shared skills as the Codex and Claude Code plugins. It is not a VS Code extension, it is not installed from a \`.vsix\`, and it should not be packaged with VS Code Marketplace tooling.
2352
2352
2353
2353
- The generated \`plugins/cursor/\` folder uses Cursor's single-plugin layout
2354
2354
- Cursor discovers plugin skills from \`skills/\`
@@ -2357,6 +2357,55 @@ const pluginTargets = [
2357
2357
- WordPress request routing stays shared across surfaces
Reload Cursor after installing or updating the local plugin. The local plugin root should contain these files:
2385
+
2386
+
- \`.cursor-plugin/plugin.json\`
2387
+
- \`README.md\`
2388
+
- \`mcp.json\`
2389
+
- \`rules/wordpress-studio.mdc\`
2390
+
- \`skills/<skill>/SKILL.md\` for each bundled skill
2391
+
2392
+
## MCP visibility checks
2393
+
2394
+
In Cursor's MCP or tools settings, confirm both plugin-provided servers are visible and enabled:
2395
+
2396
+
- \`wordpress-studio\`, which launches \`studio mcp\`
2397
+
- \`wordpress-telemetry\`, which launches the bundled telemetry bootstrap from \`mcp.json\`
2398
+
2399
+
If the servers are missing, inspect \`~/.cursor/plugins/local/wordpress-studio/mcp.json\`, confirm \`studio --version\` works in a normal shell, then reload Cursor.
2400
+
2401
+
## Rules and skills visibility checks
2402
+
2403
+
Confirm Cursor loads the plugin guidance before doing Marketplace or standalone-repo work:
2404
+
2405
+
- The always-on rule from \`rules/wordpress-studio.mdc\` is available in Cursor's rules view or applies to WordPress requests.
2406
+
- The bundled skills are visible from the local plugin, including \`wordpress-creator\`, \`site-creator\`, \`theme-creator\`, \`block-creator\`, \`plugin-creator\`, \`design-previews-creator\`, \`auditing\`, and \`studio\`.
2407
+
- A WordPress site, theme, block, plugin, or audit request routes through the shared WordPress creator guidance and prefers Studio MCP tools before shell fallbacks.
2408
+
2360
2409
## Standalone export and listing
2361
2410
2362
2411
Build with WordPress is the source of truth for this generated package. The standalone Cursor plugin repository is https://github.com/Automattic/wordpress-cursor-plugin and should be updated through the repository export script, not by manually editing exported files.
@@ -2369,9 +2418,17 @@ pnpm verify
2369
2418
pnpm export:cursor -- --dry-run
2370
2419
\`\`\`
2371
2420
2372
-
When maintainers are ready to update the standalone repository, run \`pnpm export:cursor\` from a clean source worktree. The exporter creates a subtree split of \`plugins/cursor/\` and pushes it to \`sync/from-build-with-wordpress\` in the standalone repository.
2421
+
When maintainers are ready to update the standalone repository, run \`pnpm export:cursor\` from a clean source worktree. The exporter creates a subtree split of \`plugins/cursor/\` and pushes it to \`sync/from-build-with-wordpress\` in the standalone repository. Do not manually edit generated Cursor output in the standalone repository; fix the generator or shared skills here, rebuild, verify, and export.
2422
+
2423
+
## Marketplace checklist
2424
+
2425
+
Before submitting or updating the Cursor listing:
2373
2426
2374
-
Before submitting or updating the Cursor listing, confirm the exported standalone branch contains the expected \`.cursor-plugin/plugin.json\`, \`README.md\`, \`mcp.json\`, \`rules/wordpress-studio.mdc\`, and full \`skills/\` tree; review the listing-facing manifest fields for name, display name, version, description, author, homepage, repository, license, and keywords; then open or update the standalone repository pull request for review. Submit to Cursor only after the standalone repository PR is accepted.`,
2427
+
- Confirm the exported standalone branch contains the expected \`.cursor-plugin/plugin.json\`, \`README.md\`, \`mcp.json\`, \`rules/wordpress-studio.mdc\`, and full \`skills/\` tree.
2428
+
- Review the listing-facing manifest fields for name, display name, version, description, author, homepage, repository, license, keywords, rules, skills, and MCP server paths.
2429
+
- Install the standalone branch locally at \`~/.cursor/plugins/local/wordpress-studio\` and repeat the MCP, rules, and skills visibility checks above.
2430
+
- Open or update the standalone repository pull request from \`sync/from-build-with-wordpress\` into \`main\` and wait for review.
2431
+
- Submit to Cursor Marketplace only after the standalone repository PR is accepted and the local native-plugin test flow passes.`,
0 commit comments