create-plugin-scaffold
Creates a Cursor plugin scaffold: a valid manifest, component folders and marketplace wiring.
- Kind
- Skill
- Works with
- Cursor
- Source
- cursor/plugins @ 9580c23696ac
- Path
- create-plugin/skills/create-plugin-scaffold/SKILL.md
- License
- MIT
- Jobs
- Implementation
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
# 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-plugin` or `multi-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.json` - `README.md` …