Debug Skill Routing
When a skill doesn't trigger (or triggers too often), walk through these checks.
Checklist
- Schema: confirm the skill passes
npm run skills:validate. - Phase: ensure
phasematches the files being changed (Upstream/Midstream/Downstream). - applyTo globs: verify the patterns match the paths in your PR. Use a minimal test file that should trigger the skill.
- Severity/tags: check whether filters in the runner use tags or severity that might exclude the skill.
- Recent changes: review git history for the skill file to see if routing logic changed.
Quick test
Open a draft PR that modifies a file matching the skill's applyTo glob. If no findings appear, add debug logging or temporarily narrow the glob to a single known path, then re-run the workflow.
For guidance on selecting skills and building starter sets, see Choosing and Combining Skills.