Automated summary
This skill orchestrates four specialized agents to build comprehensive Claude Code Skills through elicitation-driven development.
Strengths
- Structured phased approach with dedicated agents for each stage (elicitation, generation, validation, documentation)
- Automatic validation of YAML, structure, code, and integration before finalization
- Detailed specification generation with user approval loop
Limitations
- Requires advanced understanding of Claude Code and its agent system
- Four-phase process can be time-consuming for simple skills
- Depends on underlying agent quality and availability
Use this skill to create complex, robust Claude Code skills by following a complete software engineering methodology.
Avoid this skill if you need a very simple or quick skill, or if you are just starting out with Claude Code.
Security analysis
SafeThe skill describes a structured, multi‑agent workflow for building Claude Code Skills. It contains no destructive commands, no direct execution of user‑supplied code beyond controlled validation steps, and no exfiltration or obfuscation. It is a pure instructional guide.
No concerns found
How this analysis is madeExamples
I want to create a Claude Code skill that automates deployment to AWS ECS. Use the build-claude-code-skill process to generate a production-ready skill.I have an existing skill in ~/.claude/skills/my-skill/ that is not well structured. Run the full build skill workflow on it to improve it, starting with elicitation.Build Claude Code Skill
Create comprehensive Claude Code Skills through elicitation-driven development
Instructions
This command orchestrates four specialized agents to build production-ready Claude Code Skills from user requirements. Follow this structured workflow:
Phase 1: Requirements Elicitation
Agent: skill-elicitation-agent
-
Activate Elicitation Agent
- Launch the skill-elicitation-agent using the Task tool
- Provide context: "The user wants to create a new Claude Code Skill"
- Include any initial requirements or ideas the user has shared
-
Elicitation Questions
- The agent will ask 3-5 targeted questions to understand:
- Purpose and scope of the skill
- Complexity and structure requirements
- Tool permissions needed
- Context and references
- Success criteria
- The agent will ask 3-5 targeted questions to understand:
-
Specification Creation
- Agent will create a comprehensive skill specification document
- Includes: metadata, structure, instructions outline, code needs, examples, dependencies
- Uses progressive disclosure strategy
- Validates completeness before proceeding
-
User Approval
- Present the specification to the user
- Confirm understanding and agreement
- Make adjustments if needed
- Get explicit approval to proceed to generation
Phase 2: Skill Generation
Agent: skill-generator-agent
-
Activate Generator Agent
- Launch the skill-generator-agent using the Task tool
- Pass the approved specification document
- Specify target location (personal, project, or plugin skill)
-
Directory Structure Creation
- Agent creates appropriate directory structure:
skill-name/ ├── SKILL.md (required) ├── reference.md (if needed) ├── examples.md (if needed) ├── scripts/ (if needed) └── templates/ (if needed)
- Agent creates appropriate directory structure:
-
SKILL.md Generation
- Creates main skill file with proper frontmatter
- Includes clear instructions and examples
- Follows progressive disclosure principles
- Links to supporting files
-
Supporting Files Generation
- 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
- Launch the skill-validator-agent using the Task tool
- Provide path to generated skill
- Request comprehensive validation
-
YAML Validation
- Check frontmatter syntax
- Verify required fields
- Validate optional fields
- Test YAML parsing
-
Description Analysis
- Assess discoverability
- Check trigger keywords
- Verify clarity and completeness
- Compare to 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
- Launch the skill-documenter-agent using the Task tool
- Provide skill path and specification
- Request comprehensive documentation
-
SKILL.md Enhancement
- Refine instructions for clarity
- Add comprehensive examples
- Include best practices
- Create troubleshooting section
-
Reference Documentation
- Create detailed technical reference (if needed)
- Document API and configuration
- Provide advanced patterns
- Include performance tuning tips
-
Example Collection
- Generate beginner to advanced examples
- Include troubleshooting examples
- Show integration patterns
- Provide case studies
-
README Creation
- Create skill directory README (if distributing)
- 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 files created
- Document location (personal/project/plugin)
- Provide usage instructions
- Include test scenarios
-
Installation Verification
- Confirm skill is in correct location
- Verify file permissions
- Check dependencies 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 enhancements
Agent Coordination
Sequential Flow
User Request
↓
skill-elicitation-agent (Requirements)
↓
User Approval
↓
skill-generator-agent (Creation)
↓
skill-validator-agent (Testing)
↓
Fixes if needed (loop 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:
- Get approval after elicitation
- Confirm location preference (personal/project)
- Review validation results
- Approve final deliverable
Best Practices
-
Always Start with Elicitation
- Don't skip the question phase
- Understand deeply before building
- Get user approval on specification
-
Use All Four Agents
- Each has specialized expertise
- Complete flow ensures quality
- Don't shortcut the process
-
Iterate Based on Validation
- Fix issues immediately
- Re-validate after changes
- Don't proceed with failures
-
Test Comprehensively
- Manual trigger testing
- Script execution testing
- Integration testing
- Real-world scenario testing
-
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 saying:
- "[Example trigger 1]"
- "[Example trigger 2]"
Or explicitly: "Use [skill-name] to [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 over time
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: "Launch 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-file SKILL.md
- Validates structure and description
- Documents with examples and best practices
Example 2: Multi-File Skill with Scripts
Request: "Create a skill for PDF form filling"
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 - Get 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!
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/build-claude-code-skill-mrwake5h/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/build-claude-code-skill-mrwake5h' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/build-claude-code-skill-mrwake5h/download' --output '.skill-downloads/build-claude-code-skill-mrwake5h/SKILL.md.part' && mv '.skill-downloads/build-claude-code-skill-mrwake5h/SKILL.md.part' '.skill-downloads/build-claude-code-skill-mrwake5h/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
This file does not provide a usable name/description header for this native procedure. It remains available to download and inspect; use the manual method below.
Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/build-claude-code-skill-mrwake5h/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.