shipshitdev avatar

Husky Test Coverage

Automates the setup of Husky pre-commit hooks that enforce test coverage thresholds before every commit. It detects whether you're using Jest, Vitest, or Mocha, then configures the appropriate coverage settings and hooks to match. Default threshold is 80% but you can adjust it or set it to warn instead of block. The real value is in the context discovery: it scans your package.json, checks existing configs, and adapts to your package manager automatically. Worth using if you're tired of coverage dropping silently or want to enforce standards across a team without everyone remembering to run tests manually.

skills.sh installs
116
GitHub stars
24
last updated
Jun 3, 2026

Install

$ npx -y skills add shipshitdev/library --skill husky-test-coverage --agent claude-code

Installs into .claude/skills of the current project.

Files

Automates the setup of Husky pre-commit hooks that enforce test coverage thresholds before every commit. It detects whether you're using Jest, Vitest, or Mocha, then configures the appropriate coverage settings and hooks to match. Default threshold is 80% but you can adjust it or set it to warn instead of block. The real value is in the context discovery: it scans your package.json, checks existing configs, and adapts to your package manager automatically. Worth using if you're tired of coverage dropping silently or want to enforce standards across a team without everyone remembering to run tests manually.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/shipshitdev/library
Category
Testing & QA
First seen
Jun 3, 2026

More from shipshitdev/library

All 56
1softaworks avatarqa-test-plannersoftaworks/agent-toolkitGenerate comprehensive test plans, manual test cases, regression test suites, and bug reports for QA engineers. Includes Figma MCP integration for design valida4.4Kskills.sh installs
2manutej avatarjest-react-testingmanutej/luxor-claude-marketplaceComprehensive React component testing with Jest and React Testing Library covering configuration, mocking strategies, async testing patterns, hooks testing, and1.2Kskills.sh installs
3aaronontheweb avatarplaywright-blazor-testingaaronontheweb/dotnet-skillsWrite UI tests for Blazor applications (Server or WebAssembly) using Playwright. Covers navigation, interaction, authentication, selectors, and common Blazor-sp560skills.sh installs
4aaronontheweb avatarsnapshot-testingaaronontheweb/dotnet-skillsUse Verify for snapshot testing in .NET. Approve API surfaces, HTTP responses, rendered emails, and serialized outputs. Detect unintended changes through human-484skills.sh installs
5sickn33 avatarapi-testing-observability-api-mocksickn33/antigravity-awesome-skillsapi testing observability api mock451skills.sh installs
6levnikolaevich avatarln-634-test-coverage-auditorlevnikolaevich/claude-code-skillsIdentifies missing tests for unique critical local logic: money, auth, permissions, data integrity, algorithms, and domain rules. Use when auditing critical log401skills.sh installs