Simplifying Control Flow

Installation
SKILL.md

Simplifying Control Flow

Overview

Nested conditionals are hard to understand and error-prone. Flatten them.

Core principle: Nesting depth < 3 levels. Use early returns, table-driven methods, or extracted conditions.

Baseline Violation

Agents create nested if/else for multi-condition logic:

Installs
Repository
obra/clank
GitHub Stars
40
First Seen
Simplifying Control Flow — obra/clank