概要
The Testable Code Architecture skill functions as an automated design reviewer that specializes in making TypeScript and React applications easier to test. It scans code for common testability hurdles—such as hard-coded service instances, direct database imports, and side effects buried within UI components—and provides actionable refactoring patterns. By encouraging dependency injection and the separation of pure logic from infrastructure, this skill helps developers create mock-friendly architectures that significantly reduce the complexity of unit and integration testing.