What problem does it solve? Simple coverage percentages hide which code is genuinely risky. This Skill identifies .NET methods that are both complex and undertested by computing CRAP (Change Risk Anti-Patterns) scores, so you know exactly which methods to test or refactor first. ## Core Features & Use Cases - Targeted CRAP Calculation: Computes CRAP scores for a named 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 Recommendations: Reports risk tiers, top offenders, quick wins, and the exact coverage needed to bring a method below CRAP 15, or flags methods that must be refactored first. - Use Case: Ask for the CRAP score of OrderService.ProcessOrder and receive a sorted table of complexity, coverage, and risk, plus specific test cases to add for uncovered branches. ## Quick Start Calculate the CRAP score for the ProcessOrder method in OrderService.cs and tell me which methods need tests or refactoring first.