Loading...
Loading...
Clean Architecture principles and best practices from Robert C. Martin's book. This skill should be used when designing software systems, reviewing code structure, or refactoring applications to achieve better separation of concerns. Triggers on tasks involving layers, boundaries, dependency direction, entities, use cases, or system architecture.
npx skill4agent add pproenca/dot-skills clean-architecture| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Dependency Direction | CRITICAL | |
| 2 | Entity Design | CRITICAL | |
| 3 | Use Case Isolation | HIGH | |
| 4 | Component Cohesion | HIGH | |
| 5 | Boundary Definition | MEDIUM-HIGH | |
| 6 | Interface Adapters | MEDIUM | |
| 7 | Framework Isolation | MEDIUM | |
| 8 | Testing Architecture | LOW-MEDIUM | |
dep-inward-onlydep-interface-ownershipdep-no-framework-importsdep-data-crossing-boundariesdep-acyclic-dependenciesdep-stable-abstractionsentity-pure-business-rulesentity-no-persistence-awarenessentity-encapsulate-invariantsentity-value-objectsentity-rich-not-anemicusecase-single-responsibilityusecase-input-output-portsusecase-orchestrates-not-implementsusecase-no-presentation-logicusecase-explicit-dependenciesusecase-transaction-boundarycomp-screaming-architecturecomp-common-closurecomp-common-reusecomp-reuse-release-equivalencecomp-stable-dependenciesbound-humble-objectbound-partial-boundariesbound-boundary-cost-awarenessbound-main-componentbound-defer-decisionsbound-service-internal-architectureadapt-controller-thinadapt-presenter-formatsadapt-gateway-abstractionadapt-mapper-translationadapt-anti-corruption-layerframe-domain-purityframe-orm-in-infrastructureframe-web-in-infrastructureframe-di-container-edgeframe-logging-abstractiontest-tests-are-architecturetest-testable-designtest-layer-isolationtest-boundary-verification| File | Description |
|---|---|
| references/_sections.md | Category definitions and ordering |
| assets/templates/_template.md | Template for new rules |
| metadata.json | Version and reference information |