SKILL7.3K installs2.5K

Clean Architecture

Structure software around the Dependency Rule: source code dependencies point inward from frameworks to use cases to entities. Use when the user mentions "architecture layers", "dependency rule", "ports and adapters (hexagonal)", "onion architecture", "screaming architecture", "where should business logic go", "decouple from the database", "swap the framework without a rewrite", or "keep business rules independent". Also trigger when deciding which layer code belongs in, isolating core logic from infrastructure, defining module boundaries, or debating whether the framework should call your code or the reverse. Covers component principles, boundaries, and SOLID. For code-level quality, see clean-code. For domain modeling, see domain-driven-design.

Type
Skill
Author
wondelai
GitHub stars
2.5K
Installs
7.3K
Last updated
September 10, 2026

Install

npx skills add https://github.com/wondelai/skills --skill clean-architecture

About this skill

Guides structuring software around the Dependency Rule, where source code dependencies point inward from frameworks to use cases to entities. It triggers on topics like architecture layers, ports and adapters, onion architecture, screaming architecture, decoupling from the database, and keeping business rules independent. It also covers component principles, boundaries, and SOLID, and points to clean-code for code-level quality and domain-driven-design for domain modeling.

Summary written with AI assistance from the project's public description.


Categories


More from wondelai


Similar Skills