Improve Skill With Best Practices
Create high-quality new skills or systematically improve existing ones by applying official skill authoring best practices.
Prerequisite
Before starting any work, load these references:
references/best-practices.md— full catalog of authoring principlesreferences/skill-anatomy.md— skill structure, resource types, progressive disclosurereferences/fix-priority.md— quality principles and prioritized fix categories
Assume all skill content — whether newly drafted or pre-existing — has NOT been designed according to best practices.
Mode Selection
- Create Mode — Build a new skill from scratch
- Improve Mode — Review and optimize an existing skill
Create Mode
- Clarify intent — Gather concrete usage examples: what triggers the skill, what it produces, how it would be used
- Plan resources — Map examples to resource types (see
references/skill-anatomy.md) - Initialize —
python3 scripts/init_skill.py <skill-name> --path <parent-dir> - Choose structure pattern — Workflow / Task / Reference / Capabilities (see
references/skill-anatomy.md) - Draft SKILL.md — Cross-check every section against
references/best-practices.mdandreferences/fix-priority.md - Implement resources — Create scripts, references, assets. Delete unused scaffolding files. Apply best practices to all content
- Analyze —
python3 scripts/analyze_skill.py <path> - Fix — Address findings by priority (see
references/fix-priority.md) - Validate & package:
python3 scripts/quick_validate.py <path> python3 scripts/package_skill.py <path> [output-dir] - Iterate — Re-analyze, test with real scenarios, refine
Improve Mode
- Read the skill — Load target SKILL.md and all bundled resources
- Analyze —
python3 scripts/analyze_skill.py <path> - Manual audit — Review all content against
references/best-practices.mdandreferences/fix-priority.md. Automated analysis catches structural issues; manual review catches tone, conciseness, freedom calibration, and disclosure problems - Consolidate — Merge automated + manual findings into a single prioritized list
- Fix — Apply improvements by priority (Critical → Recommended → Optional)
- Re-analyze —
python3 scripts/analyze_skill.py <path> - Validate —
python3 scripts/quick_validate.py <path> - Summary — Present before/after comparison
Bundled Scripts
| Script | Purpose |
|---|---|
init_skill.py |
Scaffold new skill directory |
analyze_skill.py |
Automated best-practices analysis |
quick_validate.py |
Fast frontmatter and structure validation |
package_skill.py |
Package skill into distributable zip |
Finalize
Before finalizing any skill, verify against references/checklist.md. Copy the checklist and mark items during review.