Skill: Logic Errors
Logic errors — incorrect conditionals, inverted boolean checks, off-by-one errors, unhandled edge cases (empty slices, nil maps, zero values), race conditions, or mishandled error returns. Trace each new branch and ask: what input lands here, and is the outcome correct?