Git.Move
БесплатноБез исполняемых скриптовНе проверенMove a file or directory in the Git repo and update all references to it
от gpsaggese★ 158 звёзд на GitHubОб этом скилле
Goal
- Given a source path
<SRC>and destination path<DST>, move a file or directory in the Git repo and update all references to it
Plan Only (--only_plan)
- With
--only_plan, follow.claude/skills/skill.rules.mdsection "Create Only a Plan with--only_plan" - Write the plan to
git.move.<INPUT_REF>.md, then stop without executing the skill
Workflow
Validate Inputs
- Confirm
<SRC>exists in the repository - Confirm
<DST>does not exist, to prevent accidental overwrites - Ensure the parent directory of
<DST>exists, creating it if needed
Move the File or Directory
- Run
git mv <SRC> <DST>to preserve Git history - If the file is in a subrepo (e.g.,
helpers_root), rungit mvfrom inside it- E.g.,
cd helpers_root && git mv <SRC> <DST>adjusting the paths accordingly
- E.g.,
Move the Corresponding Python Tests
- If
<SRC>is a Python file with a test file (e.g.,<DIR>/<FILE>.py-><DIR>/test/test_<FILE>.py), also move the test file to the matching destination (e.g.,<DST>/test/test_<FILE>.py)
Update All References
- Search the entire repository for
<SRC>:> grep -r -i <SRC> . - Replace each occurrence of
<SRC>with<DST> - This includes:
- Source code imports in Python
- Unit test code in Python
- Configuration files in YAML and JSON
- Documentation in markdown and text
- Any other plaintext files
- Skip binary files and the
.git/directory
Summarize Changes
- Report each file with updated references, and its replacement count
- Flag any ambiguous matches that may need manual review
Ask for Help If Unsure How to Do
- If the task is not perfectly clear, you MUST not perform it, but ask for
clarifications
- For a complex task, create
git.move.<INPUT_REF>.mdin the current dir, with 5 bullet points explaining the plan<INPUT_REF>comes from<SRC>, as in.claude/skills/skill.rules.md### Name the Output File
- Say in that file how it was generated, with this line as the first bullet:
- Generated by `.claude/skills/git.move/SKILL.md`
- For a complex task, create
Verification
-
--only_plan(check only this item): the plan is ingit.move.<INPUT_REF>.mdin the current dir, has theGenerated byline, and nothing was executed - If created, the output file is
git.move.<INPUT_REF>.mdin the current dir - Confirm no reference to
<SRC>is left> grep -r -i <SRC> . - The file
git.move.<INPUT_REF>.md, if created, says that it was generated by.claude/skills/git.move/SKILL.md
Установить Git.Move в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Git.Move?
Move a file or directory in the Git repo and update all references to it
Как установить скилл Git.Move?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Git.Move запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic