Duplicated Logic

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.

kubernetes-sigs Updated 3.2k repo stars

File contents

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.

kubernetes-sigs/kueue commit 2bcff0e942

Frequently asked questions

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