Skip to main content

early-return-guards

Stars1
Forks0
UpdatedJuly 6, 2026 at 12:52

Use when writing or modifying a Python function with conditional branches โ€” about to nest an if inside an if, write an else after a branch that returns/raises/continues, or assign a result variable in branches to return at the end.

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.

SKILL.md
readonly