Early Return Over Else

Use when control flow is getting nested or hard to scan. Prefer guard clauses and early returns while preserving behavior with tests.

selamy-labs Updated 0 repo stars

File contents

selamy-labs/agent-skills commit e6cc6dcdf2

Frequently asked questions

npx get-skill add selamy-labs/early-return-over-else