What problem does it solve?
In a large monorepo with multiple applications and shared packages, code changes are frequently merged without accompanying tests, leading to flaky builds, undetected regressions, and failed enterprise audit requirements for code reliability and quality.
Core Features & Use Cases
- Test Type Mapping: Clearly defines which test type (unit, integration, e2e, contract, etc.) is required for every kind of code change, from pure utility functions to HTTP routes and database schemas.
- Local & CI Enforcement: Provides exact commands to run tests locally and documents CI gates that automatically block pull requests that lack required tests or fail coverage thresholds.
- Standardized Conventions: Establishes non-negotiable rules for deterministic, isolated tests including factory usage, no shared state, and typecheck requirements to ensure consistent, reliable test results across the team.
- Use Case: When you refactor a React component used in the customer checkout flow, this skill guides you to add a co-located unit test, run the relevant test suite locally, and confirm the CI coverage gate passes before submitting your pull request.
Quick Start
Use the testing skill to add a required unit test for the new utility function you just added to the shared payments package and verify it passes locally before committing your change.