AGENT SKILL
skill.move_to_rules
Move the general content from a skill to the corresponding rule file
使用场景Skill与智能体开发
- License 许可
- Apache-2.0
- 最近更新
- 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
tutorial_in_60_mins.propagate_docker_changes
Sync tutorial and class-project Docker files to match project_template
★ 155
tutorial_in_60_mins.merge_markdown
Merge the content of a markdown file into a Jupyter notebook
★ 155
tutorial_in_60_mins.format
Format a directory to follow the "Learn X in 60 Minutes" tutorial conventions
★ 155
tutorial_in_60_mins.create
Create a tutorial directory for the Learn X in 60 Minutes conventions
★ 155
todo.reorg_in_progress
Reorganize ai_task_queue.md so in-progress tasks, not-started tasks, and mislabeled topic headers sit under the right H1 stage
★ 155
todo.reorg_headers
Reorganize ai_task_queue.md .md so every H2 topic matches ALL TOPICS and every H3 task sits under the right topic, keeping its H1 stage
★ 155