fix(create-plugin): document valid marketplace entry fields - #283
fix(create-plugin): document valid marketplace entry fields#283abhinavgautam01 wants to merge 1 commit into
Conversation
yangfan-yf-yf
left a comment
There was a problem hiding this comment.
I verified 256bd2b1df6fdd427aca0a5378303dc80ea36c6f: node scripts/validate-plugins.mjs passes. I also checked the schemas with minimal fixtures: name/source and the documented optional fields pass; adding keywords, category, or tags to a marketplace entry fails; those three fields pass in plugin.json.
Could the last sentence of step 6 scope “not valid marketplace entry fields” to this repository's schema? The official plugin entry reference currently lists all three as supported marketplace fields. The skill also supports creating plugins in other repositories, so the unconditional statement could be read as a Cursor-wide restriction.
For example: “For this repository, keep keywords, category, and tags in .cursor-plugin/plugin.json; schemas/marketplace.schema.json rejects them in marketplace entries.” This preserves the repository validation fix without claiming that the general Cursor format forbids these fields. I have not tested the Cursor runtime parser.
Closes #281
Summary
nameandsourceas required marketplace plugin-entry fields.descriptionandminClientVersionsas optional fields.keywords,categoryandtagsbelong in the plugin's.cursor-plugin/plugin.jsonmanifest and are invalid in marketplace entries.Why
The
create-plugin-scaffoldskill previously recommended fields that are rejected byschemas/marketplace.schema.json. Following those instructions could produce a marketplace entry that fails repository validation.Validation
git diff --checkSKILL.mdYAML frontmatternode scripts/validate-plugins.mjsAll plugins validated successfully.Note
Low Risk
Documentation-only change to a scaffold skill; no runtime or schema behavior is modified.
Overview
Updates the create-plugin-scaffold skill so step 6 matches
schemas/marketplace.schema.jsoninstead of suggesting fields that fail validation.Marketplace plugin entries are documented as requiring
nameandsource, with optionaldescriptionandminClientVersions. The skill now states thatkeywords,category, andtagsbelong in.cursor-plugin/plugin.json, not in marketplace entries.Reviewed by Cursor Bugbot for commit 256bd2b. Bugbot is set up for automated code reviews on this repo. Configure here.