Agent Skill
Clean Architecture skill
clean-architectureciembor/agent-rules-booksclean-architecture/SKILL.md
Apply Robert C. Martin-inspired architecture rules when separating business policy from frameworks, databases, UI, or infrastructure details.
always on
27 tokname + description
once used
89 tokSKILL.md body
bundled files
325 KB
repo stars
3.1kGitHub
Install the Clean Architecture skill
Skills CLI (Claude Code, Codex, Cursor and others)
npx skills add https://github.com/ciembor/agent-rules-books --skill clean-architecture
Claude Code, by hand (all projects)
git clone --depth 1 https://github.com/ciembor/agent-rules-books.git /tmp/agent-rules-books mkdir -p ~/.claude/skills cp -R /tmp/agent-rules-books/clean-architecture ~/.claude/skills/clean-architecture
For one project only, copy the folder into .claude/skills/ in that project instead. The agent picks it up when a task matches its description.
What it costs your context
Agent Skills load in three steps. Tokens counted with the o200k tokenizer; your model's count will differ a little.
| When | What loads | Cost |
|---|---|---|
| Every session | Name and description | 27 tok |
| When the agent uses it | The SKILL.md instructions | 89 tok |
| Only if opened | 3 bundled files (25 KB) | varies |
Until it is used, clean-architecture costs about 50× less than the median MCP server we measured (1,363 tokens on every turn). Installing all 14 skills from ciembor/agent-rules-books would load 438 tokens of descriptions. Skills vs MCP study
Checks
Our checks found nothing to flag: it follows the Agent Skills specification's naming and size guidelines and doesn't pipe downloads into a shell.
Checked 2026-10-22 · method
What's inside
The headings of its SKILL.md. Read the full file on GitHub.
- Clean Architecture Skill
More skills from ciembor/agent-rules-books
- a-philosophy-of-software-designciembor/agent-rules-books
Apply John Ousterhout-inspired software design rules when reducing complexity, designing module boundaries, or reviewing APIs and abstractions.
3.1k33 tok idle · 112 in use - clean-codeciembor/agent-rules-books
Apply Robert C. Martin-inspired clean code rules when improving readability, naming, function design, responsibilities, or testable everyday code.
3.1k29 tok idle · 87 in use - code-completeciembor/agent-rules-books
Apply Steve McConnell-inspired construction rules when implementing routines, variables, classes, control flow, defensive code, or tests.
3.1k28 tok idle · 94 in use - designing-data-intensive-applicationsciembor/agent-rules-books
Apply Martin Kleppmann-inspired data-system rules when designing reliability, scalability, consistency, replication, transactions, streams, or schema evolution.
3.1k34 tok idle · 113 in use - domain-driven-designciembor/agent-rules-books
Apply Eric Evans-inspired DDD rules when modeling a complex domain, defining bounded contexts, protecting ubiquitous language, or designing aggregates.
3.1k29 tok idle · 97 in use - domain-driven-design-distilledciembor/agent-rules-books
Apply Vaughn Vernon-inspired lightweight DDD rules when using bounded contexts, subdomains, context maps, and tactical modeling without excess ceremony.
3.1k33 tok idle · 107 in use - implementing-domain-driven-designciembor/agent-rules-books
Apply Vaughn Vernon-inspired implementation DDD rules when building aggregates, domain events, repositories, application services, or context integrations.
3.1k31 tok idle · 109 in use - patterns-of-enterprise-application-architectureciembor/agent-rules-books
Apply Martin Fowler-inspired enterprise architecture rules when choosing layers, service layers, transaction scripts, domain models, repositories, mappers, or DTOs.
3.1k38 tok idle · 126 in use