一键导入
dandy-code-api-shape-review
Review method and object APIs for argument count, option shape, boolean flags, object parameters, and fluent configuration.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review method and object APIs for argument count, option shape, boolean flags, object parameters, and fluent configuration.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Review AI-assisted code changes for continuation bias, missing context, architectural asymmetry, security gaps, and code ownership.
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.
Review and improve names for variables, methods, classes, files, routes, booleans, units, and paired operations.
| name | dandy-code-api-shape-review |
| description | Review method and object APIs for argument count, option shape, boolean flags, object parameters, and fluent configuration. |
| argument-hint | [file, diff, or code snippet] |
Use this skill when a user asks whether method signatures, constructors, service APIs, or call sites are easy to use and hard to misuse.
The output should flag confusing call shapes and propose clearer signatures or call patterns.
This skill may read source files and propose or apply signature changes when requested. Call out public API and backward-compatibility risks before changing exposed contracts.
Use project artifact language for review notes. Keep code examples in the repository's primary language unless the user requests otherwise.