
Create Plugin Scaffold
- 317 installs
- 2.5k repo stars
- Updated August 5, 2026
- cursor/plugins
Generate Cursor plugin folder layouts, manifest files, skill hooks, and starter commands so new extensions boot with correct conventions on day one.
About
create-plugin-scaffold in cursor/plugins produces starter Cursor plugin projects with correct manifests, skill hooks, command stubs, and folder conventions so developers extend the IDE agent quickly without reverse-engineering layout from existing repos.
- Plugin directory templates
- Manifest and metadata stubs
- Skill and command registration
- Convention-first bootstrapping
- Fast extension kickoff
Create Plugin Scaffold by the numbers
- 317 all-time installs (skills.sh)
- Ranked #2,216 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
- Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/cursor/plugins --skill create-plugin-scaffoldAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 317 |
|---|---|
| repo stars | ★ 2.5k |
| Last updated | August 5, 2026 |
| Repository | cursor/plugins ↗ |
What it does
Generate Cursor plugin folder layouts, manifest files, skill hooks, and starter commands so new extensions boot with correct conventions on day one.
Files
Create plugin scaffold
Trigger
You need to create a new Cursor plugin from scratch and make it ready for local use or marketplace submission.
Required Inputs
- Plugin name (lowercase kebab-case)
- Plugin purpose and target users
- Component set to include (
rules,skills,agents,commands,hooks,mcpServers) - Repository style (
single-pluginormulti-plugin marketplace)
Output Location
By default, create the plugin inside the user's local plugin directory:
~/.cursor/plugins/local/<plugin-name>/This path makes the plugin immediately available to Cursor without any install step. If the user explicitly asks to create the plugin elsewhere (e.g. inside an existing repo or a specific directory), respect that choice instead.
Workflow
1. Validate plugin name format: lowercase kebab-case, starts and ends with an alphanumeric character. 2. Determine the target directory:
- Default:
~/.cursor/plugins/local/<plugin-name>/ - Override: use the path the user specifies, if any.
- Create the directory (and parents) if it does not exist.
3. Create base files inside the target directory:
.cursor-plugin/plugin.jsonREADME.mdLICENSE- optional
CHANGELOG.md
4. Populate plugin.json:
- Required:
name - Recommended:
version,description,author,license,keywords - Add explicit component paths only when non-default discovery is needed.
5. Create component files with valid frontmatter:
- Rules:
.mdcwithdescription,alwaysApply, optionalglobs - Skills:
skills/<skill-name>/SKILL.mdwithname,description - Agents:
agents/*.mdwithname,description - Commands:
commands/*.(md|txt)withname,description
6. If repository uses .cursor-plugin/marketplace.json, add plugin entry:
namesource- optional metadata (
description,keywords,category,tags)
7. Ensure all manifest paths are relative, valid, and do not use absolute paths or parent traversal.
Guardrails
- Keep the plugin focused on one use case.
- Prefer concise, actionable skill and rule text over long prose.
- Do not reference files that do not exist.
- Use folder discovery defaults unless custom paths are required.
- Always save to
~/.cursor/plugins/local/<plugin-name>/unless the user provides a different path.
Output
- Created file tree for the plugin (with full path to the output directory)
- Final
plugin.json - Marketplace entry (if applicable)
- Short validation report of required fields and component metadata
- Confirmation that the plugin is saved under
~/.cursor/plugins/local/and ready for use