Atelier Spec Testing

•
6
•

Implements stub-driven TDD and layer boundary testing for robust functional core and effectful edge architectures.

This skill provides a comprehensive framework for Spec-Driven Development within Claude Code, emphasizing a 'Stub → Test → Implement' workflow. It helps developers maintain high code quality by enforcing architectural boundaries between pure business logic (the functional core) and side-effect-heavy infrastructure (the effectful edge). By providing specific patterns for entity, service, and integration testing, it ensures that tests remain resilient to implementation changes while providing maximum confidence in system behavior.

主要功能

01Stub-Driven TDD workflow guidance for interface-first development
026 GitHub stars
03Layer boundary testing patterns for functional core/effectful edge architecture
04Strategic coverage guidelines focusing on critical business rules and logic
05Anti-pattern detection to avoid testing framework behavior or private methods
06Specific testing templates for Entities, Services, Routers, and Repositories

使用场景

01Structuring comprehensive test suites for complex microservices
02Decoupling business logic from external dependencies like databases and APIs
03Establishing a TDD workflow for new feature development