Structured Chain-of-Thought emerged in for code generation. The insight: human developers think in sequential, branching, and looping structures.
Ask the model to outline:
Sequential operations (do A, then B)
Branching conditions (if X, do Y)
Loops (repeat while/until Z)
This structure mirrors how programmers actually plan code.