From interplug
Full plugin lifecycle — create, structure, test, and release Claude Code plugins. For skill/command authoring specifically, use /interskill:skill. For official plugin structure reference, use /plugin-dev:plugin-structure.
How this skill is triggered — by the user, by Claude, or both
Slash command
/interplug:pluginThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Full lifecycle workflow for plugin development — from planning through release and distribution.
Full lifecycle workflow for plugin development — from planning through release and distribution.
Before writing code:
Define your plugin's purpose
Choose your pattern (read references/common-patterns.md)
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
Write plugin.json (required):
{
"name": "my-plugin",
"version": "1.0.0",
"description": "What your plugin does",
"author": {"name": "Your Name"}
}
Create development marketplace (for local testing):
Create .claude-plugin/marketplace.json:
{
"name": "my-dev",
"plugins": [{
"name": "my-plugin",
"source": "./"
}]
}
For each component type, see references/plugin-structure.md:
skills/skill-name/SKILL.md (use /interskill:skill for authoring)commands/command-name.mdhooks/hooks.json (use references/polyglot-hooks.md for cross-platform)mcpServers sectionagents/agent-name.mdInstall for testing:
/plugin marketplace add /path/to/my-plugin
/plugin install my-plugin@my-dev
Then restart Claude Code.
Test each component — run /interplug:validate to check structure.
Iterate: uninstall, modify, reinstall, restart.
If something doesn't work, run /interplug:troubleshoot or read references/troubleshooting.md.
Version your release — update version in plugin.json
Commit and tag:
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
Choose distribution method:
.claude/settings.jsonSee references/plugin-structure.md for complete distribution format.
.claude-plugin/ contains ONLY manifests (plugin.json, marketplace.json)${CLAUDE_PLUGIN_ROOT} for all paths in config files./ in plugin.jsonchmod +x)Guides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Enforces test-driven development: write failing test first, then minimal code to pass. Use when implementing features or bugfixes.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.
npx claudepluginhub mistakeknot/interagency-marketplace --plugin interplug