`create-plugin-scaffold` documents unsupported `marketplace.json` metadata fields
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức phù hợp với người mới
- 92/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript, json, markdown
- Lĩnh vực
- documentation, tooling
Hướng nghiên cứu
Đọc bước 6 của create-plugin/skills/create-plugin-scaffold/SKILL.md cùng với schemas/marketplace.schema.json và schemas/plugin.schema.json. Cập nhật các trường Marketplace đã được ghi chép và làm rõ các trường manifest của plugin, sau đó chạy scripts/validate-plugins.mjs; hoàn tất khi các hướng dẫn chỉ mô tả những thuộc tính Marketplace được schema hỗ trợ và quá trình validation thành công.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- TypeScript
- Star
- 8.2k
- Fork
- 751
- Merge trung bình
- 12 giờ 1 phút
- Pull request đã merge (30 ngày)
- 43
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của cursor/plugins
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
-
pstack: disable-model-invocation skills still have "Use only when user ..." agent instructions Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
-
Zoom connector Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Tất cả issue của cursor/plugins
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
[Bug]: Matrix progress drafts fail with "Matrix runtime not initialized" during tool activity Đang mởbug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Client support matrix inclusion Đang mởenhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
calcite-components needs triage refactor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Esri/calcite-design-system#15203 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
danielmiessler/LifeOS#2218 ·