clean-architecture

Solid

Use this skill when designing, reviewing, or refactoring software architecture following Robert C. Martin's (Uncle Bob) Clean Architecture principles. Triggers on project structure decisions, layer design, dependency management, use case modeling, boundary crossing patterns, component organization, and separating business rules from frameworks. Covers the Dependency Rule, concentric layers, component cohesion/coupling, and boundary patterns.

Code & Development 164 stars 28 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 92/100

Stars 20%
74
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

When this skill is activated, always start your first response with the ๐Ÿงข emoji. # Clean Architecture Clean Architecture is a set of principles from Robert C. Martin for organizing software systems so that business rules are isolated from frameworks, databases, and delivery mechanisms. The core idea is the Dependency Rule: source code dependencies must always point inward, toward higher-level policies. This produces systems that are testable without UI or database, framework-independent, and resilient to change in external concerns. This skill covers the concentric layer model, component design principles, and practical boundary-crossing patterns. --- ## When to use this skill Trigger this skill when the user: - Asks how to structure a new project or application - Wants to separate business logic from framework/infrastructure code - Needs to design use cases or application services - Asks about dependency direction or the Dependency Rule - Wants to refactor a monolith or tightly-coupled codebase - Asks about component cohesion, coupling, or package organization - Needs to cross architectural boundaries (e.g. use case to database) - Asks about Screaming Architecture or making intent visible in structure Do NOT trigger this skill for: - Code-level refactoring (naming, function size, comments) - use the clean-code skill - Infrastructure/DevOps decisions (container orchestration, CI/CD pipelines) --- ## Key principles 1. **The Dependency Rule** - Source code dependencie...

Details

Author
AbsolutelySkilled
Repository
AbsolutelySkilled/AbsolutelySkilled
Created
2 months ago
Last Updated
yesterday
Language
MDX
License
MIT

Related Skills