Skip to main content

Skill Mentorship Guide

This guide documents best practices extracted from high-performing skills. Use these patterns when creating or improving skills.

High-Performing Mentors

The following skills have 80%+ success rate and can serve as templates:

SkillSuccess RateKey Sections

Pattern Adoption Rates

PatternAdoptionCorrelation
Required Tools1/223High
Output Validation0/223High
Pre-flight Checklist1/223Medium
Examples66/223Medium
Anti-Patterns222/223Medium
Scope Boundaries1/223Low

1. Required Tools (Highest Impact)

Every skill should have a Required Tools table:

## Required Tools

| Tool | Purpose | Required |
|------|---------|----------|
| `Read` | Access source files | Yes |
| `Glob` | Find files by pattern | Yes |
| `Write` | Create output files | Optional |

2. Output Validation (High Impact)

Include a validation checklist:

## Output Validation

Before completing, verify output contains:
- [ ] All required sections present
- [ ] No placeholder text (TODO, FIXME)
- [ ] Proper formatting applied
- [ ] Examples included where applicable

3. Pre-flight Checklist (Medium Impact)

Prevent failures with prerequisites:

## Pre-flight Checklist

- [ ] Required context captured (`/cx` run)
- [ ] Target files exist and accessible
- [ ] Environment variables set
- [ ] Dependencies installed

4. Anti-Patterns (Prevention)

Document what NOT to do:

## Anti-Patterns

| Anti-Pattern | Problem | Solution |
|--------------|---------|----------|
| Skipping validation | Silent failures | Always validate output |
| Hardcoded paths | Portability issues | Use relative paths |
| Missing examples | User confusion | Include 2-3 examples |

Using the Mentor System

# Find mentors for a skill
python3 scripts/skill-mentor.py --suggest <skill-name>

# Generate improvement diff
python3 scripts/skill-mentor.py --diff <skill-name>

# View all high-scoring mentors
python3 scripts/skill-mentor.py --mentors

Success Metrics

Skills with all recommended sections average:

  • 85%+ success rate
  • Fewer retries
  • Better user satisfaction

Generated by skill-mentor.py on 2026-01-11