Dry And Reuse

Stops duplication and reinvention — the failure GitClear measures as "rework" (copy-paste up, refactoring down, the signature of AI code with a short shelf life). Use before writing any helper, util, type, constant, or component, and when reviewing a diff for repeated logic. Enforces search-before-build, consolidate- don't-clone, and DRY-as-knowledge (one rule, one authoritative place). Triggers: "is there already a function for this", "this looks duplicated", "DRY this up", "extract the common logic", "we keep rewriting this", before adding any utility.

manutej Updated

File contents

manutej/craft/tree/main/skills/dry-and-reuse commit 440ab52425

Frequently asked questions

npx skillmds@latest add manutej/dry-and-reuse