This skill transforms Claude into a senior software architect by enforcing strict design patterns like Object Calisthenics, Dependency Inversion, and Fail-Fast error handling. It is particularly useful during code refactorings, design reviews, and the TDD refactor phase, ensuring that code is not only functional but also self-documenting, loosely coupled, and highly maintainable through domain-driven naming and type-safe architectures. By identifying code smells like Feature Envy and promoting Type-Driven Design, it helps developers build robust systems where illegal states are unrepresentable.
主要功能
01Object Calisthenics enforcement for high-cohesion, readable code
02Feature Envy detection to ensure logic resides in the correct classes
03Domain-driven, intention-revealing naming conventions
0478 GitHub stars
05Dependency Inversion patterns to eliminate tight coupling
06Fail-Fast error handling to prevent silent data corruption
使用场景
01Refactoring legacy codebases to improve maintainability and testability
02Implementing new features using Type-Driven Design and Zod runtime validation
03Conducting automated design reviews to identify and fix architectural smells