Registry / dotnet

dotnet/skills/crap-score

Calculates CRAP (Change Risk Anti-Patterns) for a named .NET method, class, or file. USE FOR: explicit CRAP calculation or coverage-and-complexity risk within that named target, including which tests to prioritize. DO NOT USE FOR: project-wide coverage/CRAP, plateaus, or project-wide blockers/priorities (coverage-analysis); behavioral/pseudo-mutation gaps (test-gap-analysis); writing tests; test runs without CRAP context.

Agent skill · version 1.0.1-main.1794412240.g96c3d68 · from dotnet/skills

Install

npx yarkr-cli add skill:dotnet/skills/crap-score

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:dotnet/skills/crap-score
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:dotnet/skills/crap-score

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:dotnet/skills/crap-score

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.