Add a new plugin under plugins/ and register it in .cursor-plugin/marketplace.json.
Create a new folder:
plugins/my-new-plugin/
Add the required manifest:
plugins/my-new-plugin/.cursor-plugin/plugin.json
Example manifest:
{
"name": "my-new-plugin",
"displayName": "My New Plugin",
"version": "0.1.0",
"description": "Describe what this plugin does",
"author": {
"name": "Your Org"
},
"logo": "assets/avatar.png"
}Add only the components you need:
rules/with.mdcfiles (YAML frontmatter required)skills/<skill-name>/SKILL.md(YAML frontmatter required)agents/*.md(YAML frontmatter required)commands/*.(md|mdc|markdown|txt)(frontmatter recommended)hooks/hooks.jsonandscripts/*for automation hooksmcp.jsonfor MCP server definitionsassets/avatar.pngfor marketplace display
Edit .cursor-plugin/marketplace.json and append a new entry:
{
"name": "my-new-plugin",
"source": "./plugins/my-new-plugin",
"description": "Describe your plugin"
}source is the relative path from the repository root to the plugin folder.
node scripts/validate-template.mjsFix all reported errors before committing.
- Plugin
namenot kebab-case. sourcepath in marketplace manifest does not match folder name.- Missing
.cursor-plugin/plugin.jsonin plugin folder. - Missing frontmatter keys (
name,description) in skills, agents, or commands. - Rule files missing frontmatter
description. - Broken relative paths for
logo,hooks, ormcpServersin manifest files.