Use when the user asks for a health check of the codebase.
Ships in unfuss. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Find where reducing complexity would pay off, and report every finding, ranked by evidence from the codebase's history. The history decides where to look, so the check stays affordable: code that changes often is where complexity costs the most.
Suggest only: refactor nothing. The report is the only file you write.
src/billing". Every file in it is read, whatever its history.This step is done when you can name the scope.
Load the complexity and code-smells skills. Read GLOSSARY.md or GLOSSARY-MAP.md when either exists, and the Accepted ADRs, so the findings use the project's names and don't re-suggest what an ADR settled.
Give the history to a sub-agent: the last few hundred commits or the last few months of git log --name-only, whichever is shorter. Have it return the areas with the strongest signal and their evidence, not the log. When you are already a sub-agent, read it yourself.
For the hot spots, keep the handful of areas with the strongest signal. For a named area, the history only supplies the evidence for its findings. When the history is too short to show a signal, say so, and ask the user to name an area.
This step is done when each area to read is listed with its evidence.
Give each area to its own sub-agent, or a few small areas to one, and run them in parallel, so the reading stays out of this conversation. Give each one the co-change evidence that reaches outside its area, so it can follow a concept across the border. Each sub-agent loads the complexity and code-smells skills itself, reads every file in its area through the lenses below, and returns every finding in the shape from step 5 without Evidence, or the word "Clean". When you are already a sub-agent, read the areas yourself, one at a time.
complexity skill. Does the module concentrate complexity, or only move it?code-smells baseline.Then gather the findings yourself:
This step is done when every area has returned its findings or "Clean", and the findings are merged.
Rank the findings by strength first, then by their history evidence. Save the report to <work folder>/health-checks/YYYY-MM-DD.md, or YYYY-MM-DD-<area>.md for a named area, creating the folder when it is missing and confirming before overwriting a file. The project's AGENTS.md or CLAUDE.md names the work folder, and when it names none, use .ai/ at the repository root.
# Health check: <scope>, <date>
**Coverage:** The hot spots / <area>, with the areas read.
## Summary
The number of findings by strength, and the one you would tackle first, and why.
## Findings
### <n>. <title: name the problem, not the lens>
**Strength:** Strong / Worth exploring
**Where:** The modules involved, named as the glossary names them, and their files.
**Evidence:** The churn, co-change or fix commits behind it.
**Problem:** One sentence naming the symptom: change amplification, cognitive load or unknown unknowns.
**Move:** One sentence: deepen it, fold it into its caller, or move the seam.
## Speculative
One line each, for the findings too uncertain to rank: the area and the problem.
## Clean
The areas read that produced no findings.
This step is done when the report is saved. Then give the user its path, the number of findings by strength and the one you would tackle first, and offer the to-spec skill on it.
What SKILL.md sets; muted values are Claude Code's defaults
32 skills in this plugin
Other plugins' skills for the same job
/unfuss:health-checkfrom unfuss
npx claudepluginhub malasataxd/unfuss --plugin unfuss