Testing Skill
When to Apply
- •User asks to add or fix tests.
- •Changes require validation coverage.
Workflow
- •Read test strategy from
specs/qa-spec.mdandspecs/specs.md. - •Detect test framework from repo (Pest, PHPUnit, Jest, Vitest, Playwright, etc.).
- •Add minimal high-value tests:
- •happy path
- •validation/edge path
- •auth/permission path when applicable
- •Run the smallest relevant test subset first, then broader suite if needed.
Quality Bar
- •Tests are deterministic.
- •Assertions verify behavior, not implementation detail.
- •New tests fail without the fix and pass with it.