Skip to main content
在 Manus 中运行任何 Skill
一键导入

readable-code

星标2
分支0
更新时间2026年6月19日 17:09

Write code that minimizes time-till-understanding using Boswell & Foucher's tactics from *The Art of Readable Code*: naming, aesthetics, comments, control flow, expressions, variables, decomposition, and tests. Use when the user mentions "readable code", "time-till-understanding", "Art of Readable Code", "Boswell", "naming variables", "naming functions", "explaining variable", "summary variable", "minimize nesting", "return early", "Yoda notation", "comment density", "ambiguous name", "extract subproblem", "one task at a time", "rubber duck", "smaller scope", "write-once variable". Also trigger when reviewing a PR for line-level readability, refactoring confusing logic, deciding whether to comment, picking between two names, untangling a giant boolean expression, or shrinking variable scope. Distinct from `clean-code` (Martin: SRP/OOP/error handling) and `refactoring-ui` (visual design): this skill is *micro-level* code readability — names, lines, expressions, and the tight loop a reader runs through them.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
5 个文件
SKILL.md
readonly