Repository navigation
feat: generate the manifests from plugin.config.json; add Cursor - #12
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.claude-plugin/plugin.json,.claude-plugin/marketplace.json,.claude-plugin/icon.pngandskills/index.jsoncome out byte for byte the same..cursor-plugin/plugin.jsonat version 0.5.0, withlogoset toassets/icon.pngand no component path fields, so Cursor findsskills/by default.cliff.toml: content unchanged apart from a "generated" header; the feat(skills): add workflows-actions-reuse #10 preprocessor now comes fromchangelog.commitPreprocessorsin the config.package.json: the generator's dev scripts.plugin.jsoncompetes with Cursor's manifest.From the template
scripts/build.ts,generate.ts,types.ts,frontmatter.ts,tests/build.test.ts,tsconfig.jsonandscripts/release.share byte-identical to the template'smain.Other changes
scripts/build_skills_index.py; the generator writes the index.upstream-sync.ymlrebuilds withnode scripts/build.ts.scripts/ci.sh: runs the generator's tests,build.ts --checkand typecheck in place of the icon-copy and index checks. The skill-version, Python-test and pin checks are unchanged.release.shsets the version inplugin.config.jsonand rebuilds. plugin-ci's release workflow still reads.claude-plugin/plugin.json, which carries the same version.Checks
bash scripts/ci.shpasses (27 generator tests, 6 Python tests, pins).claude plugin validate .passes in both profiles, with only the existing warning about the rootCLAUDE.md.Generated by Claude Code