AGENT SKILL

skill.move_to_rules

Move the general content from a skill to the corresponding rule file

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

01 前言 Front Matter

model
haiku
description
Move the general content from a skill to the corresponding rule file

03 SKILL.md 正文

Goal

  • Given the skill file <SKILL_FILE> passed by the user, move its general content into the corresponding rule file <RULE_FILE>

Workflow

Read Skill Rules and Identify Files

  • Read .claude/skills/skill.rules.md
  • Print the name of the skill and rule file
    Skill file: <SKILL_FILE>
    Rule file: <RULE_FILE>
    

Find General Content

  • Find the parts that refer to general rules that belong in <RULE_FILE>

Move the Content

  • Move those parts from <SKILL_FILE> to <RULE_FILE>, in the right section

Add a Reference

  • Add a reference to the moved section in <SKILL_FILE>, e.g.:
    - Follow the section `XYZ` from the file `<RULE_FILE>`
    

Verification

  • [ ] <RULE_FILE> contains the moved general content, in the right section
  • [ ] <SKILL_FILE> references the moved section instead of restating it
  • [ ] No content was lost or duplicated between <SKILL_FILE> and <RULE_FILE>

04 同仓库更多 Skills