AGENT SKILL

skill.check_refs

Check the references in all the skill files

License 许可
Apache-2.0
所属仓库
causify-ai/helpers
最近更新
2026-11-02
Stars
★ 155
Forks
170

01 前言 Front Matter

model
haiku
description
Check the references in all the skill files

02 资源文件 7

03 SKILL.md 正文

Goal

  • Check that all the skill and rule files have references

Workflow

Find Files

  • Look for all the markdown files, both SKILL.md and <TOPIC>.rules.md
    > find .claude/skills -name "*.md"
    

Read Context

  • Read context about rules from .claude/skills/skill.rules.md

Check Rules

  • For each file, apply all the following rules and report violations as described below

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.md to look for clear violations
  • Report a violation only when certain it is one

Report Violations

  • Report all the violations in a file cfile using the format .claude/skills/cfile.rules.md

Ask the User Which Problems to Fix

  • Ask the user which problems to fix by printing a numbered list of problems

Verification

  • [ ] Every file under .claude/skills matching SKILL.md or <TOPIC>.rules.md was checked
  • [ ] cfile follows the format in .claude/skills/cfile.rules.md
  • [ ] Every reported violation is one the reviewer is confident about

04 同仓库更多 Skills