scan
Installation
SKILL.md
Codebase Scan
Audit the codebase against another skill's criteria using a parallel agent team.
Workflow
1. Parse args & load skill
Extract the skill name from the args passed to this skill.
- If no skill name provided, list available skills in
.claude/skills/and ask the user which to scan against. - If skill doesn't exist, list available skills and tell the user.
- Read
.claude/skills/<name>/SKILL.mdplus any files inreferences/andrules/subdirectories. - Distill the skill's content into a numbered criteria checklist: a flat list of concrete, testable rules labeled C1, C2, C3, etc. Each criterion should be a single sentence describing what to check for.
- If the skill has no evaluable code criteria (e.g., workflow-only skills like
whythat don't define code patterns or rules), tell the user it's not scannable and stop.
2. Discover relevant files
Use the skill's criteria to infer file scope: