Project-Wide Rename

Renames a selected project in-place across a Git worktree for you.

27|8|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/Sounder25/Google-Antigravity-Skills-Library --skill project-wide-rename
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Project-Wide Rename
Source: https://github.com/Sounder25/Google-Antigravity-Skills-Library/tree/main/02_project_rename
Command: npx skills add https://github.com/Sounder25/Google-Antigravity-Skills-Library --skill project-wide-rename

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the safe renaming of a complex .NET solution, including projects, namespaces, and directories, while offering Planned (clean) and Recovery (dirty) modes to protect against data loss.

Core Features & Use Cases

  • Comprehensive renaming: updates solution files, project files, namespaces, folders, and references across the repository.
  • Safety-first workflow: supports a Planned mode for clean work and a Recovery mode for finishing partial attempts, with a generated safety branch and rollback options.
  • Audit & reporting: produces a RENAME_SUMMARY.md report and a change log to document all modifications.

Quick Start

Use the script to simulate a rename: .\skills\02_project_rename\rename_project.ps1 -OldName "Scrutor" -NewName "ELR" -DryRun

Frequently Asked Questions about Project-Wide Rename

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely rename a .NET project across a git repository?

To safely rename a .NET project across a git repository, use a PowerShell script that updates solution files, namespaces, folders, and references. It creates a safety branch and generates a summary report to prevent data loss during refactoring.

What is the best way to refactor .NET namespaces and directories in a large codebase?

Refactoring .NET namespaces and directories in a large codebase is best handled by an automated rename script that scans directories and updates file contents deterministically. This ensures all project references are synchronized without manual errors.

Can I use PowerShell to rename a .NET solution when my git history is dirty?

Yes, you can use PowerShell to rename a .NET solution with a dirty git history. The automation supports a Recovery mode specifically designed to finish partial rename attempts and protect against data loss in unclean workspaces.

Do I need the .NET SDK and Git installed to automate a project rename?

Yes, you need the .NET SDK, Git, and PowerShell installed to automate a project rename. These dependencies are required to scan the codebase, create safety branches, and update solution and project files deterministically.

How do I simulate a .NET project rename before applying changes to the codebase?

To simulate a .NET project rename before applying changes, run the PowerShell script with the DryRun parameter. This tests the rename operation safely without modifying actual solution files, namespaces, or directory structures.