clean-code

GitHub

应用整洁代码规范,优化日常代码的可读性、命名、函数设计及职责划分,提升代码质量。

clean-code/SKILL.md ciembor/agent-rules-books

Trigger Scenarios

重构代码以提升可读性 优化变量或函数命名 拆分过大函数以明确职责 改进控制流逻辑 增强代码可测试性

Install

npx skills add ciembor/agent-rules-books --skill clean-code -g -y
More Options

Non-standard path

npx skills add https://github.com/ciembor/agent-rules-books/tree/main/clean-code -g -y

Use without installing

npx skills use ciembor/agent-rules-books@clean-code

指定 Agent (Claude Code)

npx skills add ciembor/agent-rules-books --skill clean-code -a claude-code -g -y

安装 repo 全部 skill

npx skills add ciembor/agent-rules-books --all -g -y

预览 repo 内 skill

npx skills add ciembor/agent-rules-books --list

SKILL.md

Frontmatter
{
    "name": "clean-code",
    "license": "MIT",
    "description": "Apply Robert C. Martin-inspired clean code rules when improving readability, naming, function design, responsibilities, or testable everyday code."
}

Clean Code Skill

Use this skill when a task involves everyday implementation quality, naming, small functions, readable control flow, responsibilities, comments, errors, or tests.

Before making design or code decisions, read and apply clean-code.mini.md. Use clean-code.md only as a deeper reference when the mini rules are not enough for the current code-quality tradeoff.

Version History

  • 893a88a Current 2026-09-11 20:34

Same Skill Collection

a-philosophy-of-software-design/SKILL.md
clean-architecture/SKILL.md
code-complete/SKILL.md
designing-data-intensive-applications/SKILL.md
domain-driven-design-distilled/SKILL.md
domain-driven-design/SKILL.md
implementing-domain-driven-design/SKILL.md
patterns-of-enterprise-application-architecture/SKILL.md
refactoring-guru/SKILL.md
refactoring/SKILL.md
release-it/SKILL.md
the-pragmatic-programmer/SKILL.md
working-effectively-with-legacy-code/SKILL.md

Metadata

Files
0
Version
893a88a
Hash
9723272b
Indexed
2026-09-11 20:34

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-16 06:33
浙ICP备14020137号-1 $방문자$