What problem does it solve? Tests that were never observed failing often assert nothing, and brittle, flaky, or coverage-driven test suites erode trust instead of building it. This Skill enforces a disciplined approach to writing tests that actually detect regressions. ## Core Features & Use Cases - Red Gate Enforcement: Requires every test to be watched failing before it is trusted, whether for new features, existing code, or bug regression tests. - Behavior-Focused Guidance: Directs testing at observable boundaries (inputs, outputs, errors) rather than implementation details, with rules for naming, arrange-act-assert structure, factories over shared fixtures, and boundary mocking. - Brittleness and Flake Remediation: Provides tables of brittle patterns and fixes, and treats intermittent failures as race-condition bug reports rather than nuisances to retry. - Use Case: When fixing a production bug, use this Skill to write a regression test, watch it fail against the buggy code, then verify it passes after the fix. ## Quick Start Ask the AI to write a regression test for a bug and watch it fail before applying the fix.