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

Changed how I think about naming things forever. I still argue with some of the advice, but I think about it every single day.

Hacker News

Install this skill

Run this command in your terminal. The skill will be available in all your Claude Code projects.

mkdir -p ~/.claude/skills/clean-code && curl -fsSL "https://raw.githubusercontent.com/wondelai/skills/main/clean-code/SKILL.md" -o ~/.claude/skills/clean-code/SKILL.md

Once installed, invoke with /clean-code in Claude Code, or let Claude load it automatically when relevant.

Skill by wondelai/skills, licensed MIT.