`create-plugin-scaffold` documents unsupported `marketplace.json` metadata fields
还没有人认领这个 Issue。
评估
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 新手友好度
- 92/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- javascript, json, markdown
- 领域
- documentation, tooling
调研方向
将 create-plugin/skills/create-plugin-scaffold/SKILL.md 的第 6 步与 schemas/marketplace.schema.json 和 schemas/plugin.schema.json 一起阅读。更新文档中的 Marketplace 字段,并明确 plugin manifest 字段,然后运行 scripts/validate-plugins.mjs;当说明仅描述 schema 支持的 Marketplace 属性且验证通过时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Description
The create-plugin-scaffold skill instructs users to add keywords, category and tags as optional metadata on entries in .cursor-plugin/marketplace.json:
6. If repository uses `.cursor-plugin/marketplace.json`, add plugin entry:
- `name`
- `source`
- optional metadata (`description`, `keywords`, `category`, `tags`)
This conflicts with the marketplace schema. A marketplace plugin entry has additionalProperties: false and permits only:
namesourcedescriptionminClientVersions
The keywords, category and tags fields are supported by .cursor-plugin/plugin.json, not by an individual marketplace.json plugin entry.
Affected files
create-plugin/skills/create-plugin-scaffold/SKILL.md, lines 50–53schemas/marketplace.schema.json, lines 54–79schemas/plugin.schema.json, lines 59–71scripts/validate-plugins.mjs, lines 34–49
Steps to reproduce
-
Add a plugin entry containing one of the documented fields to
.cursor-plugin/marketplace.json:{ "name": "example-plugin", "source": "example-plugin", "keywords": ["example"] } -
Run the repository validator.
-
Validation fails because
keywordsis an additional property:marketplace.json schema validation failed: /plugins/0: must NOT have additional properties
The same failure occurs with category or tags.
Expected behavior
The scaffold instructions should produce a marketplace entry that conforms to schemas/marketplace.schema.json.
Actual behavior
Following the skill as written can generate an invalid marketplace entry that fails repository validation.
Proposed fix
Update step 6 of create-plugin-scaffold/SKILL.md to state that a marketplace plugin entry accepts:
- Required:
name,source - Optional:
description,minClientVersions
Clarify that keywords, category and tags belong in the plugin's .cursor-plugin/plugin.json manifest.
Acceptance criteria
- The skill no longer recommends unsupported properties in a marketplace plugin entry.
- The skill clearly distinguishes marketplace entry metadata from plugin manifest metadata.
- An entry created by following the documented instructions passes
scripts/validate-plugins.mjs.
- 主要语言
- TypeScript
- 星标
- 8.2k
- 派生
- 751
- 平均合并
- 12 小时 1 分钟
- 30 天内合并 PR
- 43
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
cursor/plugins 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 95/100
-
难度 2/5 1-3 小时 新手友好度 64/100
-
难度 2/5 1-3 小时 新手友好度 84/100
-
难度 1/5 1 小时以内 新手友好度 90/100
-
Zoom connector 未关闭
难度 4/5 3-5 天 新手友好度 35/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
难度 2/5 1-3 小时 新手友好度 78/100
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
-
calcite-components needs triage refactor
难度 2/5 1-3 小时 新手友好度 75/100
Esri/calcite-design-system#15203 ·
-
难度 2/5 1-3 小时 新手友好度 90/100
danielmiessler/LifeOS#2218 ·