AGENT SKILL
coding.rename
Rename files, functions, and variables and update all references
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-02
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- model
- haiku
- description
- Rename files, functions, and variables and update all references
03 SKILL.md 正文
Goal
I will give a list of files, functions, variables to rename in a codebase.
- In
TODO: -> <NEW_NAME>the->means rename - For files use
git mv
Workflow
- Update all the references to those objects in the code base
- E.g., for files, look for and update imports
- E.g., for functions, find the callers in notebooks ipynb, Python files, and other files and update those references
- Update documentation in txt and md files
- If needed, run corresponding unit tests to make sure the code works
Conventions
- For Python code follow the rules in
.claude/skills/coding.rules.md - For Python code with unit tests, follow the rules in
.claude/skills/testing.rules.md
Verification
- [ ] Grep the codebase to confirm no references to the old name remain
- [ ] Run the corresponding unit tests to confirm nothing broke
04 同仓库更多 Skills
tutorial_in_60_mins.propagate_docker_changes
Sync tutorial and class-project Docker files to match project_template
★ 0
tutorial_in_60_mins.merge_markdown
Merge the content of a markdown file into a Jupyter notebook
★ 0
tutorial_in_60_mins.format
Format a directory to follow the "Learn X in 60 Minutes" tutorial conventions
★ 0
tutorial_in_60_mins.create
Create a tutorial directory for the Learn X in 60 Minutes conventions
★ 0
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
★ 0
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
★ 0