Browse · Clean Code

Code Craft

Clean Code

Robert C. Martin

1st ed.

Code that reads like well-written prose. Naming, functions, and the craft of small things.

About the book

The classic on the craft of readable, maintainable code. Uncle Bob lays out principles for naming, functions, error handling, and unit tests. Read it knowing some advice is Java-era and opinionated — but the principles for keeping things small, named well, and honest are foundational.

Best used for

  • —Reviewing code for clarity and naming quality
  • —Deciding when a function is doing too much
  • —Writing error handling that communicates intent

“The first part of the book is fantastic. I can't recommend it highly enough for a professional software developer that wishes to elevate him or herself to a higher standard.”

— Rod Hilton, Goodreads

Install this skill

Pick your agent and run the command in your terminal. The skill installs globally, so it's available in every project.

mkdir -p ~/.claude/skills/clean-code && curl -fsSL "https://codeload.github.com/wondelai/skills/tar.gz/main" | tar -xz -C ~/.claude/skills/clean-code --strip-components=2 "skills-main/clean-code"

Once installed, your agent loads it automatically when relevant. In Claude Code you can also invoke it with /clean-code.

Skill by wondelai/skills, licensed MIT.