Skip to content

Clean Code handbook rules for naming, functions, errors, and tests, with modern corrections applied.

CCM score
49 of 100
install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
5
skills.sh installs
876
GitHub stars
228
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers 48 rules across 10 prioritized categories, from meaningful names and small functions to error handling, boundaries, and unit tests
  • Includes per-rule reference files (references/*.md) with explanations and examples, plus a category index in references/_sections.md
  • Provides a rule template (assets/templates/_template.md) for adding new rules, and metadata.json with version and reference information
  • Designed for code reviews, naming discussions, and refactoring decisions, with examples primarily in Java but language-agnostic principles

Install

$ npx -y skills add pproenca/dot-skills --skill clean-code -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Robert C. Martin (Uncle Bob) Clean Code Best Practices

Comprehensive software craftsmanship guide based on Robert C. Martin's "Clean Code: A Handbook of Agile Software Craftsmanship", updated with modern corrections where the original 2008 advice has been superseded. Contains 48 rules across 10 categories, prioritized by impact to guide code reviews, refactoring decisions, and new development. Examples are primarily in Java but principles are language-agnostic.

When to Apply

Reference these guidelines when:

  • Writing new functions, classes, or modules
  • Naming variables, functions, classes, or files
  • Reviewing code for maintainability issues
  • Refactoring existing code to improve clarity
  • Writing or improving unit tests
  • Wrapping third-party dependencies

Rule Categories by Priority

Details

Repository
github.com/pproenca/dot-skills
Category
Code Review & Quality
First seen
Jun 3, 2026

More from pproenca/dot-skills

All 100

Similar to Clean Code

More Code Review & Quality