
plugin-master
Complete plugin development system with agent, skills, commands, and validators for Claude Code.
- version
- 3.4.2
- GitHub stars
- 62
What it does
- Adds
/create-pluginand/validate-plugincommands, aplugin-expertagent, and six skills covering plugin structure and publishing - Covers the full plugin lifecycle: scaffolding, agents, skills, hooks, MCP integration, validation, and marketplace publishing
- Enforces progressive disclosure, with skills over 2,000 words split into SKILL.md plus a references/ directory
- Designed for developers building Claude Code plugins who want validation scripts before publishing to a marketplace
Complete Claude Code plugin development system. PROACTIVELY activate when users want to: (1) Create/build plugins with 2025 features, (2) Add skills/commands/agents/hooks, (3) Validate plugin structure, (4) Publish to marketplace, (5) Get plugin development guidance. Provides: agent-first design patterns, progressive disclosure skills, hook automation, MCP integration, marketplace publishing. Includes plugin-expert agent and validation utilities.
Add marketplace
/plugin marketplace add JosiahSiegel/claude-plugin-marketplaceRun it inside Claude Code once, then install the plugin below.
Install
/plugin install plugin-master@claude-plugin-marketplaceRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourceAdvanced Plugin Features (2025)
Quick Reference
| Feature | Location | Purpose |
|---|---|---|
| Agent Skills | skills/*/SKILL.md | Dynamic knowledge loading |
| Hooks | hooks/hooks.json | Event automation |
| MCP Servers | .mcp.json | External integrations |
| Team Config | .claude/settings.json | Repository plugins |
| Hook Event | When Fired | Use Case |
|---|---|---|
| PreToolUse | Before tool | Validation |
| PostToolUse | After tool | Testing, linting |
| SessionStart | Session begins | Logging, setup |
| SessionEnd | Session ends | Cleanup |
| UserPromptSubmit | Prompt submitted | Preprocessing |
| PreCompact | Before compact | State save |
| Notification | Notification shown | Custom alerts |
| Stop | User stops | Cleanup |
| SubagentStop | Subagent ends | Logging |
| Variable | Purpose |
|---|---|
${CLAUDE_PLUGIN_ROOT} | Plugin installation path |
${TOOL_INPUT_*} | Tool input parameters |
Agent Skills
Concept
Skills are dynamically loaded based on task context, enabling:
- Unbounded capacity: Knowledge split across files
- Context efficiency: Only load what's needed
- Progressive disclosure: Three-tier loading
Three-Tier Loading
- Frontmatter: Loaded at startup (triggers)
- SKILL.md body: Loaded on activation
- references/: Loaded when detail needed
Structure
skills/
└── skill-name/
├── SKILL.md # Core content
├── references/ # Detailed docs
│ └── deep-dive.md
├── examples/ # Working code
│ └── example.md
└── scripts/ # Utilities
└── tool.sh
SKILL.md Format
---
name: skill-name
description: |
When to activate this skill. Include:
(1) Use case 1
(2) Use case 2
Provides: what it offers
---
# Skill Title
## Quick Reference
[Tables, key points]
## Core Content
[Essential information - keep lean]
## Additional Resources
See `references/` for detailed guidance.
Hooks
Configuration
Inline in plugin.json:
{
"hooks": {
"PostToolUse": [{
"matcher": "Write|Edit",
"hooks": [{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/lint.sh"
}]
}]
}
}
Separate hooks.json:
{
"PostToolUse": [{
"matcher": "Write",
"hooks": [{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/format.sh",
"timeout": 5000
}]
}]
}
Matchers
Write- File writesEdit- File editsBash- Shell commandsWrite|Edit- Multiple tools.*- Any tool (use sparingly)
Common Patterns
Auto-test after changes:
{
"PostToolUse": [{
"matcher": "Write|Edit",
"hooks": [{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/run-tests.sh"
}]
}]
}
Validate before Bash:
{
"PreToolUse": [{
"matcher": "Bash",
"hooks": [{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/validate-cmd.sh"
}]
}]
}
MCP Server Integration
Configuration
{
"mcpServers": {
"server-name": {
"command": "node",
"args": ["${CLAUDE_PLUGIN_ROOT}/mcp/server.js"],
"env": {
"API_KEY": "${API_KEY}"
}
}
}
}
External Services
{
"mcpServers": {
"stripe": {
"command": "npx",
"args": ["-y", "@stripe/mcp-server"],
"env": {
"STRIPE_API_KEY": "${STRIPE_API_KEY}"
}
}
}
}
Repository Configuration
Team Distribution
Create .claude/settings.json at repo root:
{
"extraKnownMarketplaces": [
"company/internal-plugins"
],
"plugins": {
"enabled": [
"deployment-helper@company",
"code-standards@company"
]
}
}
Workflow
- Maintainer creates
.claude/settings.json - Team members clone repo
- Trust folder when prompted
- Plugins install automatically
Best Practices
Progressive Disclosure
- Keep SKILL.md under 500 lines
- Move details to
references/ - Use
examples/for working code - Reference files with relative paths
Hooks
- Use specific matchers (avoid
.*) - Set reasonable timeouts
- Use
${CLAUDE_PLUGIN_ROOT}for paths - Test scripts independently
MCP
- Document required env vars
- Provide setup instructions
- Use environment variables for secrets
- Test connection before distribution
Additional Resources
For detailed patterns, see:
references/hooks-advanced.md- Complete hook patternsreferences/mcp-patterns.md- MCP integration examplesreferences/team-distribution.md- Repository configurationexamples/hook-scripts.md- Working hook scripts
Readme
Plugin Master
Complete Claude Code plugin development system with 2025 best practices.
Features
- Agent-first design - Single expert agent pattern for domain expertise
- Progressive disclosure - Skills with three-tier loading for unbounded capacity
- Validation utilities - Scripts to validate plugins, agents, and skills
- Best practices - Up-to-date 2025 patterns and conventions
- Marketplace publishing - Complete workflow for distribution
Installation
From Marketplace (Recommended)
/plugin marketplace add JosiahSiegel/claude-plugin-marketplace
/plugin install plugin-master@claude-plugin-marketplace
Local Installation
git clone https://github.com/JosiahSiegel/claude-plugin-marketplace.git
cp -r claude-plugin-marketplace/plugins/plugin-master ~/.claude/plugins/local/
Usage
Just ask about plugin development:
- "Create a plugin for Docker automation"
- "Help me add an agent to my plugin"
- "Validate my plugin structure"
- "How do I publish to a marketplace?"
Components
Agent
| Name | Purpose |
|---|---|
plugin-expert | Primary expert for all plugin development questions |
Skills
| Skill | Purpose |
|---|---|
plugin-master | Core plugin development guide — layout, manifest, marketplace registration |
advanced-features-2025 | Hooks, MCP, progressive disclosure, team distribution |
agent-development | Agent frontmatter, <example> blocks, system prompts, tool restriction |
skill-development | SKILL.md authoring, progressive disclosure, references/ vs examples/ |
hook-development | Prompt-based and command hooks, events, matchers, security |
triggering-reliability | Anti-pattern catalog, severity tiers (P0/P1/P2), canonical checklist, description-length caps |
Commands
| Command | Purpose |
|---|---|
/create-plugin | Create a new plugin |
/validate-plugin | Validate plugin structure |
Scripts
| Script | Purpose |
|---|---|
validate-plugin.sh | Validate complete plugin |
validate-agent.sh | Validate agent file |
validate-skill.sh | Validate skill directory |
Plugin Structure
plugin-name/
├── .claude-plugin/
│ └── plugin.json # Required manifest
├── agents/
│ └── domain-expert.md # Primary agent
├── skills/
│ └── skill-name/
│ ├── SKILL.md # Core content
│ ├── references/ # Detailed docs
│ └── examples/ # Working code
├── commands/ # Optional (0-2 max)
├── hooks/
│ └── hooks.json # Optional
└── README.md
Key Concepts
Agent-First Design
- ONE expert agent named
{domain}-expert - Minimal commands (0-2) for automation only
- Users interact conversationally
Progressive Disclosure
Three-tier skill loading:
- Frontmatter - Loaded at startup
- SKILL.md body - Loaded on activation
- references/ - Loaded when detail needed
plugin.json Rules
{
"name": "plugin-name",
"version": "1.0.0",
"description": "...",
"author": { "name": "Name" }, // Object, NOT string
"keywords": ["word1", "word2"] // Array, NOT string
}
Do NOT include: agents, skills, slashCommands - auto-discovered
Validation
Before publishing:
# Validate entire plugin
./scripts/validate-plugin.sh .
# Validate agent
./scripts/validate-agent.sh agents/plugin-expert.md
# Validate skill
./scripts/validate-skill.sh skills/plugin-master/
What's New
- Thin-router commands -
/create-pluginand/validate-pluginare now lean routers (~40 lines each) that delegate to theplugin-expertagent and named skills. No duplicated content between commands and skills. - Corrected description limits - Size limits updated to match Claude Code's actual API spec (1024-char hard ceiling per description) and listing cap (1536 chars, raised from 250 in v2.1.105). Target is now 400-1000 chars, not the obsolete ~500-char "soft target."
- Severity table & canonical checklist -
triggering-reliabilityskill now owns the P0/P1/P2 severity tiers and the canonical pre-publish checklist; commands point users at the skill rather than duplicating it. - Lean orchestrator pattern - Agent body stays an orchestrator; all domain knowledge lives in skills.
- Progressive disclosure enforcement - Skills over 2,000 words split into SKILL.md + references/.
Technical Details
- Author: Josiah Siegel
- License: MIT
- Repository: https://github.com/JosiahSiegel/claude-plugin-marketplace
Support
Details
- Marketplace
- JosiahSiegel/claude-plugin-marketplace
- Source
- plugins/plugin-master
- Author
- Josiah Siegel
- Category
- Community
- Keywords
- plugin, development, skills, hooks, mcp, commands, agents, marketplace, validation, automation, progressive-disclosure
- Listed since
- Apr 7, 2026
More from JosiahSiegel/claude-plugin-marketplace
All 43- powerbi-masterv0.5.4
- powershell-masterv2.0.6
- python-masterv2.3.6
- react-masterv2.1.2
- salesforce-masterv2.2.8
- ssdt-masterv1.6.8
- stripe-billing-masterv1.0.3
- tailwindcss-masterv2.2.3
- terraform-masterv2.0.5
- test-masterv1.6.8
- tsql-masterv2.0.10
- tui-masterv1.1.0
- unity-masterv1.0.4
- viral-video-masterv2.0.4
- windows-path-masterv1.0.7
- adf-masterv4.3.4
- ado-masterv1.5.9
- azure-masterv1.3.4
- azure-to-docker-masterv1.1.9
- bash-masterv2.0.7
- clerk-auth-masterv1.0.2
- cloudflare-masterv1.1.5
- context-masterv2.2.5
- doc-masterv1.6.1
Similar to plugin-master
More Skill & Plugin Building
plugin-devPluginanthropics/claude-code156.1K starsComprehensive toolkit for developing Claude Code plugins. Includes 7 expert skills covering hooks, MCP integration, commands, agents, and best practices. AI-ass
plugin-forgeSkillsoftaworks/agent-toolkit4K installsScaffolding and maintenance toolkit for Claude Code plugins, covering manifests, components, and marketplace registration.
skills-toolkitPluginfull-stack-biz/claude-skills-toolkit26 starsCreate and manage Claude Code skills, plugins, subagents, and hooks. Use when building new skills, validating existing skills, creating plugins, converting proj
everything-claude-codePluginxu-xiang/everything-claude-code-zh2K starsThe most comprehensive Claude Code plugin — 14+ agents, 56+ skills, 33+ commands, and production-ready hooks for TDD, security scanning, code review, and contin
abstractPluginathola/claude-night-market350 starsSkill authoring, hook development, evaluation frameworks, and escalation governance for the Claude Code plugin ecosystem
marketplace-publishingSkillaaronontheweb/dotnet-skills416 installsStep-by-step workflow for adding skills and agents to a Claude Code plugin marketplace and tagging releases.