⏳ This skill is pending AI review.

Scores will appear once the review pipeline completes.

version unknown

concise-code

@nancheng-123⭐ 1 stars

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.

—/10

// RATINGS

⭐GitHub Stars
⭐ 1 on GitHubGitHub ↗

New / niche

🟢ProSkills Score
—
📍

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 code
  • naming rules
  • function design
  • code smells
  • refactoring
  • best practices

Core Principles

The Boy Scout Rule

Leave the campground cleaner than you found it.

Simple Design Rules (Priority Order)

  1. Run all tests
  2. Eliminate duplication (DRY)
  3. Increase expressiveness
  4. Minimize classes and methods

Quick Reference

Naming

✅ Do❌ Don't
Reveal intentUse misleading names
Use pronounceable namesUse abbreviations
Class names are nounsClass names as verbs
Method names are verbsUnclear 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

SKILL.mdREADME.md

// REPO STATS

1 stars