Automated summary
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
How this analysis is madeExamples
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!
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-skills-mm5t8b92/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-skills-mm5t8b92' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/build-claude-code-skills-mm5t8b92/download' --output '.skill-downloads/build-claude-code-skills-mm5t8b92/SKILL.md.part' && mv '.skill-downloads/build-claude-code-skills-mm5t8b92/SKILL.md.part' '.skill-downloads/build-claude-code-skills-mm5t8b92/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-skills-mm5t8b92/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.