The Clean Architecture skill provides Claude with a disciplined framework for structuring software projects based on the Dependency Rule, where source code dependencies always point inward toward high-level business logic. It enables the creation of systems that are independent of frameworks, UI, databases, and external agencies, ensuring that core business rules remain isolated and easily testable. This skill covers everything from concentric circles and boundary enforcement to component cohesion principles and SOLID design, making it an essential guide for senior-level system design and rigorous code reviews.
主要功能
01Enforcement of the Dependency Rule across concentric architecture layers
02Interface Adapters and Port/Adapter patterns for framework-agnostic development
03Separation of Entities and Use Cases from low-level implementation details
04404 GitHub stars
05Component principles for managing package cohesion and coupling (REP, CCP, CRP)
06Architectural scoring system to evaluate system integrity from 0 to 10
使用场景
01Conducting architectural reviews to identify and break circular dependencies between modules
02Designing a new backend service that remains independent of specific databases or web frameworks
03Refactoring a monolithic codebase into a more modular, hexagonal, or layered architecture