test-verify
Mission
Section titled “Mission”Write, run, and verify tests: define what to prove → choose strategy → implement → measure coverage → close gaps → prevent regression.
When to Use
Section titled “When to Use”Use when writing unit tests, integration tests, or eval test cases; measuring test coverage; closing coverage gaps; verifying correctness of AI outputs; preventing regressions; or setting up testing infrastructure.
Triggers: “write tests”, “add tests”, “test coverage”, “regression tests”, “eval test cases”, “test this”, “verify this works”
Skills Invoked
Section titled “Skills Invoked”qual-code-analysis— identifies under-tested code pathsqual-review— reviews existing test qualitybench-eval-suite— constructs reusable eval test suiteseval-variance— measures test result stability
Chain-To
Section titled “Chain-To”code-review— review test quality and coverageissue-debug— debug failing testsquality-evaluate— benchmark test suite effectiveness
Example
Section titled “Example”{ "request": "Write unit tests for the JWT authentication middleware, targeting 90% coverage"}Output: Test file with unit + edge-case tests, coverage report, gaps identified, and CI integration snippet.
Test Strategy Matrix
Section titled “Test Strategy Matrix”| Code Type | Recommended Strategy |
|---|---|
| Pure functions | Unit tests (Vitest/Jest) |
| HTTP handlers | Integration tests (supertest) |
| AI outputs | Eval suites (bench-eval-suite) |
| Multi-step workflows | E2E tests with fixtures |
| Prompt templates | eval-variance stability tests |