OpenParable
Skip to content
← Back to skills

Duplicated Logic

Testing & Quality
duplicated-logic

Duplicated 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 identical (or near-identical) blocks across types/adapters/call sites that should live in a shared helper — and newly extracted helpers with only one caller.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. 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/duplicated-logic/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/duplicated-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: Duplicated Logic Across Types/Adapters/Call Sites

Duplicated logic across types/adapters/call sites — identical (or near-identical) blocks that should live in a single shared helper. Conversely, flag a newly extracted helper that has only one caller and no clear near-term reuse.