pre-commit-tests
Installation
SKILL.md
Pre-Commit Test Suite
Run the full test suite before committing and verify tests actually test real behavior. Fails loudly if tests are fluff, missing coverage, or broken.
What This Does
- Runs all Jest tests
- Audits test quality – catches tests that always pass regardless of behavior
- Checks coverage on changed files
- Identifies missing tests for new code
Steps
Step 1 – Check What's Changing
git diff --staged --name-only