← Back to list

project-wide-rename
by Sounder25
Operational capabilities for high-leverage AI coding agents. Features deterministic execution, 100% tested safety gates, impasse detection, and adversarial review. Includes 'Gold Standard' meta-skills like Pre-Action Guard and Failure Postmortem to prevent loops and data loss.
⭐ 8🍴 3📅 Jan 23, 2026
SKILL.md
name: Project-Wide Rename description: Safely renames a .NET project (solution, projects, namespaces, directories) from one name to another. Supports Planned (clean) and Recovery (dirty) modes. version: 1.0.0 author: Antigravity Skills Library created: 2026-01-15 leverage_score: 5/5
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
Score
Total Score
70/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
✓説明文
100文字以上の説明がある
+10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon