clean-code

Solid

Use this skill when reviewing, writing, or refactoring code for cleanliness and maintainability following Robert C. Martin's (Uncle Bob) Clean Code principles. Triggers on code review, refactoring, naming improvements, function decomposition, applying SOLID principles, writing clean tests with TDD, identifying code smells, or improving error handling. Covers Clean Code, SOLID, and test-driven development.

Code & Development 167 stars 29 forks Updated today MIT

Install

View on GitHub

Quality Score: 92/100

Stars 20%
74
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

When this skill is activated, always start your first response with the ๐Ÿงข emoji. # Clean Code Clean Code is a set of principles and practices from Robert C. Martin (Uncle Bob) for writing software that is readable, maintainable, and expressive. The core idea is that code is read far more often than it is written, so optimizing for readability is optimizing for productivity. This skill covers the Clean Code book's principles, SOLID object-oriented design, and test-driven development - giving an agent the judgment to write, review, and refactor code the way a disciplined craftsman would. --- ## When to use this skill Trigger this skill when the user: - Asks to review code for quality, readability, or maintainability - Wants to refactor a function, class, or module to be cleaner - Needs help naming variables, functions, or classes - Asks about SOLID principles or how to apply them - Wants to decompose a large function or class - Asks to identify code smells or technical debt - Wants to write tests using TDD (red-green-refactor) - Needs to improve error handling patterns Do NOT trigger this skill for: - Performance optimization (clean code prioritizes readability, not speed) - Architecture decisions at the system level (use clean-architecture skills instead) --- ## Key principles 1. **The Boy Scout Rule** - Leave the code cleaner than you found it. Every commit is an opportunity to improve a name, extract a helper, or remove dead code. 2. **Readability is king** - C...

Details

Author
AbsolutelySkilled
Repository
AbsolutelySkilled/AbsolutelySkilled
Created
2 months ago
Last Updated
today
Language
MDX
License
MIT

Similar Skills

Semantically similar based on skill content โ€” not just same category

Code & Development Listed

clean-code

Use this skill when reviewing, writing, or refactoring code for cleanliness and maintainability following Robert C. Martin's (Uncle Bob) Clean Code principles. Triggers on code review, refactoring, naming improvements, function decomposition, applying SOLID principles, writing clean tests with TDD, identifying code smells, or improving error handling. Covers Clean Code, SOLID, and test-driven development.

3 Updated today
Samuelca6399
Code & Development Solid

clean-architecture

Use this skill when designing, reviewing, or refactoring software architecture following Robert C. Martin's (Uncle Bob) Clean Architecture principles. Triggers on project structure decisions, layer design, dependency management, use case modeling, boundary crossing patterns, component organization, and separating business rules from frameworks. Covers the Dependency Rule, concentric layers, component cohesion/coupling, and boundary patterns.

167 Updated today
AbsolutelySkilled
Code & Development Listed

clean-architecture

Use this skill when designing, reviewing, or refactoring software architecture following Robert C. Martin's (Uncle Bob) Clean Architecture principles. Triggers on project structure decisions, layer design, dependency management, use case modeling, boundary crossing patterns, component organization, and separating business rules from frameworks. Covers the Dependency Rule, concentric layers, component cohesion/coupling, and boundary patterns.

3 Updated today
Samuelca6399
Code & Development Featured

clean-code

This skill embodies the principles of "Clean Code" by Robert C. Martin (Uncle Bob). Use it to transform "code that works" into "code that is clean."

39,350 Updated today
sickn33
Code & Development Featured

uncle-bob-craft

Use when performing code review, writing or refactoring code, or discussing architecture; complements clean-code and does not replace project linter/formatter.

39,350 Updated today
sickn33