clean-code

Installation
SKILL.md

Clean Code

Overview

Clean code reads like well-written prose. Every name reveals intent. Every function tells a story. Every class has a single purpose. The goal isn't just working code—it's code that others can understand quickly, modify safely, and extend confidently.

"Clean code always looks like it was written by someone who cares." — Michael Feathers

"You know you are working on clean code when each routine turns out to be pretty much what you expected." — Ward Cunningham

The Boy Scout Rule: Leave the code cleaner than you found it. Every commit should improve quality, even if just slightly. Small improvements compound.

Chapter References

This skill provides an overview with quick references. For detailed guidance with examples, see the chapter files:

  • chapters/names.md - Meaningful Names (intention-revealing, searchable, pronounceable)
  • chapters/functions.md - Functions (small, do one thing, few arguments)
  • chapters/comments.md - Comments (why to avoid, what's acceptable)
Related skills

More from ratacat/claude-skills

Installs
191
GitHub Stars
40
First Seen
Jan 22, 2026