Agent Skills
› ciembor/agent-rules-books
› clean-code
clean-code
GitHub应用整洁代码规范优化日常代码的可读性、命名、函数设计及职责划分,提升代码质量与可测试性。
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


