Claude-skill-registry example-complete-skill
This skill should be used when the user asks to "perform complex task", "implement advanced pattern", "handle multiple scenarios", or needs comprehensive guidance with validation tools. Demonstrates full-featured skill structure.
git clone https://github.com/majiayu000/claude-skill-registry
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/complete-skill-helmecke-dotfiles" ~/.claude/skills/majiayu000-claude-skill-registry-example-complete-skill && rm -rf "$T"
skills/data/complete-skill-helmecke-dotfiles/SKILL.mdExample Complete Skill
When to Use This Skill
Primary Triggers (Explicit)
Use this skill when the user says:
- "perform complex task"
- "implement advanced pattern"
- "handle multiple scenarios"
- "need comprehensive validation"
Contextual Triggers (Implicit)
Use this skill when:
- Domain is complex with multiple patterns
- Users need both basic and advanced guidance
- Validation and testing are important
- Task has many edge cases or variations
Purpose
Provide comprehensive guidance for complex tasks that require:
- Core concepts and workflows in SKILL.md
- Extensive reference documentation
- Multiple working examples for different scenarios
- Validation and testing utilities
Core Concepts
Concept 1: Fundamental Pattern
The foundational approach for this domain:
[Brief explanation with essential code]
Key principles:
- Principle 1 - Core idea
- Principle 2 - Core idea
- Principle 3 - Core idea
Concept 2: Standard Workflow
The recommended workflow:
- Preparation - Set up requirements
- Implementation - Apply core pattern
- Validation - Verify correctness
- Testing - Ensure reliability
- Iteration - Refine based on results
Concept 3: Advanced Patterns
For complex scenarios, see
references/advanced.md.
Quick overview:
- Pattern A - For scenario X
- Pattern B - For scenario Y
- Pattern C - For scenario Z
Quick Reference
Common Tasks
| Task | Command | Notes |
|---|---|---|
| Basic validation | | Quick check |
| Full validation | | Comprehensive |
| Run tests | | All scenarios |
| Check structure | | File organization |
Key Patterns
| Pattern | Use When | Example |
|---|---|---|
| Pattern A | Scenario X | |
| Pattern B | Scenario Y | See |
| Pattern C | Scenario Z | See |
Validation
Verify implementation using provided scripts:
# Basic structure validation ./scripts/validate.sh path/to/implementation # Strict validation (all checks) ./scripts/validate.sh --strict path/to/implementation # Run full test suite ./scripts/test.sh path/to/implementation
Manual validation checklist:
- Structure matches requirements
- Core concepts applied correctly
- Edge cases handled
- Tests pass
- Documentation complete
Additional Resources
Reference Files
Detailed documentation in
references/:
- Comprehensive pattern catalog with examplesreferences/patterns.md
- Advanced techniques and edge casesreferences/advanced.md
- Common issues and solutionsreferences/troubleshooting.md
- Upgrading from older approaches (if applicable)references/migration.md
Working Examples
Complete examples in
examples/:
- Simple implementation for common caseexamples/basic-example.sh
- Moderate complexity scenarioexamples/intermediate-example.sh
- Complex scenario with edge casesexamples/advanced-example.sh
- Full-featured implementationexamples/complete-example/
Utility Scripts
Tools in
scripts/:
- Structure and correctness validationscripts/validate.sh
- Automated testing utilityscripts/test.sh
- File organization checkerscripts/check-structure.sh
- Scaffold new implementationscripts/generate-template.sh
Progressive Disclosure
This skill uses three-level loading:
- Always loaded: This SKILL.md with core concepts (~2,000 words)
- Load as needed: Reference files for detailed patterns
- Copy/execute: Examples and scripts when required
Keep SKILL.md focused on essential workflows. Move detailed content to references/.
Summary
This complete skill structure provides:
- Lean SKILL.md with essential concepts (1,500-2,500 words)
- Comprehensive reference documentation (in references/)
- Multiple working examples (in examples/)
- Validation and testing utilities (in scripts/)
- Progressive disclosure for efficient context usage
Use this structure for complex domains requiring extensive documentation and tooling.