LogoClawIndex
CasesSkillsAbout
LogoClawIndex

user-rule-review-control-flow - Review control flow structures and code paths

Reviews control flow issues including dead code, goto constructs, conditional assignments, empty catches, regex safety, and nesting depth.

Tags

Updated: 2026-09-13
control-flowcode-reviewrefactoring

Capabilities

Review unreachable codeDetect goto control flowCheck conditional assignmentsIdentify empty catch blocks

Typical Inputs

Source code

Typical Outputs

Code review feedback

What this skill does

  • Review unreachable code
  • Detect goto control flow
  • Check conditional assignments
  • Identify empty catch blocks
  • Check regex backtracking safety
  • Check control flow nesting depth
  • Identify debug residue

Inputs

  • Source code

Outputs

  • Code review feedback

Requirements

    Source

    • Spec: SKILL.md

    ClawIndex

    OpenClaw Skills & Use Case Index

    ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

    Index

    Skills·
    Cases

    Meta

    About·
    Disclaimer·
    Email·
    GitHub
    © 2026 ClawIndex All Rights Reserved.