Clean Code
Pragmatic coding standards - concise, direct, no over-engineering, no unnecessary comments
Install
npx skills add Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI --skill clean-codegit clone --depth 1 https://github.com/Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI.git /tmp/Agent-Skills-4-Vibe-Coding-CLI
mkdir -p ~/.claude/skills
cp -r /tmp/Agent-Skills-4-Vibe-Coding-CLI/.agent/skills/clean-code ~/.claude/skills/clean-codePersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Clean Code - Pragmatic AI Coding Standards > **CRITICAL SKILL** - Be **concise, direct, and solution-focused**. --- ## Core Principles | Principle | Rule | |-----------|------| | **SRP** | Single Responsibility - each function/class does ONE thing | | **DRY** | Don't Repeat Yourself - extract duplicates, reuse | | **KISS** | Keep It Simple - simplest solution that works | | **YAGNI** | You Aren't Gonna Need It - don't build unused features | | **Boy Scout** | Leave code cleaner than you found it | --- ## Naming Rules | Element | Convention | |---------|------------| | **Variables** | Reveal intent: `userCount` not `n` | | **Functions** | Verb + noun: `getUserById()` not `user()` | | **Booleans** | Question form: `isActive`, `hasPermission`, `canEdit` | | **Constants** | SCREAMING_SNAKE: `MAX_RETRY_COUNT` | > **Rule:** If you need a comment to explain a name, rename it. --- ## Function Rules | Rule | Description | |------|-------------| | **Small** | Max 20 lines, ideally 5-10 | | **One Thing** | Does one thing, does it well | | **One Level** | One level of abstraction per function | | **Few Args** | Max 3 arguments, prefer 0-2 | | **No Side Effects** | Don't mutate inputs unexpectedly | --- ## Code Structure | Pattern | Apply | |---------|-------| | **Guard Clauses** | Early returns for edge cases | | **Flat > Nested** | Avoid deep nesting (max 2 levels) | | **Composition** | Small functions composed together | | **Colocation** | Keep related code close |
Details
- Skill name
clean-code- Repository
- Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI
- Path
.agent/skills/clean-code/SKILL.md- Repo updated
- 11 June 2026
FAQ
What does the Clean Code skill do?
Pragmatic coding standards - concise, direct, no over-engineering, no unnecessary comments
How do I install the Clean Code skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI --skill clean-code. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Clean Code popular?
It lives in Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI, which has 514 GitHub stars and 146 forks.
Related skills
Address Github Comments
514Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI
Use when you need to address review or issue comments on an open GitHub Pull Request using the gh CLI.
Agent Memory MCP
514Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI
A hybrid memory system that provides persistent, searchable knowledge management for AI agents (Architecture, Patterns, Decisions).
API Documentation Generator
514Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI
Generate comprehensive, developer-friendly API documentation from code, including endpoints, parameters, examples, and best practices
Codex Review
514Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI
Professional code review with auto CHANGELOG generation, integrated with Codex AI
Bun Development
514Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI
Modern JavaScript/TypeScript development with Bun runtime. Covers package management, bundling, testing, and migration from Node.js. Use when working with Bun, optimizing JS/TS development speed, or migrating from Node.js to Bun.
Debugging Toolkit Smart Debug
514Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI
Use when working with debugging toolkit smart debug
Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.