What problem does it solve? Identifying which .NET methods are risky because they are both complex and undertested is hard when looking at coverage percentages alone. 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 - Coverage Collection: Runs dotnet test with the correct coverage command for coverlet.collector or Microsoft.Testing.Extensions.CodeCoverage on .NET 9 and .NET 10+. - Complexity Analysis: Counts cyclomatic complexity per method from decision points such as if, case, loops, catch, &&, ||, ??, and pattern matching arms. - Risk Reporting: Produces a sorted table of methods by CRAP score with risk levels, top offenders, quick wins, and the exact coverage needed to bring a method below the CRAP 15 threshold. - Use Case: Ask for the CRAP score of OrderService and receive a ranked list showing that ProcessOrder has complexity 12 and 45% coverage (CRAP 28.4, High risk), plus a recommendation to raise coverage to at least 72%. ## Quick Start Calculate the CRAP scores for all methods in OrderService.cs and tell me which ones need tests or refactoring first.