Skip to content
edge
403 installs on skills.sh

Csharp Refactoring

Performs safe, behavior-preserving refactoring of C#/.NET code, verified with build, tests, and analyzers.

dotnet/skills
Security state: reviewed

3 static scans, 0 counted findings.

Edge checks it again each time your agent loads it.

SKILL.md2 files · 13.8 KB

From the dotnet public repository. Edge did not write or edit this skill.

What it does

  • Performs safe, behavior-preserving refactoring of C#/.NET code, verified with build, tests, and analyzers.
  • USE FOR: rename or move a symbol/type/file; extract a method/type/interface; inline a wrapper/method/local; merge or consolidate near-identical classes or duplicate helpers; split or modernize C# code; generated/partial declarations; public, serialized, friend-assembly, or multi-targeted contracts; and mixed requests where a feature, bug fix, package/framework upgrade, public nullability change, or other behavior/contract change is presented as a refactor and must be separated or declined.
  • DO NOT USE FOR: ordinary feature or bug-fix requests not framed as refactoring; upgrades after reclassification (use dotnet-upgrade); new tests; or formatting-only passes (use dotnet format).
DO

Why dotnet

Open-source .NET platform organisation. Each fact links its public source.

  • Open source platform

    Wikipedia says .NET is free, open source under MIT, with .NET Core 1.0 released June 2016.

    Wikipedia: .NET
  • ASP.NET Core repo

    The aspnetcore repo has 38k+ GitHub stars.

    GitHub repo
  • MAUI repo

    The maui repo has 23k+ GitHub stars.

    GitHub repo

Public sources, checked Oct 26, 2026.

How it works

  1. 1
    Copy

    Try for free gives you one prompt.

  2. 2
    Paste

    Paste it into Claude Code, Codex or Cursor.

  3. 3
    Ask

    Ask for the outcome. Your agent loads Csharp Refactoring.

Questions about Csharp Refactoring

What does Csharp Refactoring do?

Performs safe, behavior-preserving refactoring of C#/.NET code, verified with build, tests, and analyzers. Published by dotnet (dotnet/skills).

Is Csharp Refactoring safe to use?

Edge security state: Reviewed (3 Edge-run static scans, scanned Sep 30, 2026). The Evidence tab shows the scan.

How do I use Csharp Refactoring in Claude Code, Codex or Cursor?

Click Try for free, pick your agent and follow its one step. Edge is free, with no Edge account.

Give your agent Csharp Refactoring.

Free. No Edge account.

Use Csharp Refactoring in your agent

Claude app

Add to Claude

Opens claude.ai in your browser. Add it once, and Edge is in the Claude desktop and phone apps too.
Then click Continue Add Connect and open a new chat.

Already added? Open a new chat in Claude.

ChatGPT

Add to ChatGPT

Opens the Edge plugin in ChatGPT. Click Install plugin, then start a new chat.

Claude Code or Codex

Free · No Edge accountOther agents