Audits skills for best practice violations including length, checklists, verification steps, and progressive disclosure. Use after creating skills, during reviews, or to improve existing skills...
Analyze skills, legacy commands, and prompt templates in this repository against best practices and produce prioritized improvements.
Copy this checklist and track progress:
Audit Progress:
- [ ] Step 1: Discover all auditable files (skills, commands, prompts)
- [ ] Step 2: Load criteria
- [ ] Step 3: Audit each file
- [ ] Step 4: Score and prioritize
- [ ] Step 5: Output report
Find all skill-like files in the repository:
Use Glob to find files matching these patterns:
.claude/skills/*/SKILL.md — Skills.claude/commands/*.md — Legacy commands.claude/skills/*/PROMPT.md — Co-located prompts*_PROMPT.md — Root-level prompt templatesClassify each file:
| Type | Example | Criteria Applied |
|---|---|---|
| Skill | .claude/skills/*/SKILL.md |
All criteria (L, C, S, E, D) |
| Command | .claude/commands/*.md |
All criteria (L, C, S, E, D) — same frontmatter as skills |
| Prompt | PROMPT.md, *_PROMPT.md |
L, C, S, E only — no frontmatter, so skip D1-D3 |
Record the total count across all types for verification later.
Read CRITERIA.md for the full audit checklist.
Read SCORING.md for severity definitions.
For each discovered file:
/skill-name invocation patterns in other SKILL.md files. If explicitly invoked (not merely mentioned in prose), apply CO1 (output contract) checkUse this template per file:
File: <path>
Type: Skill | Command | Prompt
Lines: <count> (+ <N> in PROMPT.md if applicable)
Violations:
- <ID>: <brief evidence>
Group findings by severity (from SCORING.md):
Within each severity, sort by:
Systemic pattern detection: If any single criterion appears in >50% of audited skills and the sample size is 5 or more, flag it as a systemic issue requiring a template-level fix rather than per-skill remediation.
Use this format:
# Skill Audit Report
Generated: <date>
Skills audited: <N>
Total findings: <N>
## Critical (fix first)
- **<skill-name>**: <violation summary> (<criterion-id>)
- Evidence: <quote or line numbers>
- Suggested fix: <concrete action>
## Medium Priority
...
## Low Priority
...
## Top 3 Recommendations
1. **<most impactful fix>** — affects <N> skills (<criterion-ids>)
2. **<second most impactful>** — affects <N> skills (<criterion-ids>)
3. **<third most impactful>** — affects <N> skills (<criterion-ids>)
{If any criterion appears in >50% of skills}
## Systemic Issues
- **<criterion-id>**: Found in <N>/<total> skills — consider a template-level fix
{/If}
## Summary by Criterion
| ID | Description | Count |
|----|-------------|-------|
| C1 | Missing checklist | 5 |
| ... | ... | ... |
| Situation | Action |
|---|---|
| CRITERIA.md or SCORING.md not found | Report the missing file and stop — audit cannot proceed without criteria definitions. |
| No auditable files found (no skills, commands, or prompts) | Report that no files were discovered and stop. |
| Individual file unreadable | Log the file as "skipped (unreadable)" in the report and continue with remaining files. |
REMINDER: After completing the audit, verify your report includes all discovered files (skills, commands, and prompts). Missing files indicates incomplete analysis.