`create-plugin-scaffold` documents unsupported `marketplace.json` metadata fields
まだ誰も着手していません。
評価
- 難易度
- 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 フィールドを更新し、プラグインマニフェストのフィールドを明確にしてから、scripts/validate-plugins.mjs を実行してください。手順がスキーマでサポートされている 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分
- マージ済み PR(30日)
- 43
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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
copse-dev/agent-pane#2953 ·
-
難易度 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 ·