SkillTrust

← All skills

csharp-refactoring

95 / 100 · Low risk

Fine to try. Some of what it can do is expected: a coding skill usually runs build and test commands.

By dotnet/skills (GitHub) · coding · 5,870 stars · scanned at commit 96c3d68

Safely refactors C#/.NET code without changing behavior. USE FOR any request to refactor, rename, move, extract, inline, merge, consolidate, deduplicate, split, or modernize C# code, even a small extract, inline, or rename, or merging near-identical types; green builds miss drift in #if branches, generated partials, and reflection/config names. When a changed member is visible outside the assembly (PublicAPI.*.txt, InternalsVisibleTo, shipped package), also invoke dotnet-breaking-changes; local…

Works with any agent that supports SKILL.md skills.

What this skill can do

Runs commands on your computer

The author does not mention this. Expected for a coding skill.

Found in 1 place.

Install

Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.

if [ -e ~/.agents/skills/'csharp-refactoring' ] || [ -L ~/.agents/skills/'csharp-refactoring' ]; then echo 'A skill folder named csharp-refactoring already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/dotnet/skills' "$d" && git -C "$d" checkout --quiet '96c3d68dad2855e3ab5178aa1a262789d86a1466' -- 'plugins/dotnet/skills/csharp-refactoring' && mkdir -p ~/.agents/skills && cp -R "$d"/'plugins/dotnet/skills/csharp-refactoring' ~/.agents/skills/'csharp-refactoring' && rm -rf "$d"; fi

Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'csharp-refactoring' ~/.claude/skills/'csharp-refactoring' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.

Badge for your README

The badge for dotnet/skills shows the score of its lowest-scoring skill.

SkillTrust badge for dotnet/skills

[![SkillTrust](https://zalavijaysinh.github.io/skilltrust/badges/dotnet/skills.svg)](https://zalavijaysinh.github.io/skilltrust/repos/dotnet/skills/)

Score history

DateVersionScore
2026-11-0896c3d6895
2026-11-0796c3d6895