Abstraction Finder

Scans a codebase or a named area for recurring patterns that could be extracted into shared, general-purpose code, and proposes the smallest form for each — helper, service, base class, template, or util — with the exact call sites it would replace. The inverse of a conformance check: it discovers duplication worth unifying rather than checking one change against existing patterns. Enforces the rule of three and refuses to abstract single-use or surface-similar code. Trigger on: "where are we repeating ourselves", "what could be abstracted", "find duplication", "is there a shared helper for this", "could this be DRY'd up", "extract a common pattern", "find abstraction candidates".

jerseycheese Updated

File contents

jerseycheese/agent-skills/tree/main/skills/abstraction-finder commit 81a05a4bb9

Frequently asked questions

npx skillmds@latest add jerseycheese/abstraction-finder