# Logic Errors

> Logic Errors is an Agent Skill for testing & quality published in the kubernetes-sigs/kueue repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Flag incorrect conditionals, inverted boolean checks, off-by-one errors, unhandled edge cases, race conditions, or mishandled error returns.

- Skill name: `logic-errors`
- Category: [Testing & Quality](https://www.openparable.com/skill/testing-quality/1)
- Source: https://github.com/kubernetes-sigs/kueue/blob/HEAD/cmd/experimental/skills/reviewer/buggy-behavior/logic-errors/SKILL.md
- Repository: kubernetes-sigs/kueue (2,719 GitHub stars when collected)

## SKILL.md

# 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?

---

Source: https://www.openparable.com/skill/testing-quality/logic-errors (OpenParable). Cite the canonical URL above.
