Agent skill
vitest-react-ts-coverage-enforce
Configure and enforce 100% coverage in Vitest for a React-TS project (include uncovered files, set thresholds=100 globally and per-file, choose provider v8/istanbul, add HTML report and CI-friendly scripts).
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/vitest-react-ts-coverage-enforce
SKILL.md
Enforce 100% Coverage (Vitest)
You are ensuring coverage enforcement is strict and fails builds when anything drops below 100%.
Non-negotiables
- Include source files in coverage even if not imported by tests.
- Set thresholds to 100 for lines/functions/branches/statements.
- Enable per-file thresholds to prevent a single file being under-tested.
- Keep exclusions minimal and justified (types, stories, test utilities, entrypoints).
Use template.md as the default structure.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?