Clean Code
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
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 inreferences/_sections.md - Provides a rule template (
assets/templates/_template.md) for adding new rules, andmetadata.jsonwith 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 -yInstalls 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- Terminal Ui873
- Ui Design842
- Typescript Refactor814
- React Refactor807
- Chrome Extension Ui746
- Shadcn745
- Chrome Extension739
- Shell717
- Tailwind670
- Refactor665
- Expo572
- React511
- Tailwind Responsive Ui486
- Tailwind Ui Refactor478
- Zustand468
- Debug456
- Ios Design452
- Feature Spec442
- Feature Arch437
- React Testing Library433
- Expo React Native Coder426
- Jscodeshift426
- Tdd426
- Humanize422
Similar to Clean Code
More Code Review & Qualityrefactorpproenca/dot-skills665 installsStructured refactoring guide of 43 rules across eight prioritized categories, drawn from Fowler's catalog and Clean Code.
code-simplifierpproenca/dot-skills1.6K installsConcise guide that simplifies recently modified code while preserving exact behavior across 47 rules.
code-qualitymiles990/claude-software-skills786 installsClean code principles, SOLID patterns, and code review checklists with TypeScript examples for maintainable software.
solidramziddin/solid-skills3.7K installsOpinionated guide that turns coding work into senior-level practice through TDD, SOLID principles, and clean-code rules.
typescript-clean-codebmad-labs/skills680 installsClean Code principles, TDD, and review checklists for TypeScript, drawn from Martin's books.