Our review
This skill orchestrates four specialized agents to create production-ready Claude Code skills from user requirements, covering elicitation, generation, validation, and documentation.
Strengths
- Multi-agent approach covering the full skill lifecycle
- Automated validation and comprehensive audit reports
- Auto-generated documentation with examples
Limitations
- Requires solid understanding of Claude Code concepts
- Can be overkill for simple skills
- Depends on quality of elicited specifications
Use this skill when you need to build a complex or production-grade Claude Code skill with well-defined requirements.
Avoid this skill for quick tasks or very simple skills; prefer manual writing.
Security analysis
SafeThe skill only uses Read, Write, and Task tools for orchestrating other agents. It does not execute external commands, access secrets, or perform destructive operations. No security concerns.
No concerns found
Examples
I want to create a Claude Code skill that performs automated code reviews with security scanning and best practices enforcement. It should integrate with GitHub and provide detailed reports.Help me build a skill that generates project scaffolding for a Python web application using FastAPI. It should include templates for models, routes, and tests.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!
Next.js App Router Expert
Development
A skill that turns Claude into a Next.js App Router expert.
README Generator
Development
Creates professional and comprehensive README.md files for your projects.
API Documentation Writer
Development
Generates comprehensive API documentation in OpenAPI/Swagger format.