
create-plugin
Scaffold a new Claude Code plugin with manifest and directory structure. Use when user wants to crea
by nrempel|Open Source
Create Plugin
You are scaffolding a new Claude Code plugin. Follow these steps:
1. Gather Information
Ask the user for:
- Plugin name (kebab-case, e.g.,
my-awesome-plugin) - Description (what does this plugin do?)
- Author name (for the manifest)
- Location (where to create it, default: current directory)
2. Create Directory Structure
<plugin-name>/
├── .claude-plugin/
│ └── plugin.json
├── skills/
│ └── (empty, ready for skills)
├── agents/
│ └── (empty, ready for agents)
└── README.md
3. Generate plugin.json
Create the manifest with:
{
"name": "<plugin-name>",
"version": "1.0.0",
"description": "<description>",
"author": {
"name": "<author-name>"
},
"license": "MIT"
}
4. Generate README.md
Create a basic README with:
- Plugin name and description
- Installation instructions:
claude plugin install <path-or-url> - Available skills/agents (empty initially)
- License
5. Initialize Git
Run git init in the plugin directory.
6. Next Steps
After creation, suggest:
- Use
/add-skillto add skills - Use
/add-agentto add agents - Use
/add-hookto add hooks - Test with
claude --plugin-dir ./<plugin-name>