What problem does it solve? Identifying which .NET methods are both complex and undertested is difficult when looking at coverage percentages or complexity metrics in isolation. This Skill computes CRAP (Change Risk Anti-Patterns) scores to pinpoint risky code that needs tests or refactoring first. ## Core Features & Use Cases - CRAP Score Calculation: Combines cyclomatic complexity with Cobertura line coverage using the standard CRAP formula to rank methods by risk. - 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 generate fresh Cobertura XML. - Actionable Recommendations: Reports risk tiers, top offenders, quick wins, and the exact coverage needed to bring a method below a CRAP threshold, or flags methods that must be refactored first. - Use Case: Ask for the CRAP score of OrderService.cs to get a sorted table showing which methods have high complexity and low coverage, plus specific suggestions for test cases or extract-method refactors. ## Quick Start Calculate the CRAP scores for all methods in OrderService.cs using coverage from my test project.