What problem does it solve? Identifying which .NET methods are both complex and undertested is hard when coverage percentages alone hide risk. This Skill computes CRAP (Change Risk Anti-Patterns) scores for a named method, class, or source file so you can prioritize refactoring and testing efforts objectively. ## Core Features & Use Cases - Targeted CRAP Calculation: Computes CRAP scores for a specific method, class, or single source file using the formula comp^2 x (1 - cov)^3 + comp. - Coverage Collection Guidance: Detects the coverage package in the test project (coverlet.collector or Microsoft.Testing.Extensions.CodeCoverage) and runs the correct dotnet test command to produce Cobertura XML. - Actionable Risk Report: Presents a sorted risk table, top offenders, quick wins, and the exact coverage needed to bring each method below a CRAP threshold. - Use Case: Ask for the CRAP score of OrderService.ProcessOrder and receive its complexity, coverage, risk level, and a recommendation such as increasing coverage from 45% to 72% or extracting sub-methods. ## Quick Start Calculate the CRAP score for the ProcessOrder method in OrderService.cs and tell me whether to add tests or refactor it.