Clean Architecture
Building maintainable, testable software architectures
Build maintainable software architectures using Robert C. Martin's Clean Architecture principles. This skill equips your AI agent with the Dependency Rule, layered architecture patterns, and boundary design that keeps business logic independent of frameworks and infrastructure.
Clean Architecture
npx skills add wondelai/skills/clean-architecture --global This skill is compatible with Claude, Claude Code, Claude Cowork, Codex, Cursor, OpenClaw, Hermes Agent, and other agentskills.io-compatible agents.
What your agent learns
The Dependency Rule
Dependencies point inward — outer layers depend on inner layers, never the reverse. Business rules know nothing about UI or databases.
Entities & Use Cases
Entities encapsulate enterprise-wide business rules. Use cases contain application-specific business rules that orchestrate entities.
Interface Adapters
Controllers, presenters, and gateways convert data between the format most convenient for use cases and the format used by external agencies.
Frameworks Are Details
Frameworks and databases are implementation details — keep them at the outer ring and make them replaceable.
SOLID Principles
Single Responsibility, Open-Closed, Liskov Substitution, Interface Segregation, and Dependency Inversion guide component design.
Try these with the skill installed
Restructure this application to follow Clean Architecture layers using clean-architecture skill
ArchitectureIdentify Dependency Rule violations in this codebase using clean-architecture skill
Architecture reviewDesign use case and entity layers for this feature using clean-architecture skill
DesignDecouple the database layer so we can swap ORMs without touching business logic using clean-architecture skill
RefactoringGuides that use this skill
How to Create a New App with AI Skills
Read guide Deep dive · EngineeringFrom Vibe-Coded Prototype to Production-Ready Product
Read guide Deep dive · EngineeringHow to Refactor a Codebase Buried in Technical Debt
Read guide Deep dive · ArchitectureHow to Design the Best Possible Architecture for a New App
Read guideInstall Clean Architecture
Free, open-source, and ready in 30 seconds.
npx skills add wondelai/skills/clean-architecture --global MIT Licensed · Works with Claude, Claude Code, Claude Cowork, Codex, Cursor, OpenClaw, Hermes Agent & other agentskills.io agents · No account needed
Don’t guess your AI engineering level.
Measure it.
AI Developer Scorecard
How production-grade is your AI engineering?
Twenty-five questions across the practices that separate vibe-coding from production-grade engineering. Instant score, per-section breakdown, and a 30/60/90-day playbook.
Score 0–75 · 30/60/90-day playbook Score yourself For CTOs & foundersCTO Scorecard
Is your engineering team ready for AI at scale?
Twenty-five questions on how your org adopts AI — adoption, governance, automation, and ROI. See where you sit on the path from Reactive to Strategic Leader.
Score 0–75 · Reactive → Strategic Leader Score your org