Misplaced Logic
Testing & Qualitymisplaced-logicMisplaced Logic 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 code put somewhere a reader would not expect to find it — cleanup scattered across callers, validation deep in business logic.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/kubernetes-sigs/kueue/blob/HEAD/cmd/experimental/skills/reviewer/architectural-decisions/misplaced-logic/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/misplaced-logic, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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.