Skip to content
mcp/skillhub

Agent Skill

Clean Code skill

clean-codeciembor/agent-rules-booksclean-code/SKILL.md

Apply Robert C. Martin-inspired clean code rules when improving readability, naming, function design, responsibilities, or testable everyday code.

3.1kMIT

always on

29 tokname + description

once used

87 tokSKILL.md body

bundled files

318 KB

repo stars

3.1kGitHub

Install the Clean Code skill

Skills CLI (Claude Code, Codex, Cursor and others)

npx skills add https://github.com/ciembor/agent-rules-books --skill clean-code

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-code ~/.claude/skills/clean-code

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.

WhenWhat loadsCost
Every sessionName and description29 tok
When the agent uses itThe SKILL.md instructions87 tok
Only if opened3 bundled files (18 KB)varies

Until it is used, clean-code costs about 47× 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 Code Skill

More skills from ciembor/agent-rules-books

All skills in this repo
  1. 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
  2. clean-architectureciembor/agent-rules-books

    Apply Robert C. Martin-inspired architecture rules when separating business policy from frameworks, databases, UI, or infrastructure details.

    3.1k27 tok idle · 89 in use
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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