⏳ This skill is pending AI review.
Scores will appear once the review pipeline completes.
concise-code
Clean Code Quick Reference. Provides quick reference for 'Clean Code' by Robert C. Martin (Uncle Bob), including naming rules, function design, comments, formatting, testing, and code smells. Keywords: clean code, naming, functions, refactoring, code smells, best practices.
Choose how to use this skill
You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.
1. Native installer
This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.
Do not guess an installer command or replace an existing version without reviewing the diff.
2. Complete package recommended
Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.
No complete ProSkills package is published for this listing yet.3. Prompt-only
Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.
Need only the instruction file?
Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.
No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.
// RATINGS
Not yet listed on ClawHub or SkillsMP
// README
Concise Code - Clean Code Quick Reference
A standardized OpenClaw Skill providing quick reference for "Clean Code" by Robert C. Martin (Uncle Bob).
Overview
This skill helps developers write clean, maintainable code by providing guidelines and checklists for:
- Meaningful naming
- Function design
- Comments strategy
- Code formatting
- Unit testing
- Code smells detection
Installation
For OpenClaw/QClaw Users
Copy the skill to your OpenClaw skills directory:
# Windows
xcopy /E /I concise-code %USERPROFILE%\.qclaw\workspace\skills\concise-code\
# Or manually copy SKILL.md to:
# D:\software\QClaw\resources\openclaw\config\skills\concise-code\
For SkillHub
skillhub install concise-code
Usage
Trigger this skill with keywords:
clean codenaming rulesfunction designcode smellsrefactoringbest practices
Core Principles
The Boy Scout Rule
Leave the campground cleaner than you found it.
Simple Design Rules (Priority Order)
- Run all tests
- Eliminate duplication (DRY)
- Increase expressiveness
- Minimize classes and methods
Quick Reference
Naming
| ✅ Do | ❌ Don't |
|---|---|
| Reveal intent | Use misleading names |
| Use pronounceable names | Use abbreviations |
| Class names are nouns | Class names as verbs |
| Method names are verbs | Unclear method names |
Functions
- Small: < 20 lines
- Do one thing
- Arguments: 0 best, avoid 3+
- No side effects
Comments
- Write: Legal info, intent explanation, warnings, TODO
- Avoid: Redundant, misleading, commented-out code
Golden Rule: Use code to explain. Comments cannot beautify bad code.
File Structure
concise-code/
├── SKILL.md # Main skill file (OpenClaw standard format)
└── README.md # This file
Reference
- Book: Clean Code: A Handbook of Agile Software Craftsmanship
- Author: Robert C. Martin (Uncle Bob)
- Publisher: Prentice Hall, 2008
License
MIT License - Feel free to use and distribute.
Contributing
Pull requests welcome! Please maintain the OpenClaw skill format.
// HOW IT'S BUILT
KEY FILES