Skip to content

feat: generate the manifests from plugin.config.json; add Cursor - #12

Merged
rjstone merged 2 commits into
mainfrom
claude/harness-plugin-template-specs-qk853j
Dec 1, 2026
Merged

rjstone merged 2 commits into
mainfrom
claude/harness-plugin-template-specs-qk853j

Conversation

@rjstone

@rjstone rjstone commented Dec 1, 2026

Copy link
Copy Markdown
Owner

Adds Cursor support. Every manifest is now generated from one plugin.config.json, using the generator from rjstone/harness-plugin-template (PR #4 there, now merged).

Generated from plugin.config.json

  • Unchanged output: .claude-plugin/plugin.json, .claude-plugin/marketplace.json, .claude-plugin/icon.png and skills/index.json come out byte for byte the same.
  • New: .cursor-plugin/plugin.json at version 0.5.0, with logo set to assets/icon.png and no component path fields, so Cursor finds skills/ by default.
  • cliff.toml: content unchanged apart from a "generated" header; the feat(skills): add workflows-actions-reuse #10 preprocessor now comes from changelog.commitPreprocessors in the config.
  • New package.json: the generator's dev scripts.
  • Harnesses: Claude, Cursor and the opencode catalog are on, and everything else is off, so no root plugin.json competes with Cursor's manifest.

From the template

scripts/build.ts, generate.ts, types.ts, frontmatter.ts, tests/build.test.ts, tsconfig.json and scripts/release.sh are byte-identical to the template's main.

Other changes

  • Removed: scripts/build_skills_index.py; the generator writes the index. upstream-sync.yml rebuilds with node scripts/build.ts.
  • scripts/ci.sh: runs the generator's tests, build.ts --check and typecheck in place of the icon-copy and index checks. The skill-version, Python-test and pin checks are unchanged.
  • Releases: release.sh sets the version in plugin.config.json and rebuilds. plugin-ci's release workflow still reads .claude-plugin/plugin.json, which carries the same version.
  • Docs: AGENTS.md documents the generator, the Cursor manifest, the config-held version and preprocessors, and the CI order. README.md has a Cursor install section.

Checks

bash scripts/ci.sh passes (27 generator tests, 6 Python tests, pins). claude plugin validate . passes in both profiles, with only the existing warning about the root CLAUDE.md.


Generated by Claude Code

Adopt rjstone/harness-plugin-template's generator (scripts/build.ts,
generate.ts, types.ts, frontmatter.ts, tests/build.test.ts, tsconfig.json,
scripts/release.sh). plugin.config.json is now the single source: it
writes .claude-plugin/plugin.json, marketplace.json and icon.png (all
unchanged), skills/index.json (unchanged; replaces
scripts/build_skills_index.py), cliff.toml (the #10 preprocessor now
comes from changelog.commitPreprocessors), package.json, and the new
.cursor-plugin/plugin.json (logo assets/icon.png, default skill
discovery). release.sh sets the version in the config and rebuilds.

scripts/ci.sh runs the generator's tests, build --check and typecheck in
place of the icon-copy and index checks; upstream-sync.yml rebuilds with
node. AGENTS.md and README.md document the generator and a local Cursor
install.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QT6szwxMB79y5MRzxuSau4
Copy the template's updated generator (rjstone/harness-plugin-template
#5): Cursor's official plugin-template sets displayName, so the
generated .cursor-plugin/plugin.json carries "GitHub Ninja" again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QT6szwxMB79y5MRzxuSau4
@rjstone
rjstone merged commit f0b0ef6 into main Dec 1, 2026
7 checks passed
@rjstone
rjstone deleted the claude/harness-plugin-template-specs-qk853j branch December 1, 2026 04:29
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