cc-control-flow-quality
Installation
SKILL.md
cc-control-flow-quality
Thresholds
| Threshold | Value | Source |
|---|---|---|
| Max nesting depth | 3 levels | Yourdon 1986a |
| McCabe complexity | >10 decision points → redesign | McCabe 1976 |
| Else-clause consideration | 50–80% of ifs need an else | Elshoff 1976 |
| Loop-with-exit comprehension | 25% better than top/bottom test | Soloway 1983 |
| Mental entity limit | 5–9 items | Miller 1956 |
Shared numeric thresholds and the cohesion/coupling vocabulary: Read(${CLAUDE_PLUGIN_ROOT}/references/cc-foundations.md).
The full audit checklists (conditionals, structure, loops, tables): Read(${CLAUDE_SKILL_DIR}/checklists/conditionals-and-structure.md) and Read(${CLAUDE_SKILL_DIR}/checklists/loops-and-advanced.md).