This skill optimizes Claude's ability to perform Test-Driven Development (TDD) by emphasizing a 'stub-first' approach that defines interfaces before logic. It provides a structured methodology for testing at component boundaries, distinguishing between the functional core (pure business logic) and the effectful edge (I/O, databases, and APIs). By using these patterns, developers can ensure high-quality software architecture, reduce brittle tests, and maintain a clear separation of concerns across entities, services, and integration layers.
주요 기능
013 GitHub stars
02Layer boundary testing patterns for functional core and effectful edge
03Anti-pattern detection to prevent testing implementation details or framework code
04Domain-specific templates for Entity, Service, and Router tests
05Strategic test coverage guidelines focused on critical business logic
06Stub-driven TDD workflow (Stub → Test → Implement → Refactor)
사용 사례
01Creating reliable integration tests for API endpoints and database repositories using stubbed services
02Implementing new features using a test-first approach to define clean interface signatures
03Writing high-speed unit tests for pure business logic and entity validation rules