Project-Wide Rename
БесплатноБез исполняемых скриптовНе проверенSafely renames a .NET project (solution, projects, namespaces, directories) from one name to another. Supports Planned (clean) and Recovery (dirty) modes.
Об этом скилле
SKILL-002: Project-Wide Rename
Overview
Renaming a complex .NET solution is error-prone. This skill automates the process of renaming files, directories, text content, and git configuration, with safety mechanisms to prevent data loss.
Trigger Phrases
rename project <old> <new>safe rename <old> to <new>fix pending rename
Inputs
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
--old-name |
string | Yes | - | Original project name (e.g., "Scrutor") |
--new-name |
string | Yes | - | New project name (e.g., "ELR") |
--mode |
string | No | auto |
planned, recovery, or auto |
--dry-run |
switch | No | False | Preview changes (mandatory if dirty) |
Modes
- Planned Mode: Requires a clean git status. Best for starting a rename operation from scratch.
- Recovery Mode: Allows dirty git status. Best for finishing a partial rename or cleaning up a manual attempt.
Outputs
- Console Output: Progress log of renamed files and updated content.
- Report:
RENAME_SUMMARY.mdwith list of changes. - Git Branch:
rename-<old>-to-<new>containing the changes.
Preconditions
- Git repository root.
- .NET SDK installed (for build verification).
- Permissions to modify all files.
Safety/QA Checks
- Exclusions: Ignores
bin,obj,.git,node_modules. - Build Check: optional verification build after rename.
- Rollback: Ability to
git reset --hardif something goes wrong.
Implementation
See rename_project.ps1.
Integration
# Example
.\skills\02_project_rename\rename_project.ps1 -OldName "Scrutor" -NewName "ELR" -DryRun
Установить Project-Wide Rename в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл Project-Wide Rename?
Safely renames a .NET project (solution, projects, namespaces, directories) from one name to another. Supports Planned (clean) and Recovery (dirty) modes.
Как установить скилл Project-Wide Rename?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Project-Wide Rename запускает скрипты?
Нет, скилл состоит только из инструкций (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