High-signal tests prove behavior, not implementation. While TDD focuses on the process of writing tests first, this skill focuses on the artifact—making tests stable, explicit, and valuable long-term.
Core rule: If a test is nondeterministic or tied to internals, it is debt. Fix it.
0) Prove it fails: capture the regression input or wished-for case and watch the test fail first (or reproduce the bug) before code changes. 1) Clarify behavior: preconditions, action, postconditions, invariants. Capture regression input if fixing a bug.
Guide for writing robust, high-signal automated tests. Use when asking "How do I test this effectively?", fixing flaky tests, refactoring test suites, or deciding between unit/integration/E2E strategies. distinct from TDD (process); this skill focuses on test quality and architecture. Source: ederheisler/agent-skills.