refactoring-csharp
OfficialOne-shot Roslyn refactors for C#
Software Engineering#refactoring#monorepo#c##roslyn#symbol rename#dry-run preview#solution-wide edits
AuthorCodeAlive-AI
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill solves the problem of safely and consistently renaming C# symbols across large .NET solutions without missing references or manually applying error-prone edits.
Core Features & Use Cases
- Roslyn-based symbol rename: Renames a target C# symbol (e.g., method, property, field, type, namespace) using file path + 1-based line number + the current identifier name to avoid ambiguity.
- Solution-wide update: Updates all impacted documents in the loaded solution so usages stay consistent after the rename.
- Multi-solution monorepo directory mode: When given a repository directory, merges discovered solutions/projects into a temporary aggregate and then performs the rename across shared code, optionally including a safe file move for named type declarations.
Quick Start
Ask your agent to run refactoring-csharp to rename the symbol at a specific file and line by calling: rename-symbol <sln|slnx|directory> <file> <line> <oldName> <newName> dryRun=false
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: refactoring-csharp Download link: https://github.com/CodeAlive-AI/ai-driven-development/archive/main.zip#refactoring-csharp Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.