Misplaced Logic

Flag code put somewhere a reader would not expect to find it — cleanup scattered across callers, validation deep in business logic.

kubernetes-sigs Updated 3.2k repo stars

File contents

Skill: Misplaced Logic

Misplaced logic — code put somewhere a reader would not expect to find it. Cleanup belongs inside the Delete path, not scattered across callers; validation belongs at the trust boundary, not deep in business logic.

kubernetes-sigs/kueue commit e6878a6c06

Frequently asked questions

npx get-skill add kubernetes-sigs-kueue/misplaced-logic