Git.Update References
БесплатноБез исполняемых скриптовНе проверенUpdate references in other Git repos to files moved, renamed, or deleted here
от gpsaggese★ 158 звёзд на GitHubОб этом скилле
Goal
- Find files moved, renamed, updated, or deleted in the current repo and update all references to them in the other Git repos
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.update_references.md, then stop without executing the skill
Workflow
Find Changed Files
Find all files moved, renamed, updated, or deleted in the current repo:
> invoke git_files --branch --only-print-filesPrint the files that are moved, renamed, or deleted
- Print the main functions changed
Search for References
For each file
<FILE>, search for its references in these repos:helper: the current repoumd_classes: located at~/src/umd_classes1csfy: located at~/src/csfy1orange: located at~/src/orange1lemonade: located at~/src/lemonade1
You must:
- Skip the Git sub repos of each repo (e.g.,
helpers_root) - Search only files under Git control
- Skip symlinks (e.g.,
.claude) using an approach like:
search_repo() { local repo_path=$1 local search_term=$2 (cd "$repo_path" && { # Get submodule paths to exclude submodules=$(git config --file .gitmodules --name-only --get-regexp path 2>/dev/null | sed 's/.*path=//' | tr '\n' '|' | sed 's/|$//') if [ -n "$submodules" ]; then git ls-files | grep -v "^($submodules)" | while read -r file; do [ ! -L "$file" ] && echo "$file" done | xargs grep "$search_term" 2>/dev/null else git ls-files | while read -r file; do [ ! -L "$file" ] && echo "$file" done | xargs grep "$search_term" 2>/dev/null fi }) }- Skip the Git sub repos of each repo (e.g.,
Print the references in a table organized by:
- Repos
- Files
Create a vim quickfix cfile
git.update_references.cfilein the current dir for the locations, using the conventions in.claude/skills/cfile.rules.mdPause and ask the user to continue
Update References
- Update the references in all the repos
Verification
-
--only_plan(check only this item): the plan is ingit.update_references.mdin the current dir, has theGenerated byline, and nothing was executed - The output file is
git.update_references.cfilein the current dir - Confirm every reference to each moved, renamed, or deleted file was updated in every repo
- Re-run the search and confirm no stale reference remains
Установить Git.Update References в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Git.Update References?
Update references in other Git repos to files moved, renamed, or deleted here
Как установить скилл Git.Update References?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Git.Update References запускает скрипты?
Нет, скилл состоит только из инструкций (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