// Comprehensive plugin development skill for Claude Code. Analyzes business requirements and creates complete plugins including MCP servers, skills, slash commands, or combinations thereof. Supports TypeScript, Python, and any other language. Provides architecture guidance, templates, and end-to-end implementation.
| name | plugin-creator |
| description | Comprehensive plugin development skill for Claude Code. Analyzes business requirements and creates complete plugins including MCP servers, skills, slash commands, or combinations thereof. Supports TypeScript, Python, and any other language. Provides architecture guidance, templates, and end-to-end implementation. |
This skill guides the creation of complete, production-ready plugins for Claude Code by analyzing business requirements and architecting appropriate solutions.
Transform business requirements into fully-functional Claude Code plugins by:
Use this skill when:
When a user requests a plugin, systematically analyze their needs:
Key Questions:
Example Analysis:
Request: "Create a plugin for database schema management"
Analysis:
- Problem: Developers need to manage database schemas efficiently
- Core operations: View schemas, run migrations, generate models, validate changes
- Tools: Database connections (PostgreSQL, MySQL, etc.), migration tools
- Interaction: Commands for quick actions, skill for complex workflows
- Data: Connection configs, migration history, schema snapshots
Based on the analysis, recommend plugin components:
Decision Matrix:
| Component Type | When to Use |
|---|---|
| MCP Server | External tool/service integration, stateful operations, complex APIs, real-time data access |
| Skill | Procedural workflows, domain knowledge, multi-step processes, bundled resources |
| Slash Command | Quick actions, command shortcuts, user-facing operations |
| Combination | Complex plugins needing multiple interaction patterns |
Architecture Patterns:
/format, /lint)/db:migrate, /db:seed)/deploy:prod, /deploy:staging)Example Recommendations:
For "database schema management":
Recommended Architecture: MCP Server + Skill + Slash Commands
Components:
1. MCP Server (TypeScript or Python)
- Tools: connect_db, get_schema, run_migration, generate_model
- Resources: schema definitions, migration history
2. Skill (Markdown)
- Migration best practices
- Schema design patterns
- Rollback procedures
- References: migration_guide.md, schema_patterns.md
3. Slash Commands
- /db:migrate - Run pending migrations
- /db:rollback - Rollback last migration
- /db:schema - View current schema
- /db:seed - Seed database
For each recommended component, provide implementation path:
Language Selection:
Use templates from assets/templates/:
mcp-server-typescript/ - Full TypeScript MCP server templatemcp-server-python/ - Full Python FastMCP server templateImplementation steps:
Detailed guidance: See references/mcp_server_guide.md
Use template from assets/templates/skill/
Implementation steps:
scripts/ - Executable helpersreferences/ - Documentation to load as neededassets/ - Files used in outputDetailed guidance: See references/skill_guide.md
Use template from assets/templates/slash-command/
Implementation steps:
.claude/commands/Detailed guidance: See references/slash_command_guide.md
For multi-component plugins, ensure proper integration:
Integration Checklist:
Example Integration:
In SKILL.md:
## Using the Database Plugin
This plugin combines an MCP server, skill knowledge, and quick commands.
### Quick Operations (Slash Commands)
- Use `/db:migrate` for running migrations quickly
- Use `/db:schema` to view current schema
### MCP Server Tools
The database MCP server provides these tools:
- `connect_db` - Establish database connection
- `get_schema` - Retrieve schema information
- `run_migration` - Execute migration files
### Workflow Guidance
For complex operations, follow these procedures:
[Reference migration_guide.md for detailed procedures]
Before packaging, validate the plugin:
Validation Steps:
scripts/validate_plugin.py <plugin-path>Testing Checklist:
Package the complete plugin:
Using the packaging script:
python scripts/package_plugin.py <plugin-path> [output-dir]
Plugin structure for distribution:
my-plugin/
├── README.md (installation and usage)
├── mcp-server/ (if applicable)
│ ├── package.json or requirements.txt
│ ├── src/ or app/
│ └── tests/
├── skill/ (if applicable)
│ ├── SKILL.md
│ ├── scripts/
│ ├── references/
│ └── assets/
└── commands/ (if applicable)
├── command1.md
└── command2.md
Distribution outputs:
my-plugin.zip - Complete plugin packagemy-plugin/README.md - Installation instructionsmy-plugin/ARCHITECTURE.md - Technical documentationRefer to references/best_practices.md for comprehensive guidelines including:
Refer to references/architecture_patterns.md for detailed patterns:
python scripts/init_plugin.py <plugin-name> --type <mcp|skill|command|full>
Creates plugin scaffolding with appropriate templates.
python scripts/validate_plugin.py <plugin-path>
Validates plugin structure, code quality, and documentation.
python scripts/package_plugin.py <plugin-path> [output-dir]
Creates distributable plugin package with validation.
Request: "Create a plugin for API testing"
Analysis:
Architecture:
Recommended: MCP Server + Skill + Slash Commands
1. MCP Server (TypeScript)
- Tools: send_request, validate_response, run_test_suite
- Resources: api_configs, test_results
2. Skill
- API testing best practices
- Test strategy guidance
- References: rest_api_guide.md, assertion_patterns.md
3. Slash Commands
- /api:test <endpoint> - Quick endpoint test
- /api:suite <suite-name> - Run test suite
- /api:validate <response> - Validate response format
Implementation:
init_plugin.py api-testing --type fullvalidate_plugin.pypackage_plugin.pyOutput: Complete, tested, documented api-testing.zip plugin ready for installation.