
Test Coverage Improver
Points you at uncovered code and gives you test templates to fill the gaps. Runs coverage reports through Jest, Vitest, or NYC, then provides ready-to-use patterns for unit tests, async functions, mocks, and React components. The branch coverage checklist is actually helpful since that's usually what tanks your numbers. Includes sensible threshold configs (80% lines, 75% branches) and prioritizes what to test first: critical paths like auth and payments, then complex logic, then edge cases. More useful as a reference when you're staring at a coverage report wondering what to write next than as an automated solution.
- skills.sh installs
- 306
- GitHub stars
- 422
- last updated
- Aug 21, 2026
Install
$ npx -y skills add onewave-ai/claude-skills --skill test-coverage-improver --agent claude-codeInstalls into .claude/skills of the current project.
Files
Test Coverage Improver
Instructions
When improving test coverage:
- Run coverage report to identify gaps
- Prioritize critical/complex code paths
- Write tests for uncovered code
- Verify coverage improved
Generate Coverage Report
# Jest
npx jest --coverage
# Vitest
npx vitest --coverage
# NYC (Istanbul) for any test runner
npx nyc npm test
# View HTML report
open coverage/lcov-report/index.html
Coverage Targets
| Type | Minimum | Good | Excellent |
|---|---|---|---|
| Lines | 70% | 80% | 90%+ |
| Branches | 60% | 75% | 85%+ |
| Functions | 70% | 80% | 90%+ |
| Statements | 70% | 80% | 90%+ |
Test Templates
Unit Test (Jest/Vitest)
import { describe, it, expect, vi, beforeEach } from 'vitest';
import { calculateTotal, formatCurrency } from './utils';
describe('calculateTotal', () => {
it('should sum all item prices', () => {
const items = [
{ price: 10, quantity: 2 },
{ price: 5, quantity: 1 },
];
expect(calculateTotal(items)).toBe(25);
});
it('should return 0 for empty array', () => {
expect(calculateTotal([])).toBe(0);
});
Sponsors
Promote your product hereReach 125k+ visitors monthlyPromote your product hereReach 125k+ visitors monthly
Agent CaffeineSponsoredClose your lid, come back to finished work
SnugSponsoredThe clipboard manager for the AI eraPromote your product hereReach 125k+ visitors monthly
WaxSponsoredBlock anything with supervision, without erasing your iPhonePromote your product hereReach 125k+ visitors monthly
knobsSponsoredSee your site on any phone, any day, in any language
Details
- Repository
- github.com/onewave-ai/claude-skills
- Categories
- Testing & QA, Documentation
- First seen
- Jun 3, 2026
More from onewave-ai/claude-skills
All 108- Env Setup Wizard303
- Regex Visual Debugger302
- Landing Page Copywriter6.6K
- Code Review Pro2.6K
- Screenshot To Code1.5K
- Csv Excel Merger1.2K
- Technical Writer1.1K
- Sports Betting Analyzer850
- Css Animation Creator830
- Social Media Content Repurposer775
- Job Application Optimizer721
- Workout Program Designer707
- Knowledge Base Builder684
- Color Palette Extractor649
- Stock Photo Finder613
- Font Pairing Suggester601
- Itinerary Optimizer598
- Presentation Design Enhancer596
- Quiz Maker539
- Cold Email Sequence Generator519
- Linkedin Sales Navigator Alt510
- Seo Content Optimizer488
- Portfolio Analyzer485
- Competitor Price Tracker475