CRAP Score skill: what it does and how to install it
Calculates CRAP scores for named .NET methods, classes or files by combining cyclomatic complexity with verified Cobertura coverage to prioritise testing.
Summary generated from the skill's documentation.
Install
$ npx skills add dotnet/skills --skill crap-scoreRun it in a terminal. If your agent is already running, start a new session so it picks the skill up.
About this skill
What it does. Collects or validates Cobertura coverage, measures per-method cyclomatic complexity, and calculates CRAP scores with risk categories. It reports sorted results, high-risk methods, quick wins and targeted testing or refactoring recommendations without estimating missing coverage.
When to use it. Use it to assess coverage-and-complexity risk for a named .NET method, class or file. It does not handle project-wide analysis, test writing, ordinary test runs or behavioural test-gap analysis.
History
Repo stars
5.6kAbout +410 since 9 Jul 2026
Before 1 Oct 2026 the curve is estimated from public event data.
Stars are counted for the whole repository, which holds 43 skills.
Show as a table
| Date | Repo stars |
|---|---|
| 5 Oct 2026 | 5,557 |
| 4 Oct 2026 | 5,551 |
| 3 Oct 2026 | 5,543 |
| 2 Oct 2026 | 5,540 |
| 1 Oct 2026 | 5,531 |
| 24 Sept 2026 (estimated) | 5,519 |
| 17 Sept 2026 (estimated) | 5,494 |
| 10 Sept 2026 (estimated) | 5,419 |
| 3 Sept 2026 (estimated) | 5,258 |
| 27 Aug 2026 (estimated) | 5,233 |
| 20 Aug 2026 (estimated) | 5,221 |
| 13 Aug 2026 (estimated) | 5,221 |
| 6 Aug 2026 (estimated) | 5,171 |
| 30 Jul 2026 (estimated) | 5,159 |
| 23 Jul 2026 (estimated) | 5,159 |
| 16 Jul 2026 (estimated) | 5,147 |
| 9 Jul 2026 (estimated) | 5,147 |
Installs
2.6k
Tracking since . A chart appears once there are 7 days of data.
Installs via skills.sh
Similar skills
- Incremental ImplementationDelivers a change in thin slices that can each be verified, for work that touches several files or rolls out behind a feature flag.
- Writing SkillsGuides creating, editing and testing skills before they are deployed.
- Migrate to ShoehornMigrates test files from as-type assertions to @total-typescript/shoehorn.