principleslisted
Install: claude install-skill melodic-software/claude-code-plugins
# Code metrics knowledge base
The five `audit-*` skills in this plugin print numbers with their provenance and stop. This skill
says what each number means, where its reference value came from, and where reading it as a verdict
goes wrong. Reference files in `reference/` are source-attributed; the sections below answer the
common questions without a load.
## Routing table
| Query about... | Load |
|---|---|
| What a measure is, its formula, per-lane collector behavior, artifact formats | [measures.md](reference/measures.md) |
| Where a reference value came from, the operator's original list, how to set your own | [thresholds.md](reference/thresholds.md) |
| The CRAP formula, its two authorial names, the coverage join, what it does not predict | [crap.md](reference/crap.md) |
| Who published what, what a paper claims and does not claim, confidence per source | [literature.md](reference/literature.md) |
Load the one file the question lands in. Load a second only when the first leaves the question open.
## Quick decision guide (no file load needed)
- **"Which measure should I look at?"**. The one attached to the change in front of you. Complexity
and size are per function or per file and move with an edit; duplication and coverage are
properties of the tree around it. No measure here ranks changes by risk.
- **"Is 22 the cyclomatic threshold?"**. No source found in this plugin's research attributes 22 to
anyone. The bundled reference is 20, from ISO/IEC 5055:2021 §8.