
Clean Architecture
Structured rulebook of 42 Clean Architecture rules spanning dependency direction, entities, and testing architecture.
- skills.sh installs
- 2.1K
- GitHub stars
- 227
- last updated
- Aug 21, 2026
What it does
- Covers 8 prioritized categories, from CRITICAL dependency direction and entity design down to LOW-MEDIUM testing architecture
- Includes a quick-reference index linking each rule to its own file, with prefixes such as
dep-,entity-, andbound- - Enforces inward-only source dependencies, framework-free domain layers, and entities that stay unaware of persistence
- Designed for reviewing code structure, designing new systems, and refactoring coupled applications toward cleaner boundaries
Install
$ npx -y skills add pproenca/dot-skills --skill clean-architecture -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Clean Architecture Best Practices
Comprehensive guide to Clean Architecture principles for designing maintainable, testable software systems. Based on Robert C. Martin's "Clean Architecture: A Craftsman's Guide to Software Structure and Design." Contains 42 rules across 8 categories, prioritized by architectural impact.
When to Apply
Reference these guidelines when:
- Designing new software systems or modules
- Structuring dependencies between layers
- Defining boundaries between business logic and infrastructure
- Reviewing code for architectural violations
- Refactoring coupled systems toward cleaner structure
Rule Categories by Priority
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Dependency Direction | CRITICAL | dep- |
| 2 | Entity Design | CRITICAL | entity- |
| 3 | Use Case Isolation | HIGH | usecase- |
| 4 | Component Cohesion | HIGH | comp- |
| 5 | Boundary Definition | MEDIUM-HIGH | bound- |
| 6 | Interface Adapters | MEDIUM | adapt- |
| 7 | Framework Isolation | MEDIUM | frame- |
| 8 | Testing Architecture | LOW-MEDIUM | test- |
Quick Reference
1. Dependency Direction (CRITICAL)
Details
- Repository
- github.com/pproenca/dot-skills
- Categories
- Code Review & Quality, Backend & APIs
More from pproenca/dot-skills
All 100- Typescript1.8K
- Code Simplifier1.6K
- Expo React Native Performance1.5K
- Nextjs1.2K
- Playwright1.2K
- Framer Motion1.2K
- Wxt Browser Extensions1.1K
- Tanstack Query983
- Msw910
- Clean Code869
- Terminal Ui866
- Ui Design836
- Typescript Refactor807
- React Refactor800
- Shadcn741
- Chrome Extension Ui739
- Chrome Extension735
- Shell713
- Tailwind665
- Refactor661
- Expo569
- React503
- Tailwind Responsive Ui480
- Tailwind Ui Refactor474
Similar to Clean Architecture
More Code Review & Quality
refactorpproenca/dot-skills661 installsStructured refactoring guide of 43 rules across eight prioritized categories, drawn from Fowler's catalog and Clean Code.
clean-codepproenca/dot-skills869 installsClean Code handbook rules for naming, functions, errors, and tests, with modern corrections applied.
architecture-patternsyonatangross/orchestkit236 installsConsolidated architecture validation covering clean architecture, backend layers, project structure, and test standards with tier-aware enforcement.
software-architecturedavila7/claude-code-templates534 installsQuality-focused architecture guidance applying Clean Architecture and Domain-Driven Design to code and design decisions.
clean-code-principlesasyrafhussin/agent-skills1.9K installsReference guide for SOLID, core principles, and design patterns used when reviewing architecture or code quality.
architecture-reviewdecebals/claude-code-java393 installsAnalyze Java project architecture for package structure, module boundaries, dependency direction, and layering.