test-coverage-improvement

test-coverage-improvement is a skill for Claude Code from NVIDIA-NeMo/nemo-helix. It costs 126 tokens per session (1,772 once invoked), scanned A, original, Apache-2.0.

An autonomous workflow for improving Vitest test coverage in one TypeScript package under web/packages. Test coverage measures which parts of the code are exercised by tests.

In plain words
What is it for?
Use it to identify under-tested files, infer their expected behavior from source code, add tests, and verify the results in a selected package.
Why use it?
It turns a broad coverage goal into a baseline, a shortlist of files, and a checked sequence of test changes. It verifies each change with tests and type checking before moving on.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

Good fit Use it to identify under-tested files, infer their expected behavior from source code, add tests, and verify the results in a selected package.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nvidia-nemo/nemo-helix/test-coverage-improvement
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add NVIDIA-NeMo/nemo-helix --skill test-coverage-improvement
Clone the repo
git clone --depth 1 https://github.com/NVIDIA-NeMo/nemo-helix

Made for: Claude Code.

Wrote 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.

agentmods badge for test-coverage-improvement

README.md
[![agentmods](https://agentmods.dev/badge/skills/nvidia-nemo/nemo-helix/test-coverage-improvement/github.svg)](https://agentmods.dev/skills/nvidia-nemo/nemo-helix/test-coverage-improvement)
Your own site
<a href="https://agentmods.dev/skills/nvidia-nemo/nemo-helix/test-coverage-improvement"><img src="https://agentmods.dev/badge/skills/nvidia-nemo/nemo-helix/test-coverage-improvement/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.

agentmods 80×15 button for test-coverage-improvement

Your own site · 80×15
<a href="https://agentmods.dev/skills/nvidia-nemo/nemo-helix/test-coverage-improvement"><img src="https://agentmods.dev/badge/skills/nvidia-nemo/nemo-helix/test-coverage-improvement.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 126 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,772 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00126 $0.01772
Opus 5.5 $0.00050 $0.00709
Sonnet 5.5 $0.00025 $0.00354
Haiku 4.5 $0.00013 $0.00177

Measured yesterday against content hash 07fe0886ca0e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

test-coverage-improvement 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 yesterday.

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.

web/.agents/skills/test-coverage-improvement/SKILL.md · 124 lines

How it starts

The opening of the file, as written. The whole thing — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Package test coverage improvement (autonomous)

Scope: A single package under web/packages/* that uses Vitest (TypeScript). Run commands from web/ (pnpm workspace) or cd web/packages/<pkg>.

Conventions: Obey web/AGENTS.md. For React UI in studio / common, follow web/.agents/skills/unit-test/SKILL.md. For plain TS, use Vitest only; no watch until runs are green.

Human role: The skill does not block on questions per file. The user reviews changes separately (PR, git diff, local run). If the user stated constraints up front (areas to focus, avoid), honor those; otherwise proceed using judgment below.

0. Choose the target package

  1. If the user named a package, use it (e.g. studio, common, sdk).
  2. Otherwise infer from open files or cwd under web/packages/.
  3. Read package.json: name, test, test:ci, typecheck, lint / lint:fix (if present).
  4. Read Vitest config (vite.config.ts / vitest.config.ts) → test.coverage: reportsDirectory, include / exclude.

If there is no coverage tooling, add --coverage + reporters on the CLI for baseline, or build the shortlist without JSON (search + file importance only).

1. Baseline — current coverage

  1. cd web/packages/<target>.
  2. Run (no watch):
    pnpm test:coverage
    
  3. Summarize briefly for the transcript: overall line (or statement) % from text or total in coverage-final.json (under reportsDirectory).

2. Shortlist ~10 files

Combine coverage-final.json with judgment—do not use only the bottom ten by %:

  • Sort by low lines.pct / statements.pct among included source files.
  • Prefer: logic-heavy modules, hooks, API glue, non-trivial components, error paths.
  • Skip or defer: thin re-exports, empty barrels, generated-only files, trivial constants (unless user asked otherwise).
  • Exclude: *.test.*, e2e-tests/**, node_modules/**, outside coverage.include.

Read the full file on GitHub · 124 lines

Changes

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.

  1. yesterday First seen · 124 lines · 126 tokens per session scan A 07fe0886ca0e

Subscribe to this mod's changes

test-coverage-improvement is a skill published in the GitHub repository NVIDIA-NeMo/nemo-helix (160 stars, last pushed today), licensed Apache-2.0. It adds 126 tokens to every session and 1,772 once invoked, about $0.0005 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-12-05.

Related

test-coverage-improvement compared with skills from other repositories

test-coverage-improvement next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
test-coverage-improvementNVIDIA-NeMo/nemo-helixSkill160todayApache-2.0A126Claude Code
trulens-blocking-guardrailstruera/trulensSkill3.7kyesterdayMITA19Claude Code, Codex
rust-testingaffaan-m/ECCSkill317k4d agoMITA31Claude Code, Kiro
cpp-testingaffaan-m/ECCSkill317k4d agoMITA34Claude Code, Kiro
golang-testingaffaan-m/ECCSkill317k4d agoMITA37Claude Code, Kiro
swift-protocol-di-testingaffaan-m/ECCSkill317k4d agoMITA32Claude Code, Kiro
promptfoo-redteam-setuppromptfoo/promptfooSkill28ktodayMITA65Claude Code, Codex