plugin validator is not suitable for a single plugin

Open Beginner friendly
#3 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
62/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
javascript
Domain
tooling

Research direction

Compare the single-plugin layout described in the README with the validation flow in scripts/validate-template.mjs, especially around line 251. Adjust the validation behavior so that the documented single-plugin layout can be checked without requiring marketplace.json, then verify the validator accepts that layout.

Written by the indexing model from the issue text.

Description

The readme specifies:

For a single plugin, move your plugin folder contents to the repository root, keep one .cursor-plugin/plugin.json, and remove .cursor-plugin/marketplace.json.

but the validator is checking for marketplace.json first thing https://github.com/cursor/plugin-template/blob/8cbb16496a1d03986f72cd7123f6d6a0a17dcc8e/scripts/validate-template.mjs#L251

Dominant language
JavaScript
Stars
94
Forks
30
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cursor/plugin-template

All issues in cursor/plugin-template

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.