# Feature Gate Interaction Bugs

> Feature Gate Interaction Bugs 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 feature-gated behavior whose gate-off path is incorrect — early returns that skip cleanup, or state set only when on but read unconditionally.

- Skill name: `feature-gate-interaction-bugs`
- 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/feature-gate-interaction-bugs/SKILL.md
- Repository: kubernetes-sigs/kueue (2,719 GitHub stars when collected)

## SKILL.md

# Skill: Feature-Gate Interaction Bugs

**Feature-gate interaction bugs** — when the diff adds behavior guarded by a feature
flag, verify correctness in **both** states. An untested gate-off path is a latent
bug. Look especially for: early returns that skip required cleanup when the gate is
off, or new state set only when the gate is on but read unconditionally.

---

Source: https://www.openparable.com/skill/testing-quality/feature-gate-interaction-bugs (OpenParable). Cite the canonical URL above.
