Clean Code

wondelai/skills/plugins/code-craftsmanship/skills/clean-code

作者 wondelaic172996495bed0fcd26896a9416b2093fd7073f0MIT2.3K 個星標收錄於 2026年10月9日更新於 2026年10月9日儲存庫4 週前更新

Write readable, maintainable code through disciplined naming, small functions, and clean error handling. Use when the user mentions "clean up this code", "this function is too long", "code smells", "naming conventions", "boy scout rule", "single responsibility", or "unit test quality". Also trigger when reviewing a pull request for readability, untangling a messy function, debating comment styles, or improving error-handling patterns. Covers SRP, comment discipline, formatting, and unit testing. For refactoring techniques, see refactoring-patterns. For architecture and dependency rules, see clean-architecture.

僅公開檔案列表。將技能安裝到工作區後即可檢視檔案內容。

路徑大小類型
references/code-smells.md16 KBtext/markdown
references/comments-formatting.md12.5 KBtext/markdown
references/error-handling.md12.3 KBtext/markdown
references/functions-and-methods.md12.3 KBtext/markdown
references/naming-conventions.md11 KBtext/markdown
references/testing-principles.md12.6 KBtext/markdown
SKILL.md14.6 KBtext/markdown

來源與署名

來源:wondelai/skills位於plugins/code-craftsmanship/skills/clean-code提交c172996

授權條款: MIT

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架