reduce-reinvention
Installation
SKILL.md
Reduce Reinvention
Reduce duplicated effort by making existing assets discoverable, assessing whether reuse is justified, and turning repeated work into maintained shared capabilities without forcing premature abstraction.
Requested Outcome
Run the steps needed for the user's deliverable. An audit or plan returns evidence and recommendations without automatically consolidating code, creating a catalog, or starting governance work. When implementation is requested, verify candidates and continue within that existing authorization; similarity scores or an audit report do not grant additional scope.
Core workflow
- Frame the scope. Identify the capability being duplicated, the affected repos/teams/domains, target outcome, constraints, and whether the user wants a quick audit, a refactor plan, a governance model, or an implementation patch.
- Search before building. Inspect local code, docs, package manifests, design systems, service catalogs, ADRs/RFCs, tickets, and team conventions before proposing new work. When external alternatives, current package health, pricing, licenses, or APIs matter, research current sources before deciding.
- Classify the duplicate. Label each finding as exact copy, near clone, same business rule, same platform workflow, overlapping service/API, duplicated template/docs, abandoned fork, or justified divergence. Treat similarity as a clue, not proof.
- Decide reuse strategy. Prefer reuse when the existing asset is fit, owned, maintained, secure, compatible, and cheaper to adopt than to rebuild. Prefer local divergence when domains are likely to evolve separately or abstraction cost exceeds duplication cost.
- Choose an intervention. Recommend one of: adopt as-is, adapt through extension points, wrap behind a stable façade, extract a shared module, merge services, publish a template/golden path, deprecate a duplicate, archive dead assets, or document a justified exception.
- Make reuse obvious when delivering a shared asset or catalog. Add or update the metadata, ownership, lifecycle, examples, migration guidance, and verification needed for that deliverable. A reusable asset without owner and examples is usually just hidden maintenance debt.
- Plan safe migration. Move in small behavior-preserving steps with tests, rollback points, compatibility notes, and a deprecation schedule. Keep user-facing behavior stable unless explicitly changing product semantics.
- Measure the requested outcome. Use before/after evidence for a local consolidation; track adoption, catalog coverage, migrated consumers, support load, or stale assets when an ongoing reuse program is in scope.