01
What this skill does
Use this skill when teams are duplicating code, libraries, services, templates, docs, platform workflows, or architecture decisions. It combines search-before-building habits, duplicate classification, build-vs-reuse scoring, migration planning, and lightweight catalog scripts so reuse decisions are evidence-backed instead of abstract mandates.
02
When to use it
- SignalAuditing duplicated implementations, overlapping services, repeated templates, or abandoned forks.
- SignalDeciding whether to adopt, adapt, wrap, extract, consolidate, sunset, or justify divergence.
- SignalCreating reusable-asset catalogs, ADR/RFC records, migration plans, golden paths, and governance notes.
03
How it works
- 01
Frame the duplicated capability, affected owners, target outcome, constraints, and requested depth.
- 02
Search local code, docs, manifests, design systems, service catalogs, ADRs, tickets, and conventions before proposing new work.
- 03
Classify duplicate candidates by exact copy, near clone, shared business rule, overlapping service, template duplication, abandoned fork, or justified divergence.
- 04
Score reuse against fitness, ownership, maintenance, security, compatibility, migration cost, and future evolution.
- 05
Recommend an intervention and make the reusable path obvious with examples, owners, lifecycle, feedback channels, and metrics.
04
What you get back
- SignalEvidence with file paths, symbols, package or service names, docs, search terms, owners, consumers, and confidence.
- SignalA recommendation with cost, risk, migration effort, security or license concerns, and compatibility notes.
- SignalNext actions, owners, acceptance criteria, and a metric that proves duplicated effort decreased.
05
Important boundaries
- SignalDo not eliminate duplication solely because code looks alike; verify domain knowledge, change cadence, and future evolution.
- SignalDo not create shared libraries, platform services, or golden paths without accountable ownership, examples, versioning, and support expectations.
- SignalDo not rely only on automated clone detection; combine script output with code review, domain context, ownership data, and usage evidence.
06