Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Write modern, version-aware C# for .NET repositories while staying compatible with the repo's target framework and language-version policy. USE FOR: modern idiomatic C# code; language-version compatibility decisions; upgrading or reviewing C# feature usage across versions. DO NOT USE FOR: non-C# .NET languages such as F# or VB; analyzer-only or formatter-only setup with no language feature choice. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, o
.claude/skills/managedcode-modern-csharp/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | 32% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -42% | 0% |
| case-13 | ✗→✓ | ▲ Improved | 58% | 0% |
| case-14 | ✗→✓ | ▲ Improved | 25% | 0% |
| case-07 | ✓→✓ | = Same ✓ | 191% | 0% |
TFM or TFMsLangVersion, if any.editorconfig and AGENTS.mdAGENTS.md and confirm scope and constraints.Workflow through the Ralph Loop until outcomes are acceptable.Required Result Format with concrete artifacts and verification evidence.LangVersion..NET 9.NET 10dotnetanalyzer-configarchitecturedotnet..NET runtime v10.0.11 is servicing. It should not by itself justify language-feature rewrites..NET SDK v10.0.400 is the current 10.0.4xx feature band and expands file-based app behavior, but language features still depend on the compiler selected by the repository. Do not use C# 13 or C# 14 syntax in a repo pinned to an older toolset unless it explicitly configures a compatible compiler and LangVersion.If the requested C# feature depends on SDK or language support the repo does not have yet:
dotnet --list-sdksrg -n "TargetFramework|LangVersion|TargetFrameworks" -g '*.csproj' -g 'Directory.Build.*' .LangVersion, record it in project or shared MSBuild config.dotnet build SOLUTION_OR_PROJECT after the feature or toolchain change and return status: configured or status: improved.status: not_applicable.TFM and LangVersionUse the Ralph Loop for every task, including docs, architecture, testing, and tooling work.
status: not_applicable with explicit reason and fallback path.status: complete | clean | improved | configured | not_applicable | blockedplan: concise plan and current iteration stepactions_taken: concrete changes madevalidation_skills: final skills run, or skipped with reasonsverification: commands, checks, or review evidence summaryremaining: top unresolved items or noneFor setup-only requests with no execution, return status: configured and exact next commands.
Other measured skills in the registry, with their headline benchmark lift.