ワンクリックで
dandy-code-flow-simplifier
Simplify control flow with early returns, shallow nesting, explicit conditions, and readable branching.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Simplify control flow with early returns, shallow nesting, explicit conditions, and readable branching.
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.
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-flow-simplifier |
| description | Simplify control flow with early returns, shallow nesting, explicit conditions, and readable branching. |
| argument-hint | [file, diff, or code snippet] |
Use this skill when code has deep nesting, confusing else blocks, dense conditions, clever ternaries, assignments inside conditions, or negated boolean logic.
The output should flatten the happy path and make decision points easy to inspect and debug.
return, throw, continue, or break.else blocks made unnecessary by early exits.This skill may read and edit source files when asked to simplify flow. Add or update tests when control-flow changes could affect behavior.
Use configured artifact language for review output. Keep code syntax and identifiers consistent with the current project.