Install any skill in seconds. Free to start, no credit card required.
Get Started Free →sickn33/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.
Passed 22 of 22 test cases with the skill, and 19 of 22 without it.
3 fixed19 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 3 test cases the skill fixed. Same model, same prompt, with and without the skill.
A C++ `Square` class inherits from `Rectangle`. In `Square::setWidth(w)`, it also sets height to `w`, which breaks generic calculations in code expecting standard `Rectangle` behavior where width and height vary independently. What principle is violated?
| Checked | Without skill | With skill |
|---|---|---|
| Identifies Liskov Substitution Principle violation. | Passed | Passed |
| Recommends removing the inheritance relationship between Square and Rectangle. | Missed | Passed |
The instructions your model reads when the skill loads.
Apply Robert C. Martin (Uncle Bob) criteria for code review and production: Clean Code, Clean Architecture, The Clean Coder, Clean Agile, and design-pattern discipline. This skill is complementary to the existing @clean-code skill (which focuses on the Clean Code book) and to your project's linter/formatter—it does not replace them.
This skill aggregates principles from Uncle Bob's body of work for reviewing and writing code: naming and functions (via @clean-code), architecture and boundaries (Clean Architecture), professionalism and estimation (The Clean Coder), agile values and practices (Clean Agile), and design-pattern use vs misuse. Use it to evaluate structure, dependencies, SOLID in context, code smells, and professional practices. It provides craft and design criteria only—not syntax or style enforcement, which remain the responsibility of your linter and formatter.
| Source | Focus | Where to go |
|---|---|---|
| Clean Code | Names, functions, comments, formatting, tests, classes, smells | Use @clean-code for detail; this skill references it for review/production. |
| Clean Architecture | Dependency Rule, layers, boundaries, SOLID in architecture | See reference.md and references/clean-architecture.md. |
| The Clean Coder | Professionalism, estimation, saying no, sustainable pace | See reference.md and references/clean-coder.md. |
| Clean Agile | Values, Iron Cross, TDD, refactoring, pair programming | See reference.md and references/clean-agile.md. |
| Design patterns | When to use, misuse, cargo cult | See reference.md and references/design-patterns.md. |
| Smell / Heuristic | Meaning |
|---|---|
| Rigidity | Small change forces many edits. |
test cases passed, vs 19 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.