| name | review-test-harness |
| description | Review changes to tests, fixtures, or integration harnesses. Use when a PR adds, modifies, or removes tests, or when test expectations, stubs, or environment setup change. |
Review Test Harness and Fixture Changes
Use this skill when reviewing or authoring changes to any file under tests/, scripts/ that builds fixtures, or integration harness startup code.
Why this exists
~15% of fix commits are test harness drift: failing expectations, architecture path string mismatches, fixture module refactors, and integration harness startup flakiness. This skill prevents that tax.
Pre-merge checklist
1. No path-string or formatting assertions
2. Expectations are behavior-based
3. Integration harness contract is versioned
4. Fixtures are deterministic
5. Regression tests for fixed bugs
6. Test file ownership is clear
What to reject in review
- Tests asserting on
__dirname, import.meta.url, or architecture violation source paths as strings
- Hand-edited snapshots or fixtures without a generation script
- Integration harness changes that require co-fixing >3 unrelated test files
- Missing regression tests for parity or fallback bugs
Related skills