Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add livlign/claude-skills/plugin install dotnet-coverage-kitWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/livlign/claude-skills/generate-tests)<a href="https://agentmods.dev/skills/livlign/claude-skills/generate-tests"><img src="https://agentmods.dev/badge/skills/livlign/claude-skills/generate-tests/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/livlign/claude-skills/generate-tests"><img src="https://agentmods.dev/badge/skills/livlign/claude-skills/generate-tests.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00179 | $0.07995 |
| Opus 5.5 | $0.00072 | $0.03198 |
| Sonnet 5.5 | $0.00036 | $0.01599 |
| Haiku 4.5 | $0.00018 | $0.00800 |
Grade A, and why
generate-tests scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 469 lines — stays where its author put it; the contents beside it link to each section on GitHub.
generate-tests
Generates tests under the base rules and this repo's overlay + manifest. Read all three before generating:
${CLAUDE_PLUGIN_ROOT}/rules/unit-testing.base.md.claude/coverage/refs/unit-testing.md(repo overlay).claude/coverage/refs/coverage-manifest.yml(categories, exclusions, gate)
Preflight: is this repo on the current kit?
Run this before building the worklist, every time, whether or not anyone mentioned an upgrade:
python .claude/coverage/tools/coverage-gate.py \
--manifest .claude/coverage/refs/coverage-manifest.yml --print-kit-drift
Any state other than current means the repo has not been reconciled against today's rules, and a
backfill is the worst moment to discover that: a pass run on superseded mechanics wastes every token
it spends. Consult ${CLAUDE_PLUGIN_ROOT}/MIGRATIONS.md ("Preflight") and split what you find:
autoentries governing how THIS pass runs (refresh the.claude/coverage/tools/copies, the fan-out contract, frozen-bug recording): apply them now, silently, and note them in the closing summary.sign-offentries (anything that moves scope, the denominator, or the floor): report them in one line and leave them alone. Re-scoping mid-backfill moves the worklist under your own feet.coverage-redois what applies them; say so and carry on with the pass as scoped today.
If the state is current, say nothing and continue.
Build the full worklist first — then cover ALL of it (do not stop early)
The scope of a backfill pass is the entire testable set the manifest defines, not a handful of "priority" files. Before writing any test, enumerate that set explicitly from the manifest and write it down as a checklist. The testable set is:
- Every file matched by a
category_maptarget category and not matched by anexclusionspattern (the genuine unit-scope files), AND - Every carve-out method on an exclusion entry: the structured
carve_outs:list (each{ method, lines, testable }), or the legacyCARVE-OUT: MethodA, MethodBprose inreasonon older manifests. These are the thin pure/decision slices of god-classes (the UserService pattern): testable units even though their file is integration-scope, and a DbContext-injected service is tested by backing the context with the EF in-memory / SQLite provider. Init recorded them precisely so this step covers them; the file'sexcluded_restsays what stays out of scope.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 469 lines · 179 tokens per session scan A 9f5e0c191506
generate-tests is a skill published in the GitHub repository livlign/claude-skills (20 stars, last pushed 4d ago), licensed MIT. It adds 179 tokens to every session and 7,995 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
generate-tests compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| generate-testslivlign/claude-skills | Skill | 20 | 4d ago | MIT | A | 179 | Claude Code |
| csharp-testing-standardslinuxchata/ai-playbook | Skill | 7 | 6mo ago | MIT | A | 53 | Claude Code |
| r-testthatposit-dev/skills | Skill | 580 | 21d ago | MIT | A | 77 | Claude Code |
| craft-pestmichtio/craftcms-claude-skills | Skill | 93 | today | Apache-2.0 | A | 159 | Claude Code |
| dotnet-testNikiforovAll/claude-code-rules | Skill | 144 | 1mo ago | Apache-2.0 | A | 35 | Claude Code |
| tia-csharp-commonCzarnak/totally-integrated-claude | Skill | 102 | 1mo ago | MIT | A | 17 | Claude Code |
| addin-operationsCzarnak/totally-integrated-claude | Skill | 102 | 1mo ago | MIT | A | 50 | Claude Code |