Control Flow Clarity

Branching and state-modeling clarity in C/C++. Use when writing or refactoring logic that branches on discrete values: if/else-if ladders, status flags, mode or state ints, or anything that should be an enum plus an exhaustive switch. Covers enum class over magic ints, exhaustive switch over nested if, early-return guard clauses, table dispatch, and when each is the right call.

crosspoint-reader 841fde3 2.9 KB Updated

File contents

crosspoint-reader/crosspoint-reader/tree/main/.skills/control-flow-clarity commit 841fde3ddc

Frequently asked questions

npx skillmds@latest add crosspoint-reader/control-flow-clarity