What problem does it solve?
This Skill helps developers identify and remove duplicated logic across a codebase by extracting stable patterns into reusable, secure abstractions that prevent divergence and reduce maintenance burden.
Core Features & Use Cases
- Signal-based guidance: when to extract (copy-paste with small changes, a second similar implementation, or a component growing to handle multiple cases).
- Proven patterns: parameterize variations, extract generic hooks for shared async or stateful logic, prefer composition over inheritance, and create pure utilities.
- Security by default: enforce validation and trust boundaries at the abstraction layer so shared utilities do not skip server-side checks.
- Use Case: replace near-identical UI cards with a single parameterized EntityCard, consolidate repeated fetch logic into a useAsync hook, and ensure repository-level schema parsing.
Quick Start
Consolidate two similar components into a single parameterized component, extract shared fetch logic into a generic hook, and add explicit validation at the abstraction boundary.