Skip to content

feat(plugin): add Cursor plugin mirroring the Claude toolkit - #176

Merged
stijnvanhulle merged 3 commits into
mainfrom
claude/cursor-plugin-template-ovl3ga
Jul 17, 2026
Merged

feat(plugin): add Cursor plugin mirroring the Claude toolkit#176
stijnvanhulle merged 3 commits into
mainfrom
claude/cursor-plugin-template-ovl3ga

Conversation

@stijnvanhulle

Copy link
Copy Markdown
Owner

🎯 Changes

Cursor added a plugin marketplace (Cursor 2.5, Feb 2026) that bundles rules, commands, skills, subagents, and MCP the same way Claude Code plugins do. This packages the existing shared toolset as a Cursor plugin so Cursor users get the same conventions, workflow, and reviewer the Claude Code plugin already ships.

New Cursor plugin under tools/cursor/, the counterpart of tools/claude/:

  • .cursor-plugin/plugin.json manifest declaring rules, commands, agents, and skills.
  • rules/*.mdc carry the six conventions in Cursor's rule format. code-style, jsdoc, and testing auto-attach by file glob, markdown attaches on markdown, and security and usa-english apply always (alwaysApply: true).
  • commands/*.md are Cursor-native plain-markdown versions of /spec, /plan, /implement, /verify, /changeset, and /deslop (no Claude frontmatter, positional $1 args).
  • agents/code-reviewer.md is the read-only reviewer in Cursor's subagent format.
  • skills → ../claude/skills symlink, so both plugins read one skills source and never drift.

Wiring and docs:

  • .cursor-plugin/marketplace.json at the repo root makes the toolkit installable from Cursor's marketplace, mirroring .claude-plugin/marketplace.json.
  • .cursor/ symlinks (rules, commands, agents, skills) let this repo consume the plugin, mirroring how .claude/ symlinks into tools/claude/.
  • AGENTS.md, README.md, and CONTRIBUTING.md document the Cursor plugin and replace the outdated note that Cursor does not follow .cursor/rules/ symlinks.

Skills, commands, and the reviewer are shared or format-adapted from the Claude toolkit; only the rules (format differs) and the manifests are new content. No published package changes, so no changeset. The format/lint/typecheck/test scripts only target packages, internals, and configs, which this PR does not touch.

✅ Checklist

  • I have followed the steps in the Contributing guide.
  • I ran the full pre-PR check locally: pnpm format && pnpm lint:fix && pnpm typecheck && pnpm test. (Not applicable: those scripts target packages/internals/configs; this PR only adds tooling under tools/cursor, .cursor, .cursor-plugin, and docs.)

🚀 Release Impact

  • This change affects published code, and I have generated a changeset.
  • This change is for tooling and docs (no release).

🤖 Generated with Claude Code


Generated by Claude Code

Package the shared agent toolset as a Cursor plugin under tools/cursor,
alongside the existing Claude Code plugin. It ships the conventions as
Cursor rules (rules/*.mdc), the same spec-driven commands and code-reviewer
agent, and reads its skills from tools/claude/skills so the two plugins
never drift.

Add the root .cursor-plugin/marketplace.json so the toolkit is installable
from Cursor's marketplace, and wire the repo to consume it through .cursor/,
mirroring how .claude/ symlinks into tools/claude/. Update AGENTS.md,
README.md, and CONTRIBUTING.md to document the Cursor plugin and refresh the
outdated Cursor symlink note.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W9Q5A4M7UHk1kLGJTVy2L1
@codesandbox

codesandbox Bot commented Jul 17, 2026

Copy link
Copy Markdown

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@github-actions

Copy link
Copy Markdown
Contributor

Size Change: 0 B

Total Size: 273 B

ℹ️ View Unchanged
Filename Size
packages/core/dist/index.js 112 B
packages/demo/dist/index.js 161 B

compressed-size-action

@pkg-pr-new

pkg-pr-new Bot commented Jul 17, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/stijnvanhulle/template/@stijnvanhulle/template-core@176
npm i https://pkg.pr.new/stijnvanhulle/template/@stijnvanhulle/template-demo@176

commit: bd88c39

claude added 2 commits July 17, 2026 10:18
Apply the humanizer pass to the new plugin copy: split the code-reviewer
sentence for read-aloud flow and fix the spec-driven list grammar.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W9Q5A4M7UHk1kLGJTVy2L1
…al home

Skills are cross-provider (open SKILL.md format), so they no longer live under
the Claude-branded tools/claude/ folder. The canonical copy now lives in
.agents/skills, and every consumer symlinks to it: both plugins
(tools/claude/skills, tools/cursor/skills), both workspace configs
(.claude/skills, .cursor/skills), and .claude/rules. This decouples the two
plugins from each other, so the Cursor plugin no longer reaches into the Claude
plugin's folder and the skills survive independent of either tool.

Update AGENTS.md, README.md, CONTRIBUTING.md, and the Cursor plugin README to
document the neutral canonical home.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W9Q5A4M7UHk1kLGJTVy2L1
@stijnvanhulle
stijnvanhulle merged commit 992cf9c into main Jul 17, 2026
9 checks passed
@stijnvanhulle
stijnvanhulle deleted the claude/cursor-plugin-template-ovl3ga branch July 17, 2026 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants