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.

renatoxm d7e3c3a 7 files · 116.8 KB Updated

File contents

renatoxm/leanagentkit/tree/main/template/packs/architecture/.agent/skills/references/clean-architecture commit d7e3c3a244

Frequently asked questions

npx skillmds@latest add renatoxm/clean-architecture