Install
openclaw skills install @agentsleader/uncle-bobApply Robert C. Martin (Uncle Bob) principles for clean code, SOLID design, and clean architecture. Use when: (1) reviewing or refactoring code for quality, (2) designing modules, classes, or functions, (3) asked to "clean up" or improve code structure, (4) evaluating architectural boundaries, (5) naming things, (6) reducing coupling or increasing cohesion. Triggers on phrases like "clean code", "SOLID", "uncle bob", "clean architecture", "refactor for quality", "code smells", "single responsibility", "dependency inversion".
openclaw skills install @agentsleader/uncle-bobApply these principles when writing, reviewing, or refactoring code. They are not rules to follow blindly — use judgment, but default to clean.
Leave the code cleaner than you found it. Every commit should improve the codebase, even if slightly.
AccountManager, OrderRepository).calculateTotal, fetchUser, isValid).isActive, hasPermission, canExecute).r is not a URL. Say url.checkPassword must not also initialize a session.// increment i before i++).a.getB().getC().doThing().For detailed explanations and examples, see references/solid.md.
For the full architecture guide, see references/clean-architecture.md.
Source code dependencies must point inward — toward higher-level policies.
Frameworks & Drivers → Interface Adapters → Use Cases → Entities
(outer) (inner)
When reviewing or writing code, check in this order: