j5ik2o-intent-based-dedup
Installation
SKILL.md
Intent-Based Deduplication
Deduplicate by intent, not by appearance. Similar text with different reasons to change should stay separate.
Workflow
-
Identify the duplicated code and every caller.
-
Name the business or technical intent of each copy.
-
Compare future change reasons, owners, invariants, and release cadence.
-
Deduplicate only when the shared abstraction can be named honestly and will change for one reason.
-
If intent differs, keep duplication or extract smaller mechanical helpers that do not pretend to be domain concepts.
Decision Matrix
- Same text, same intent: merge.