Analyze code coverage and CRAP (Change Risk Anti-Patterns) scores to identify high-risk code. Use OpenCover format with ReportGenerator for Risk Hotspots showing cyclomatic complexity and untested code paths. Use when evaluating code quality and test coverage before changes, identifying high-risk code that needs refactoring or testing, setting up coverage collection for a .NET project, or establishing coverage thresholds for CI/CD pipelines.
$npx -y skills add wshaddix/dotnet-skills --skill crap-analysisInstalls into the current project.
Run `npx skills use "https://github.com/wshaddix/dotnet-skills" --skill "wshaddix/dotnet-skills/crap-analysis"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/wshaddix/dotnet-skills" that are relevant to the current task. Run `npx skills add "https://github.com/wshaddix/dotnet-skills"` and select the relevant skills, then follow their instructions.