Agent Skills
› ciembor/agent-rules-books
› clean-code
clean-code
GitHub提供遵循罗伯特·C·马丁风格的代码规范,用于提升日常代码的可读性、命名、函数设计及职责划分。
Trigger Scenarios
优化代码可读性
改进命名规范
重构函数设计
明确代码职责
Install
npx skills add ciembor/agent-rules-books --skill clean-code -g -y
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


