lov-rename-project
БесплатноЗапускает вложенные скриптыНе проверен在保留兼容键与运行连续性的前提下重命名项目、路径和仓库。支持明确输入与结果回读。Use to rename a project and preserve compatibility.
от lovstudio★ 72 звезды на GitHubОб этом скилле
项目改名 · Project Renamer
Triggers
Activate when
- “在保留兼容键与运行连续性的前提下重命名项目、路径和仓库。”
- “Rename a project and preserve compatibility.”
Do not activate when
- 只是查询本 Skill 的说明,或请求与上述结果无关的任务;不执行实际业务操作。
- 用户仅要预览或审查时,不进入修改、提交或发布分支。
This is a non-interactive workflow: the explicit invocation supplies the target, and the command returns a reviewable plan before any write.
Use the bundled scripts/rename_project.py instead of a blind grep/sed
replacement. The command produces a machine-readable plan, classifies
compatibility-sensitive references, and stages only files changed by this run.
Arguments
<new-name> is the new product or repository name. Pass --old-name when the
remote name is not the product name or when a legacy alias must be handled
explicitly. The default scan covers common source, configuration, and
documentation text files while skipping binary files, generated directories,
and lockfiles.
Use repeated --skip-dir <directory-name> arguments for project-specific
generated trees that are not in the built-in skip set. The defaults include
common build/cache directories plus .runtime and .codex-upstream; generated
private application clones should never flood the compatibility plan.
Rename layers
A complete rename may span several independent layers. Audit all of them, but do not collapse them into one repository-wide replacement:
- product text and package or bundle metadata;
- the filesystem project root;
- generated/private runtime clones built from that root;
- host registrations such as launchers, project catalogs, IDEs, and task UIs;
- historical task records whose original
cwdmay be immutable; - Git remotes and GitHub repository state.
The scanner owns the first layer. Filesystem moves, live processes, host state, and historical task compatibility require explicit migration and readback.
Workflow
1. Establish scope and baseline
Run from the project root, or pass --root:
python3 scripts/rename_project.py Ataru \
--old-name lovcode \
--skip-dir private-runtime \
--report /tmp/rename-project-plan.json
The default is a read-only plan. It detects the current name from
origin → package.json → directory name, records the current worktree state,
and reports each match as one of:
would_change: ordinary product-name reference;compatibility_review: path or line looks like a legacy alias, storage namespace, migration, schema, data directory, or environment contract;preserved: excluded by an explicit--preserveregular expression.
Review this list before applying. Do not infer that every occurrence of the old name should disappear: a CLI alias, on-disk namespace, migration key, or environment variable may be part of the public compatibility contract.
The scanner also marks path-like old-name references such as application-data
directories, Application Support paths, search-index locations, and
join("<old-name>") expressions as compatibility-sensitive. This keeps a
product rename separate from a storage migration.
Before any path move, also record:
- the canonical source path and exact absent destination path;
- processes whose executable, arguments, or
cwdare inside the source root; - launcher metadata, project-discovery mappings, and host project registrations;
- the current task ID, title, pin/archive state, transcript location, project ID,
and recorded
cwdwhen the host exposes them.
Do not quit a desktop app or terminate agents merely to make a rename easier. When active work depends on the old path, preserve a compatibility entry and prove the same processes remain alive after migration.
2. Apply the product rename
python3 scripts/rename_project.py Ataru \
--old-name lovcode \
--apply \
--report /tmp/rename-project-result.json
The scanner handles the exact, lower-case, upper-case, and title-case variants
of the old name. It writes UTF-8 text only and records before/after SHA-256
digests in the report. Existing edits in a target file stop the run unless
--allow-dirty is supplied after that file has been reviewed. Unrelated dirty
files remain untouched.
3. Resolve compatibility references explicitly
Keep legacy references by default. If a reviewed compatibility path should also be renamed, opt in explicitly:
python3 scripts/rename_project.py Ataru \
--old-name lovcode \
--include-compat \
--preserve '(^|/)(migrations|storage|legacy)/' \
--apply
For a narrower migration, include only reviewed compatibility paths instead of opening every legacy contract:
python3 scripts/rename_project.py Ataru \
--old-name lovcode \
--include-compat-path '^src-tauri/src/app/core\\.rs$' \
--include-compat-path '^src-tauri/src/app/session_(cache|listing)\\.rs$' \
--apply
Use this pattern when a data namespace should move from lovcode to ataru
while the old CLI alias, environment variables, storage fallback, or migration
keys rema
Установить lov-rename-project в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл lov-rename-project?
在保留兼容键与运行连续性的前提下重命名项目、路径和仓库。支持明确输入与结果回读。Use to rename a project and preserve compatibility.
Как установить скилл lov-rename-project?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл lov-rename-project запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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