refactoring-csharplisted
Install: claude install-skill CodeAlive-AI/ai-driven-development
# Refactoring C# Symbols
This skill ships a Roslyn-based C# rename CLI in `src/`. It is intentionally one-shot and
stateless: one call resolves the target, validates the request, and returns either a preview
or an applied rename. There is no public prepare step.
## Contents
- [Canonical CLI](#canonical-cli)
- [Contract](#contract)
- [How To Use It](#how-to-use-it)
- [Monorepo Directory Mode](#monorepo-directory-mode)
- [Important Behavioral Rules](#important-behavioral-rules)
- [Supported Targets](#supported-targets)
- [File Rename Nuance](#file-rename-nuance)
- [Error Handling](#error-handling)
- [Success Criteria](#success-criteria)
- [Recommended Output Style](#recommended-output-style)
## Canonical CLI
If the skill was installed by `install.sh`, prefer the prebuilt CLI:
```bash
bin/csharp-refactor rename-symbol <sln|slnx|directory> <file> <line> <oldName> <newName> [dryRun=false|true]
```
Otherwise run the bundled source CLI from the skill directory:
```bash
dotnet run --project src/CSharpRefactoring.Cli -- rename-symbol <sln|slnx|directory> <file> <line> <oldName> <newName> [dryRun=false|true]
```
When invoked from outside the skill directory, use an absolute project path:
```bash
/<skill-dir>/bin/csharp-refactor rename-symbol <sln|slnx|directory> <file> <line> <oldName> <newName> [dryRun=false|true]
# or, if no prebuilt binary is installed:
dotnet run --project /path/to/refactoring-csharp/src/CSharpRefactoring.Cli -- rename-symbol <sln|slnx|directory> <file> <