working-with-claude-co…
Use when working with Claude Code CLI, plugins, hooks, MCP servers, skills, configuration, or any Claude Code feature - provides…
Use when working on Claude Code plugins (creating, modifying, testing, releasing, or maintaining) - provides streamlined workflows, patterns, and examples for the complete plugin lifecycle
$ npx -y skills add obra/superpowers-developing-for-claude-code --skill developing-claude-code-plugins --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/developing-claude-code-pluginsContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when working on Claude Code plugins (creating, modifying, testing, releasing, or maintaining) - provides streamlined workflows, patterns, and examples for the complete plugin lifecycle
name: developing-claude-code-plugins description: Use when working on Claude Code plugins (creating, modifying, testing, releasing, or maintaining) - provides streamlined workflows, patterns, and examples for the complete plugin lifecycle
This skill provides efficient workflows for creating Claude Code plugins. Use it to make plugin development fast and correct - it synthesizes official docs into actionable steps and provides working examples.
Use this skill when:
**For comprehensive official documentation**, use the `working-with-claude-code` skill to access full docs.
| Need to... | Read This | Official Docs | |-----------|-----------|---------------| | Understand directory structure | `references/plugin-structure.md` | `plugins.md` | | Choose a plugin pattern | `references/common-patterns.md` | `plugins.md` | | Make hooks work cross-platform | `references/polyglot-hooks.md` | `hooks.md` | | Debug plugin issues | `references/troubleshooting.md` | Various | | See working examples | `examples/` directory | N/A |
Before writing code:
1. **Define your plugin's purpose**
2. **Choose your pattern** (read `references/common-patterns.md`)
3. **Review examples**
1. **Create directories** (see `references/plugin-structure.md` for details):
mkdir -p my-plugin/.claude-plugin mkdir -p my-plugin/skills # Add other component directories as needed
2. **Write plugin.json** (required):
{
"name": "my-plugin",
"version": "1.0.0",
"description": "What your plugin does",
"author": {"name": "Your Name"}
}See `references/plugin-structure.md` for complete format.
3. **Create development marketplace** (for local testing):
Create `.claude-plugin/marketplace.json`:
{
"name": "my-dev",
"plugins": [{
"name": "my-plugin",
"source": "./"
}]
}See `references/plugin-structure.md` for complete format.
Use TodoWrite to track component creation:
**Example:**
- Create skill: main-workflow - Add command: /hello - Configure hooks - Write README - Test installation
For each component type, see:
1. **Install for testing**:
/plugin marketplace add /path/to/my-plugin /plugin install my-plugin@my-dev
Then restart Claude Code.
2. **Test each component**:
3. **Iterate**:
/plugin uninstall my-plugin@my-dev # Make changes /plugin install my-plugin@my-dev # Restart Claude Code
If something doesn't work, read `references/troubleshooting.md` for:
Common issues are usually:
1. **Write README** with:
2. **Version your release** using semantic versioning:
3. **Commit and tag your release**:
git add . git commit -m "Release v1.2.1: [brief description]" git tag v1.2.1 git push origin main git push origin v1.2.1
4. **Choose distribution method**:
**Option A: Direct GitHub distribution**
**Option B: Marketplace distribution** (recommended for multi-plugin collections)
{
"name": "my-marketplace",
"owner": {"name": "Your Name"},
"plugins": [{
"name": "your-plugin",
"source": {
"source": "url",
"url": "https://github.com/your-org/your-plugin.git"
},
"version": "1.2.1",
"description": "Plugin description"
}]
}**Option C: Private/team distribution**
{
"extraKnownMarketplaces": {
"team-tools": {
"source": {"source": "github", "repo": "your-org/plugins"}
}
}
}5. **Test the release**:
# Test fresh in
A Claude Code plugin providing skills and comprehensive documentation for building plugins, skills, MCP servers, and other Claude Code extensions.
Use when working with Claude Code CLI, plugins, hooks, MCP servers, skills, configuration, or any Claude Code feature - provides…