home/categories/architecture-patterns/epicenterhq-epicenter-agents-skills-control-flow-skill-md
architecture-patternsdevelopment

control-flow

Human-readable control flow patterns for early returns, guard clauses, and linearizing nested logic. Use when the user says "simplify this", "flatten these conditions", "too many nested ifs", or when refactoring nested conditionals, replacing try-catch with linear flow, or restructuring decision logic.

EpicenterHQ
maintainer
EpicenterHQ
Updated 3/20/2026
Stars
4394
Forks
319
quick start

Installation and usage

Human-readable control flow patterns for early returns, guard clauses, and linearizing nested logic. Use when the user says "simplify this", "flatten these conditions", "too many nested ifs", or when refactoring nested conditionals, replacing try-catch with linear flow, or restructuring decision logic.

Installation
$ install --globalskills.sh
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use control-flow