AutomationNewFreeWorks in Claude Code · Claude app · Codex
Clean Architecture
Structure software around the Dependency Rule. (For developers.)
Part of Book skills by @wondelai ↗Applies Clean Architecture: dependencies point inward from frameworks to use cases to entities, so the system stays flexible.
What it does
- Structures code around the Dependency Rule.
- Keeps business logic independent of frameworks.
When it kicks in
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".
Topics the skill covers
- Core Principle
- Dependency Rule and Concentric Circles
- Entities and Use Cases
- Interface Adapters and Frameworks
- Component Principles
- SOLID Principles
- Boundaries and Boundary Anatomy
- Common Mistakes
What's inside the download
7 files in the .zip:
- Skill InstructionsSKILL.md16 KB
- Adapters Frameworksreferences/adapters-frameworks.md15.5 KB
- Boundariesreferences/boundaries.md17.9 KB
- Component Principlesreferences/component-principles.md12.5 KB
- Dependency Rulereferences/dependency-rule.md13.3 KB
- Entities Use Casesreferences/entities-use-cases.md14.4 KB
- Solid Principlesreferences/solid-principles.md16.5 KB
How to install (2 minutes)
Same download for Claude Code, Claude app, Codex — follow the step for the tool you use.
- 1Download the .zip and unzip it — you’ll get a folder called clean-architecture.
- 2In the Claude app: open Settings → Capabilities → Skills, choose Add / Upload, and select the folder (or the .zip).
- 3In Claude Code: drop the folder into your project’s .claude/skills/ directory, then type /skills to confirm it loaded.
- 4In Codex: drop the folder into ~/.agents/skills/ (or your project’s .agents/skills/), then type /skills — or call it directly with $clean-architecture.
- 5That’s it — the skill activates on its own when it fits what you’re doing.
New to skills? Our Claude Cowork beginner's guide shows how they work inside Claude.
Want to get the most out of your new skill?
Inside Hands-On AI Club we show you exactly how to use skills like this in real work — with step-by-step courses that show every move.
