From plugin-dev
Guides end-to-end creation of Claude Code plugins via phased workflow: discover requirements, plan components like skills/agents/hooks, implement, validate, and test.
npx claudepluginhub quochieudn2303/claude-plugins-official-copilot --plugin plugin-devOptional plugin description# Plugin Creation Workflow Guide the user through creating a complete, high-quality Claude Code plugin from initial concept to tested implementation. Follow a systematic approach: understand requirements, design components, clarify details, implement following best practices, validate, and test. ## Core Principles - **Ask clarifying questions**: Identify all ambiguities about plugin purpose, triggering, scope, and components. Ask specific, concrete questions rather than making assumptions. Wait for user answers before proceeding with implementation. - **Load relevant skills**: Use the Sk...
/create-pluginGuides end-to-end creation of Claude Code plugins: discover requirements, plan components like skills/agents/hooks, implement, validate, and test. Optional plugin description.
/create-pluginGuides end-to-end creation of Claude Code plugins via phased workflow: discover requirements, plan components like skills/agents/hooks, implement, validate, and test.
/create-pluginInteractively guides creation of a Claude Code plugin by asking about type, purpose, and category, then generates full directory structure, manifest, docs, and components.
/create-pluginGuides end-to-end creation of Claude Code plugins: discover requirements, plan components like skills/agents/hooks, implement, validate, and test. Optional plugin description.
/create-pluginInteractively creates custom Miro plugin: asks 3 questions on use case/tools/workflow, researches MCPs, generates full directory with plugin.json, mcp.json, commands, skills, and README.
/create-pluginCreates a complete Claude Code plugin with agents, commands, skills, hooks, and comprehensive documentation from given requirements.
Guide the user through creating a complete, high-quality Claude Code plugin from initial concept to tested implementation. Follow a systematic approach: understand requirements, design components, clarify details, implement following best practices, validate, and test.
Initial request: $ARGUMENTS
Goal: Understand what plugin needs to be built and what problem it solves
Actions:
Output: Clear statement of plugin purpose and target users
Goal: Determine what plugin components are needed
MUST load plugin-structure skill using Skill tool before this phase.
Actions:
Load plugin-structure skill to understand component types
Analyze plugin requirements and determine needed components:
Note: The
commands/directory is a legacy format. For new plugins, user-invoked slash commands should be created as skills inskills/<name>/SKILL.md. Both are loaded identically — the only difference is file layout.commands/remains an acceptable legacy alternative.
For each component type needed, identify:
Present component plan to user as table:
| Component Type | Count | Purpose |
|----------------|-------|---------|
| Skills | 5 | Hook patterns, MCP usage, deploy, configure, validate |
| Agents | 1 | Autonomous validation |
| Hooks | 0 | Not needed |
| MCP | 1 | Database integration |
Get user confirmation or adjustments
Output: Confirmed list of components to create
Goal: Specify each component in detail and resolve all ambiguities
CRITICAL: This is one of the most important phases. DO NOT SKIP.
Actions:
For each component in the plan, identify underspecified aspects:
Present all questions to user in organized sections (one section per component type)
Wait for answers before proceeding to implementation
If user says "whatever you think is best", provide specific recommendations and get explicit confirmation
Example questions for a skill:
Example questions for an agent:
Output: Detailed specification for each component
Goal: Create plugin directory structure and manifest
Actions:
mkdir -p plugin-name/.claude-plugin
mkdir -p plugin-name/skills/<skill-name> # one dir per skill, each with a SKILL.md
mkdir -p plugin-name/agents # if needed
mkdir -p plugin-name/hooks # if needed
# Note: plugin-name/commands/ is a legacy alternative to skills/ — prefer skills/
{
"name": "plugin-name",
"version": "0.1.0",
"description": "[brief description]",
"author": {
"name": "[author from user or default]",
"email": "[email or default]"
}
}
Output: Plugin directory structure created and ready for components
Goal: Create each component following best practices
LOAD RELEVANT SKILLS before implementing each component type:
commands/ format (only if user explicitly requests): Load command-development skillActions for each component:
skills/<skill-name>/SKILL.md with:
description, argument-hint, and allowed-tools frontmatter; write instructions FOR Claude (not TO user)commands/ format (only if user explicitly requests):Prefer
skills/<name>/SKILL.mdfor new plugins. Usecommands/only when maintaining an existing plugin that already uses this layout.
.claude/*.local.mdProgress tracking: Update todos as each component is completed
Output: All plugin components implemented
Goal: Ensure plugin meets quality standards and works correctly
Actions:
Run plugin-validator agent:
Fix critical issues:
Review with skill-reviewer (if plugin has skills):
Test agent triggering (if plugin has agents):
Test hook configuration (if plugin has hooks):
Present findings:
Ask user: "Validation complete. Issues found: [count critical], [count warnings]. Would you like me to fix them now, or proceed to testing?"
Output: Plugin validated and ready for testing
Goal: Test that plugin works correctly in Claude Code
Actions:
Installation instructions:
cc --plugin-dir /path/to/plugin-name
.claude-plugin/ for project testingVerification checklist for user to perform:
/help and execute correctlyTesting recommendations:
/plugin-name:skill-name with various argumentsclaude --debug to see hook execution/mcp to verify servers and toolsAsk user: "I've prepared the plugin for testing. Would you like me to guide you through testing each component, or do you want to test it yourself?"
If user wants guidance, walk through testing each component with specific test cases
Output: Plugin tested and verified working
Goal: Ensure plugin is well-documented and ready for distribution
Actions:
Verify README completeness:
Add marketplace entry (if publishing):
Create summary:
Suggest improvements (optional):
Output: Complete, documented plugin ready for use or publication
commands/ layoutEvery component must meet these standards:
"Create a plugin for managing database migrations"
Begin with Phase 1: Discovery