Skip to main content

avoid-side-effects-in-loop-headers

Stars8
Forks0
UpdatedJune 18, 2026 at 23:19

Use when loop counters are initialized outside the loop and side-effecting expressions (like printf with branching arguments) are embedded in the for-statement's increment clause

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
3 files
SKILL.md
readonly