clean-code

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Clean Code Skill

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.
当任务涉及日常实现质量、命名、小函数、可读的控制流、职责、注释、错误或测试时,使用此 skill。
在做出设计或代码决策前,先阅读并应用 clean-code.mini.md。仅当 mini 规则不足以应对当前的代码质量权衡时,才将 clean-code.md 用作更深入的参考。