Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Use free built-in .NET maintainability analyzers and code metrics configuration to find overly complex methods and coupled code. USE FOR: the team wants to find overly complex methods; cyclomatic complexity thresholds are needed in CI; maintainability metrics or coupling thresholds need to be configured. DO NOT USE FOR: formatting-only work; generic analyzer setup with no complexity policy change. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, o
.claude/skills/managedcode-complexity/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-18 | ✗→✓ | ▲ Improved | -7% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 16% | 0% |
| case-12 | ✗→✓ | ▲ Improved | -2% | 0% |
| case-13 | ✗→✓ | ▲ Improved | -2% | 0% |
| case-17 | ✗→✓ | ▲ Improved | 11% | 0% |
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.CA1502 for excessive cyclomatic complexity in methodsCA1505 for low maintainability indexCA1506 for excessive class couplingCA1501 when inheritance depth is also part of the design problem.editorconfig.CodeMetricsConfig.txt added as AdditionalFiles.AGENTS.md.If complexity thresholds are not configured yet:
rg -n "CA1501|CA1502|CA1505|CA1506|CodeMetricsConfig" -g '.editorconfig' -g '*.csproj' -g 'Directory.Build.*' .rg --files -g 'CodeMetricsConfig.txt'CA1502, CA1505, CA1506, and CA1501 in root .editorconfig.CodeMetricsConfig.txt and include it as AdditionalFiles in project props.AGENTS.md.dotnet build SOLUTION_OR_PROJECT and return status: configured or status: improved.AGENTS.md limits with no analyzer gate by design, return status: not_applicable.Use 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.