Notre avis
Ce skill orchestre quatre agents spécialisés pour créer des compétences Claude Code complètes à partir des besoins utilisateur, en suivant un processus structuré d'élicitation, génération, validation et documentation.
Points forts
- Processus complet de bout en bout pour créer des skills professionnels.
- Utilisation de plusieurs agents spécialisés garantissant qualité et couverture.
- Inclut des phases de validation et de test pour minimiser les erreurs.
- Documentation et exemples générés automatiquement.
Limites
- Nécessite que l'utilisateur ait une compréhension claire de ses besoins.
- La qualité du résultat dépend de la précision des réponses lors de l'élicitation.
- Peut être long pour des skills complexes.
Utilisez ce skill lorsque vous souhaitez créer une nouvelle compétence Claude Code robuste et bien documentée, avec un processus structuré et reproductible.
N'utilisez pas ce skill pour des modifications mineures d'un skill existant ou pour des besoins très simples qui ne justifient pas l'orchestration complète.
Analyse de sécurité
SûrThe skill orchestrates sub-agents using Task tool and performs file operations (Read, Write) to create skill files. It does not execute system commands, access external networks, or handle secrets. No risk of destructive actions or data exfiltration.
Aucun point d'attention détecté
Exemples
I need to create a Claude Code skill that automatically reviews pull requests for code style, security, and performance. Can you help me build it?I want to build a skill that helps generate and run database migration scripts for PostgreSQL. Let's go through the process.Help me create a skill that generates README files and API documentation from code comments. Start the elicitation process.description: Build comprehensive Claude Code skills through elicitation-driven development allowed-tools:
- Task
- Read
- Write
Build Claude Code Skill
Build comprehensive Claude Code skills through elicitation-driven development.
Instructions
This command orchestrates four specialized agents to create production-ready Claude Code skills from user requirements. Follow this structured workflow:
Phase 1: Requirements Elicitation
Agent: skill-elicitation-agent
-
Activate elicitation agent
- Start the skill-elicitation-agent with the Task tool
- Provide context: "The user wants to create a new Claude Code skill"
- Include all initial requirements or ideas the user has shared
-
Elicitation questions
- The agent asks 3-5 targeted questions to understand:
- Purpose and scope of the skill
- Complexity and structure requirements
- Required tool permissions
- Context and references
- Success criteria
- The agent asks 3-5 targeted questions to understand:
-
Specification creation
- Agent creates a comprehensive skill specification document
- Includes: metadata, structure, instruction outline, code requirements, examples, dependencies
- Applies progressive disclosure strategy
- Validates completeness before proceeding
-
User approval
- Present the specification to the user
- Confirm understanding and agreement
- Make adjustments as needed
- Obtain explicit approval to proceed with generation
Phase 2: Skill Generation
Agent: skill-generator-agent
-
Activate generator agent
- Start the skill-generator-agent with the Task tool
- Pass the approved specification document
- Specify target location (personal, project, or plugin skill)
-
Create directory structure
-
Agent creates the appropriate directory structure:
skill-name/ ├── SKILL.md (required) ├── reference.md (if needed) ├── examples.md (if needed) ├── scripts/ (if needed) └── templates/ (if needed)
-
-
SKILL.md generation
- Creates main skill file with correct frontmatter
- Includes clear instructions and examples
- Follows progressive disclosure principles
- Links to supporting files
-
Generate supporting files
- Creates reference documentation
- Generates example files
- Writes scripts with proper error handling
- Creates reusable templates
-
Dependency documentation
- Documents all required packages
- Provides installation instructions
- Notes version requirements
-
Quality checks
- Validates YAML frontmatter
- Checks file structure
- Verifies code syntax
- Tests progressive disclosure
Phase 3: Validation and Testing
Agent: skill-validator-agent
-
Activate validator agent
- Start the skill-validator-agent with the Task tool
- Provide path to the generated skill
- Request comprehensive validation
-
YAML validation
- Check frontmatter syntax
- Verify required fields
- Validate optional fields
- Test YAML parsing
-
Description analysis
- Evaluate discoverability
- Check trigger keywords
- Verify clarity and completeness
- Compare against best practices
-
Structure validation
- Verify file organization
- Check all references
- Test script execution
- Validate permissions
-
Code testing
- Syntax validation
- Security checks
- Dependency verification
- Error handling tests
-
Integration testing
- Test skill loading
- Verify triggering
- Check execution flow
- Validate outputs
-
Validation report
- Generate comprehensive report
- Score each category
- List issues by severity
- Provide actionable fixes
-
Issue resolution
- If issues found, work with generator agent to fix
- Re-validate after fixes
- Iterate until validation passes
Phase 4: Documentation Enhancement
Agent: skill-documenter-agent
-
Activate documenter agent
- Start the skill-documenter-agent with the Task tool
- Provide skill path and specification
- Request comprehensive documentation
-
SKILL.md enhancement
- Refine instructions for clarity
- Add comprehensive examples
- Integrate best practices
- Create troubleshooting section
-
Reference documentation
- Create detailed technical reference (if needed)
- Document API and configuration
- Provide advanced patterns
- Integrate performance tuning tips
-
Example collection
- Generate examples from beginner to advanced
- Add troubleshooting examples
- Show integration patterns
- Provide case studies
-
README creation
- Create skill directory README (if distributable)
- Document installation
- Provide quick start
- Link to full documentation
-
Documentation quality check
- Verify clarity and completeness
- Test all code examples
- Check organization
- Validate accuracy
Phase 5: Final Delivery
-
Generate summary
- List all created files
- Document location (personal/project/plugin)
- Provide usage instructions
- Include test scenarios
-
Installation verification
- Confirm skill is in the correct location
- Verify file permissions
- Check that dependencies are documented
- Test skill loading
-
Usage guide
- Explain how to trigger the skill
- Provide example prompts
- Show expected behavior
- Link to documentation
-
Next steps
- Suggest testing approach
- Recommend improvements
- Explain maintenance
- Note future extensions
Agent Coordination
Sequential Flow
User request
|
skill-elicitation-agent (requirements)
|
User approval
|
skill-generator-agent (creation)
|
skill-validator-agent (testing)
|
Fixes if needed (back to generator)
|
skill-documenter-agent (enhancement)
|
Final delivery
Agent Communication
Between agents:
- Elicitation -> Generator: Pass specification document
- Generator -> Validator: Pass skill location and files
- Validator -> Generator: Pass validation issues (if any)
- Generator -> Documenter: Pass skill for enhancement
- Documenter -> User: Final documentation
With user:
- Obtain approval after elicitation
- Confirm location preference (personal/project)
- Review validation results
- Approve final result
Best Practices
-
Always begin with elicitation
- Do not skip the questioning phase
- Understand deeply before building
- Obtain user approval for the specification
-
Use all four agents
- Each has specialized expertise
- Complete flow ensures quality
- Do not shortcut the process
-
Iterate based on validation
- Fix issues immediately
- Re-validate after changes
- Do not proceed with errors
-
Test comprehensively
- Manual trigger testing
- Script execution tests
- Integration tests
- Real-world scenario tests
-
Document thoroughly
- Clear instructions
- Comprehensive examples
- Troubleshooting guides
- Best practices
Location Options
Personal Skills (~/.claude/skills/)
Use for:
- Individual workflows
- Experimental skills
- Personal preferences
- Private tools
Project Skills (.claude/skills/)
Use for:
- Team-shared workflows
- Project-specific expertise
- Version-controlled skills
- Collaborative tools
Plugin Skills (plugin directory structure)
Use for:
- Distributable skills
- Marketplace deployment
- Public sharing
- Bundled capabilities
Output Format
Provide the user with a comprehensive summary:
Skill created successfully!
Skill: [Skill Name]
Location: [Path]
Type: [simple/multi-file/tool-restricted/code-execution]
Files created:
- SKILL.md - Main skill instructions
- reference.md - Technical reference (if created)
- examples.md - Comprehensive examples (if created)
- scripts/[name].py - Helper scripts (if created)
- README.md - Installation guide (if created)
Validation: PASSED (Score: X/10)
Dependencies:
[List if any, or "None"]
Usage:
Trigger this skill by:
- "[Example trigger 1]"
- "[Example trigger 2]"
Or explicitly: "Use [skill-name] for [task]"
Test with:
[Specific test scenario]
Documentation:
- See SKILL.md for instructions
- See examples.md for comprehensive examples
- See reference.md for technical details
Next steps:
1. Test the skill with provided scenarios
2. Refine based on usage
3. Share with team (if project skill)
4. Consider adding more examples
Troubleshooting
Agent not found: Ensure .claude/agents/skill-builder/ exists with all agent files
Permission errors: Check file permissions with chmod +x scripts/*.py
YAML errors: Validator will catch and report these
Agent confusion: Use explicit agent names: "Start skill-elicitation-agent"
Examples
Example 1: Simple Instruction-Only Skill
Request: "Create a skill for writing Conventional Commit messages"
Flow:
- Elicitation asks about commit style, projects, examples
- Generates simple single SKILL.md
- Validates structure and description
- Documents with examples and best practices
Example 2: Multi-File Skill with Scripts
Request: "Create a skill for filling PDF forms"
Flow:
- Elicitation asks about PDF types, operations, dependencies
- Generates SKILL.md + scripts/fill_form.py + FORMS.md
- Validates code execution and file structure
- Documents with comprehensive examples and API reference
Example 3: Tool-Restricted Read-Only Skill
Request: "Create a skill for security code analysis"
Flow:
- Elicitation determines read-only requirement
- Generates SKILL.md with allowed-tools: Read, Grep, Glob
- Validates tool restrictions
- Documents security patterns and analysis techniques
Remember
- Quality over speed - Take time for thorough elicitation
- User involvement - Obtain approval at key stages
- Comprehensive validation - Test everything
- Excellent documentation - Make skills easy to use
- Iterative improvement - Skills can evolve over time
This command ensures every skill is production-ready, well-documented, and follows Claude Code best practices!
Expert Next.js App Router
Developpement
Un skill qui transforme Claude en expert Next.js App Router.
Générateur de README
Developpement
Crée des README.md professionnels et complets pour vos projets.
Rédacteur de Documentation API
Developpement
Génère de la documentation API complète au format OpenAPI/Swagger.