clean-architecture
Skill2.9k starsChanged 3 months agoMITView on GitHub
Apply Robert C. Martin-inspired architecture rules when separating business policy from frameworks, databases, UI, or infrastructure details.
16 other projects use a version of this.
Trending
More talk lately.about the whole repository
Most recently taken up by
- novatic-cu/nova-skillstheir own version, first seen Sep 20, 2026
- zaffnet/whetstoneword for word, first seen Sep 17, 2026
- dagarre00/claude-code-templatetheir own version, first seen Sep 7, 2026
- korallis/skills-collectiontheir own version, first seen Aug 28, 2026
- tokenaissance/clean-architecturetheir own version, first seen Aug 9, 2026
- omaromar9091/clean-architecture-skilltheir own version, first seen Jul 27, 2026
Who's talking about ciembor/agent-rules-books
- @camilleroux.com“Des règles prêtes à l'emploi pour Codex, Cursor et Claude Code, inspirées des grands classiques du génie …”Bluesky · May 7, 2026 · 3 likes
- rjmurillo/ai-agents“Add Claude rules: refactoring (safe structural change, separate from features)”GitHub · Apr 25, 2026 · 2 reactions
- rjmurillo/ai-agents“Add Claude rules: working-with-legacy-code (characterization tests, seams, safe edits)”GitHub · Apr 25, 2026 · 2 reactions
- rjmurillo/ai-agents“Add Claude rules: unified-software-engineering (conflict resolution + forbidden patterns)”GitHub · Apr 25, 2026 · 2 reactions
- rjmurillo/ai-agents“chore(rules): always-on instruction budget is 218KB (~54k tokens) on a single .py edit”GitHub · Jul 27, 2026 · 1 reactions
The biggest 5 of 36 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 36
Talked about on GitHub and Bluesky (36 times).
On GitHub · 35
- Apr 25, 2026Add Claude rules: refactoring (safe structural change, separate from features) — rjmurillo/ai-agents2 reactions · 7 comments
- Apr 25, 2026Add Claude rules: working-with-legacy-code (characterization tests, seams, safe edits) — rjmurillo/ai-agents2 reactions · 7 comments
- Apr 25, 2026Add Claude rules: unified-software-engineering (conflict resolution + forbidden patterns) — rjmurillo/ai-agents2 reactions · 6 comments
- Jul 27, 2026chore(rules): always-on instruction budget is 218KB (~54k tokens) on a single .py edit — rjmurillo/ai-agents1 reaction · 4 comments
- Apr 25, 2026Add Claude rules: enterprise-patterns (repository, unit-of-work, service layer) — rjmurillo/ai-agents1 reaction · 5 comments
30 more on GitHub
- Apr 25, 2026Add Claude rules: philosophy-of-software-design (deep modules, information hiding) — rjmurillo/ai-agents1 reaction · 4 comments
- Apr 25, 2026Add Claude rules: data-intensive-applications (consistency, schema evolution, idempotency) — rjmurillo/ai-agents1 reaction · 5 comments
- Oct 3, 2026agent-skills.github.ciembor.agent-rules-books: v0.6 → refs/tags/v0.6 — sudosubin/agents.nix0 reactions
- Sep 26, 2026[Candidate] ciembor/agent-rules-books/clean-code - clean-code — ProSkillsMD/proskills0 reactions · 2 comments
- Sep 26, 2026[Candidate] ciembor/agent-rules-books/clean-architecture - clean-architecture — ProSkillsMD/proskills0 reactions · 2 comments
- Sep 26, 2026[Candidate] ciembor/agent-rules-books/a-philosophy-of-software-design - a-philosophy-of-software-design — ProSkillsMD/proskills0 reactions · 1 comment
- Sep 26, 2026agent-skills.github.ciembor.agent-rules-books: init at 0.6 — sudosubin/agents.nix0 reactions
- Sep 25, 2026refactoring: polish disciplines, drop ADR pointer, add eval prompts — fabiandistler/agents0 reactions · 2 comments
- Sep 14, 2026Audit candidate: ciembor/agent-rules-books — xiaolai/nlpm0 reactions · 3 comments
- Aug 11, 2026[P2][Analytics] Separate analytics route concerns (SRP violation) — xodapi/kognitika0 reactions · 1 comment
- Aug 11, 2026[P3][API] Make analytics module registry extensible (OCP violation) — xodapi/kognitika0 reactions · 1 comment
- Aug 11, 2026[P2][Storage] Replace direct Prisma imports with repository interfaces (DIP violation) — xodapi/kognitika0 reactions · 1 comment
- Aug 11, 2026[P2][API] Refactor saveCompletedGame transaction script (SRP violation) — xodapi/kognitika0 reactions · 1 comment
- Aug 11, 2026[P2][API] Separate game route into application services (SRP violation) — xodapi/kognitika0 reactions
- May 29, 2026Define a modern AI instructions structure for Copilot, Codex, and other agent tools — mykola-lp/prep-tracker0 reactions · 5 comments
- May 15, 2026🤖 Auto-Add Skills with OpenCode: 1 new skill(s) — Keith-CY/my-crazy-skills0 reactions
- May 15, 2026🤖 Auto-Add Skills with OpenCode: 1 new skill(s) — Keith-CY/my-crazy-skills0 reactions
- May 15, 2026🤖 Auto-Add Skills with OpenCode: 1 new skill(s) — Keith-CY/my-crazy-skills0 reactions
- May 14, 2026🤖 Auto-Add Skills with OpenCode: 1 new skill(s) — Keith-CY/my-crazy-skills0 reactions
- May 14, 2026🤖 Auto-Add Skills with OpenCode: 1 new skill(s) — Keith-CY/my-crazy-skills0 reactions
- May 14, 2026🤖 Auto-Add Skills with OpenCode: 1 new skill(s) — Keith-CY/my-crazy-skills0 reactions
- May 13, 2026🤖 Auto-Add Skills with OpenCode: 1 new skill(s) — Keith-CY/my-crazy-skills0 reactions
- May 13, 2026🤖 Auto-Add Skills with OpenCode: 1 new skill(s) — Keith-CY/my-crazy-skills0 reactions
- May 13, 2026🤖 Auto-Add Skills with OpenCode: 1 new skill(s) — Keith-CY/my-crazy-skills0 reactions
- May 12, 2026🤖 Auto-Add Skills with OpenCode: 1 new skill(s) — Keith-CY/my-crazy-skills0 reactions
- May 12, 2026🤖 Auto-Add Skills with OpenCode: 1 new skill(s) — Keith-CY/my-crazy-skills0 reactions
- May 12, 2026🤖 Auto-Add Skills with OpenCode: 1 new skill(s) — Keith-CY/my-crazy-skills0 reactions
- May 11, 2026🤖 Auto-Add Skills with OpenCode: 1 new skill(s) — Keith-CY/my-crazy-skills0 reactions
- May 11, 2026🤖 Auto-Add Skills with OpenCode: 1 new skill(s) — Keith-CY/my-crazy-skills0 reactions
- May 11, 2026🤖 Auto-Add Skills with OpenCode: 1 new skill(s) — Keith-CY/my-crazy-skills0 reactions
On Bluesky · 1
- May 7, 2026Des règles prêtes à l'emploi pour Codex, Cursor et Claude Code, inspirées des grands classiques du génie logiciel — Clean Code, DDD,… — @camilleroux.com3 likes and reposts
Used with
Projects with it also use tdd.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
AWSSkilltdd
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
Also in 3 projects that use this
Other versions16 projects use a version of this.
Word for word · 1
- zaffnet/whetstone★ 1100% same
Edited · 0
None found.
Wrote their own version · 15
- wondelai/skills★ 2.3ksame name
- codewithmukesh/dotnet-claude-kit★ 750same name
- Mindrally/skills★ 266same name
- krzysztofsurdy/code-virtuoso★ 22same name
- korallis/skills-collection★ 18same name
- tokenaissance/clean-architecture★ 17same name
- joabgonzalez/ai-agents-skills★ 9same name
- roanbrasil/engineer-grade-agent-skills★ 8same name
- qiuzhiaho1149-prog/fugue★ 4same name
- kayaman/skills★ 2same name
5 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository13 other files it gives its agents.
- a-philosophy-of-software-designSkill
- clean-codeSkill
- code-completeSkill
- designing-data-intensive-applicationsSkill
- domain-driven-design-distilledSkill
- domain-driven-designSkill
- implementing-domain-driven-designSkill
- patterns-of-enterprise-application-architectureSkill
- refactoring-guruSkill
- refactoringSkill
- release-itSkill
- the-pragmatic-programmerSkill
- working-effectively-with-legacy-codeSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 14 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Use this skill when a task involves architectural boundaries, dependency direction, use cases, entities, interface adapters, framework …
- Distinctive: line 11
Before making design or code decisions, read and apply clean-architecture.mini.md.
“Common” is measured: kept by at least 6 in 10 of the 14 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Clean Architecture Skill
Use this skill when a task involves architectural boundaries, dependency direction, use cases, entities, interface adapters, framework isolation, or technology churn.
Before making design or code decisions, read and apply clean-architecture.mini.md. Use clean-architecture.md only as a deeper reference when the mini rules are not enough for the current architectural tradeoff.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

