Agent skill · software engineering · yonatangross

cover

Writes tests that do not exist yet across unit, integration and end-to-end tiers, healing failures up to 3 times. Use when code lacks tests. Not for grading existing tests (use verify) or running a suite.

Why this skill is useful

Adds executable scripts for generating comprehensive test suites, including real-service integration and automated failure healing that the AI cannot generate on its own.

What it needs

Requires jest, vitest installed locally. About 10k tokens when loaded. Last updated 2026-08-06. 215 stars on the source repository.

What this skill does

Cover: Test Suite Generator Host-neutral workflow. Invoke by skill name (cover). Claude Code slash routing, YAML hook loaders, and .claude/chain live in references/claude-code.md. Generate comprehensive test suites for existing code with real-service integration testing and automated failure healing. Note: If disableSkillShellExecution is enabled (CC 2.1.91), the precondition check for vitest/jest won't run. Verify a test runner is installed before proceeding: npx vitest --version or npx jest --version. Quick Start Argument Resolution A pronoun target (this, them, the above) is read back from the conversation, announced in one line, and used: Read("../../shared/rules/target-resolution.md"), inline half. --- Step -0.5: Effort-Aware Coverage Scaling (CC 2.1.76, env var since 2.1.120) Read $CLAUDEEFFORT (CC 2.1.120+) first; explicit --effort= token wins as override. Default high when CC < 2.1.120 and no flag. Pattern matches assess + explore (#1540). Scale test generation depth: Effort Level Tiers Generated Agents maxIterations to pass Phase 5 ------------- ---------------- -------- ----------------- low Unit only 1 agent 2 (1 repair + 1 verify) medium Unit + Integration 2 agents 2 (1 repair + 1 verify) high (default) Unit + Integration + E2E 3 agents 3 (2 repairs + 1 verify) xhigh (CC 2.1.111+) Unit + Integration + E2E 3 agents 3 (the ceiling; xhigh adds agents, not heal passes) Values are what you pass as maxIterations in Phase 5. The script clamps to [2, 3] (heal-loop.js), so anything outside that range is coerced, and the final iteration always verifies rather than repairing. There is no 4-iteration mode. Override: Explicit --tier= flag or user selection overrides /effort downscaling. Step -1: MCP Probe + Resume Check --- Step 0: Scope & Tier Selection Override TIERS based on selection. Skip this step if --tier= flag was provided. --- Finish line. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills yonatangross/cover--2e2a15

View the source on GitHub

Browse the @skills marketplace