What problem does it solve? Writing unit tests often devolves into chasing coverage percentages, mirroring implementation details, or generating shallow happy-path checks that fail to catch real regressions. This Skill provides a reasoning framework that helps you identify the behaviors that actually matter and protect them with meaningful, deterministic tests. ## Core Features & Use Cases - Behavior-driven test design: A structured reasoning framework covering contracts, inputs, outputs, state transitions, dependencies, side effects, failure modes, boundaries, and domain-specific risks. - Three workflow references: Dedicated flows for adding tests to existing code, test-first development of new features, and refactoring with characterization-test protection. - Quality review and mutation thinking: Checklists and challenge questions that verify tests would actually fail when realistic regressions are introduced. - Use Case: When retrofitting tests onto an existing ViewModel or repository, use the existing-code flow to reconstruct the behavioral contract, document a test cause, and implement only high-value scenarios without locking in accidental behavior. ## Quick Start Ask the agent to design and implement unit tests for a specific class or module using the unit-testing skill, for example a login use case or a reducer.