What problem does it solve?
Engineering teams often accumulate redundant, low-signal, or misplaced tests that inflate coverage metrics without proving real behavior. This Skill enforces a disciplined decision process so every test change is tied to a named invariant, a single owning layer, and an existing canonical suite.
Core Features & Use Cases
- Invariant-First Test Decisions: Requires naming the rule that must stay true before adding, moving, or reviewing any test, and stops work when no durable invariant exists.
- Owning Layer Selection: Chooses exactly one primary layer (unit, integration, end-to-end, static analysis, codegen, visual QA, documentation build, or manual QA) using the bundled test placement rules reference.
- Canonical Suite Reuse: Searches existing suites with ripgrep before creating files, rejects low-signal tests like snapshots and literal CSS assertions, and records the decision with a verification command.
- Use Case: When a reviewer asks for a regression test on a bug fix, use this Skill to reproduce the bug, name the invariant, find the suite that already owns that layer, and add the narrowest case there instead of creating a new file.
Quick Start
Use the eng-consolidate-test-suites skill to decide where the regression test for this bug fix should live before writing any test code.