Loading...
Loading...
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 skill4agent add obra/superpowers-developing-for-claude-code developing-claude-code-pluginsworking-with-claude-code| Need to... | Read This | Official Docs |
|---|---|---|
| Understand directory structure | | |
| Choose a plugin pattern | | |
| Make hooks work cross-platform | | |
| Debug plugin issues | | Various |
| See working examples | | N/A |
references/common-patterns.mdexamples/simple-greeter-plugin/examples/full-featured-plugin/~/.claude/plugins/references/plugin-structure.mdmkdir -p my-plugin/.claude-plugin
mkdir -p my-plugin/skills
# Add other component directories as needed{
"name": "my-plugin",
"version": "1.0.0",
"description": "What your plugin does",
"author": {"name": "Your Name"}
}references/plugin-structure.md.claude-plugin/marketplace.json{
"name": "my-dev",
"plugins": [{
"name": "my-plugin",
"source": "./"
}]
}references/plugin-structure.md- Create skill: main-workflow
- Add command: /hello
- Configure hooks
- Write README
- Test installationreferences/plugin-structure.mdreferences/common-patterns.mdexamples//plugin marketplace add /path/to/my-plugin
/plugin install my-plugin@my-dev/your-command/plugin uninstall my-plugin@my-dev
# Make changes
/plugin install my-plugin@my-dev
# Restart Claude Codereferences/troubleshooting.md${CLAUDE_PLUGIN_ROOT}version.claude-plugin/plugin.json"version": "1.2.1"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/plugin marketplace add your-org/your-plugin-repo.claude-plugin/marketplace.json{
"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"
}]
}/plugin marketplace add your-org/your-marketplace.claude/settings.json{
"extraKnownMarketplaces": {
"team-tools": {
"source": {"source": "github", "repo": "your-org/plugins"}
}
}
}# Test fresh installation
/plugin marketplace add your-marketplace-source
/plugin install your-plugin@marketplace-name
# Verify functionality, then clean up
/plugin uninstall your-plugin@marketplace-namereferences/plugin-structure.md.claude-plugin/plugin.jsonmarketplace.json${CLAUDE_PLUGIN_ROOT}plugin.json./chmod +x script.shreferences/plugin-structure.mdreferences/common-patterns.mdreferences/polyglot-hooks.mdreferences/troubleshooting.mdexamples/simple-greeter-plugin/examples/full-featured-plugin/run-hook.cmdworking-with-claude-codeplugins.mdplugins-reference.mdskills.mdslash-commands.mdhooks.mdhooks-guide.mdmcp.mdplugin-marketplaces.mdPlan → Choose pattern, review examples
Create → Make structure, write manifests
Add → Build components (skills, commands, etc.)
Test → Install via dev marketplace
Debug → Use troubleshooting guide
Release → Version, tag, distribute via marketplace
Maintain → Monitor, update, support users