skill-check-refs
Check the references in all the skill files
SKILL.md.claude/skills/skill.check_refs/SKILL.md
GitHubGoal
- Check that all the skill and rule files have references
Workflow
Find Files
- Find all markdown files:
SKILL.mdand<TOPIC>.rules.md> find .claude/skills -name "*.md"
Read Context
- Read
.claude/skills/skill.rules.mdfor context on rules
Check Rules
- For each file, apply all the rules below and report violations as described
Check Files Existence
- Make sure the file follows
.claude/skills/skill.rules.md# SKILL.md File Format
Check Header References
- Make sure the file follows
.claude/skills/skill.rules.md# References and Dependencies
Check for Other Violations
- Use the rules in
.claude/skills/skill.rules.mdto find clear violations - Report a violation only when certain it is one
Report Violations
- Report all violations in a file
cfileusing the format in.claude/skills/cfile.rules.md
Ask the User Which Problems to Fix
- Ask which problems to fix by printing a numbered list of problems
Verification
- Every file under
.claude/skillsmatchingSKILL.mdor<TOPIC>.rules.mdwas checked -
cfilefollows the format in.claude/skills/cfile.rules.md - Every reported violation is one the reviewer is confident about