Build, manage, and distribute Claude Code Skills with professional tooling.
The Skills namespace provides commands for creating comprehensive, production-ready Claude Code Skills through an elicitation-driven development process. Four specialized agents work together to ensure every skill follows best practices and meets quality standards.
Primary command for creating new Claude Code Skills
Creates skills through a structured 4-phase process:
- Requirements Elicitation - Understand user needs through targeted questions
- Skill Generation - Build complete skill structure with files and code
- Validation & Testing - Comprehensive quality assurance and testing
- Documentation Enhancement - Professional documentation and examples
When to use:
- Creating new skills from scratch
- Converting workflows into reusable skills
- Building team-shared capabilities
- Packaging expertise for distribution
Example:
/skills:build-skill
"I need a skill for managing database migrations"
"Create a skill that helps with PDF form filling"
"Build a skill for writing API documentation"
Expert at gathering requirements and creating specifications
Responsibilities:
- Ask 3-5 targeted questions to understand needs
- Convert user requirements into detailed specifications
- Plan skill structure and components
- Validate completeness before generation
Triggers automatically when: Building new skills or gathering requirements
Expert at creating skill files and code
Responsibilities:
- Generate SKILL.md with proper structure
- Create supporting files (reference.md, examples.md)
- Write scripts with error handling
- Set up directory structure
- Document dependencies
Triggers automatically when: Creating skills from specifications
Expert at testing and quality assurance
Responsibilities:
- Validate YAML frontmatter
- Test skill structure and organization
- Execute and test scripts
- Check description quality
- Verify progressive disclosure
- Generate validation reports
Triggers automatically when: Validating new or modified skills
Expert at creating comprehensive documentation
Responsibilities:
- Enhance SKILL.md with examples
- Create detailed reference documentation
- Generate example collections
- Write troubleshooting guides
- Ensure documentation quality
Triggers automatically when: Documenting skills
Single SKILL.md file with instructions
Best for:
- Instruction-based workflows
- Process guidance
- Best practices
- Checklists
Example: Commit message formatting, code review guidelines
SKILL.md + reference docs + examples
Best for:
- Complex workflows
- Multiple sub-tasks
- Deep technical content
- Progressive learning
Example: PDF processing, API design, database management
Skills with allowed-tools specified
Best for:
- Read-only operations
- Safety-critical workflows
- Scoped capabilities
- Security-focused tasks
Example: Security analysis, code auditing
Skills with bundled scripts
Best for:
- Deterministic operations
- Complex algorithms
- Data processing
- File manipulation
Example: Data transformation, file generation, validation
Your private skills, not shared
✅ Use for:
- Individual workflows and preferences
- Experimental skills
- Personal productivity tools
- Private utilities
Team-shared, version-controlled
✅ Use for:
- Team workflows and conventions
- Project-specific expertise
- Shared utilities
- Collaborative tools
Distributed via marketplace
✅ Use for:
- Public sharing
- Marketplace deployment
- Bundled capabilities
- Wide distribution
- Don't skip the questions phase
- Understand requirements deeply
- Get user approval on specification
- Use all four agents sequentially
- Don't shortcut the process
- Each agent adds critical value
- Fix issues immediately
- Re-validate after changes
- Don't proceed with failures
- Clear instructions
- Multiple examples
- Troubleshooting guides
- Best practices
- Use real-world scenarios
- Test edge cases
- Verify script execution
- Check skill triggering
Goal: Skill for writing conventional commit messages
# Start the process
/skills:build-skill
# Elicitation phase
Q: What commit message format? (Conventional Commits)
Q: Any project-specific requirements? (None)
Q: Example commits to reference? (Yes, from CHANGELOG)
# Generation creates:
- commit-helper/SKILL.md (instructions + examples)
# Validation passes all checks
# Documentation adds:
- Best practices section
- Multiple examples
- Troubleshooting tips
# Result: Production-ready commit helper skillGoal: PDF form filling skill
# Start the process
/skills:build-skill
# Elicitation phase
Q: What PDF operations? (Fill forms, extract fields)
Q: Which libraries? (pypdf, pdfplumber)
Q: Safety restrictions? (None, can write files)
# Generation creates:
- pdf-form-filler/SKILL.md (core instructions)
- pdf-form-filler/FORMS.md (form-specific details)
- pdf-form-filler/REFERENCE.md (API docs)
- pdf-form-filler/scripts/fill_form.py
- pdf-form-filler/scripts/validate.py
# Validation tests:
- YAML structure ✅
- Script execution ✅
- Dependencies documented ✅
# Documentation adds:
- 10+ examples
- Troubleshooting section
- Integration patterns
# Result: Comprehensive PDF processing skillGoal: Security code analysis skill
# Start the process
/skills:build-skill
# Elicitation phase
Q: Analysis scope? (OWASP Top 10 vulnerabilities)
Q: Should modify files? (No, read-only)
Q: Output format? (Detailed report)
# Generation creates:
- security-analyzer/SKILL.md
- allowed-tools: Read, Grep, Glob
- security-analyzer/PATTERNS.md (vulnerability patterns)
- security-analyzer/REFERENCE.md (OWASP guide)
# Validation confirms:
- Tool restrictions correct ✅
- No write operations ✅
- Security patterns valid ✅
# Documentation adds:
- Security best practices
- Example vulnerabilities
- Remediation guides
# Result: Safe, read-only security skillEvery skill created through /skills:build-skill meets these standards:
✅ Structure
- Valid YAML frontmatter
- Clear, specific description
- Proper file organization
- Progressive disclosure
✅ Content
- Actionable instructions
- Comprehensive examples
- Best practices
- Troubleshooting guides
✅ Code
- Syntax validation
- Error handling
- Security checks
- Proper permissions
✅ Documentation
- Clear writing
- Complete coverage
- Tested examples
- Usage guides
✅ Validation
- Passes all quality checks
- Score 8/10 or higher
- No critical issues
- Production-ready
Create skills for:
- Project setup and configuration
- Team coding standards
- Common workflows
- Troubleshooting guides
Package knowledge about:
- Specialized technologies
- Industry-specific workflows
- Complex algorithms
- Best practices
Build skills that:
- Execute repetitive tasks
- Process data deterministically
- Generate boilerplate
- Validate outputs
Create tools for:
- Code review checklists
- Security analysis
- Performance optimization
- Testing workflows
Skills work seamlessly with other commands:
/project:*- Project skills auto-load for projects/dev:*- Dev tools can leverage skill capabilities/test:*- Skills can include testing workflows/docs:*- Skills can generate documentation
Check:
- File location:
~/.claude/skills/or.claude/skills/ - YAML syntax: Valid frontmatter
- Restart: Claude Code to reload skills
Fix:
- Use explicit keywords from description
- Try: "Use [skill-name] skill to [task]"
- Check description includes trigger words
Process:
- Review validation report
- Fix critical issues first
- Re-run skill-validator-agent
- Iterate until passing
Check:
- Dependencies installed
- File permissions (chmod +x)
- Syntax validation
- Error handling
- Anthropic Skills Repository
- Sample skills in
.claude/skills/
- Ask Claude: "How do I create a skill for [task]?"
- Use
/skills:build-skillfor guided creation - Check validation reports for issues
Coming soon:
- Skill testing framework
- Skill marketplace integration
- Version management
- Dependency tracking
- Usage analytics
- Automated updates
Ready to build your first skill?
/skills:build-skillThe skill-elicitation-agent will guide you through the process!
Transform your workflows into reusable skills with professional tooling and quality assurance.