一键导入
dandy-code-readability-pass
Improve code readability by tightening formatting, visual grouping, method size, comments, and dead-code removal.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Improve code readability by tightening formatting, visual grouping, method size, comments, and dead-code removal.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Review AI-assisted code changes for continuation bias, missing context, architectural asymmetry, security gaps, and code ownership.
Review method and object APIs for argument count, option shape, boolean flags, object parameters, and fluent configuration.
Identify small, reusable components that can be isolated from a large codebase without prematurely forcing microservices.
Review error handling, logging, exception clarity, and debugging seams so failures stay visible and testable.
Simplify control flow with early returns, shallow nesting, explicit conditions, and readable branching.
Review whether code works with framework conventions instead of fighting them with unnecessary abstractions, mixed ecosystems, or upgrade-hostile choices.
| name | dandy-code-readability-pass |
| description | Improve code readability by tightening formatting, visual grouping, method size, comments, and dead-code removal. |
| argument-hint | [file, diff, or code snippet] |
Use this skill when a user asks for cleaner, more readable code, a style-focused review, or a refactor that preserves behavior.
The output should identify readability blockers and, when editing is requested, apply small behavior-preserving changes.
This skill may read and edit source files when the user asks for readability improvements. Do not change formatter configuration, architecture docs, or project rules unless requested.
If project config defines an artifact language, use it for review notes and generated comments. Keep code identifiers in the project language and naming style.