What problem does it solve? Tests often verify implementation details instead of behavior, inflate coverage without catching bugs, and run wastefully broad or dangerously narrow scopes. This Skill enforces behavior-driven testing through public interfaces, detects coverage theater, and selects the correct affected test scope for each TDD phase. ## Core Features & Use Cases - Behavior-Over-Implementation Testing: Enforces testing through the subject's public interface at the layer the claim names, with concrete wrong/right TypeScript examples. - Test Factory Pattern: Provides typed factory functions with schema reuse, composition, and override patterns for maintainable fixtures. - Affected-Scope Test Execution: Prescribes runner-specific strategies (Vitest, Jest, pytest, Playwright, Go/Rust/JVM) for RED/GREEN/REFACTOR phases, including watch-mode proof requirements. - Use Case: When writing tests for a payment processing function, the Skill steers you to assert on the whole Result value through processPayment() rather than spying on internal validators, and to run the affected scope rather than the full suite during refactoring. ## Quick Start Ask the assistant to write behavior-driven tests for your function using this testing skill, following its factory and affected-scope execution guidance.