What problem does it solve?
Replacing custom code with libraries or newer platform features often introduces hidden regressions, unmaintained dependencies, or bundle bloat. This Skill enforces an evidence-driven modernization workflow that only keeps changes proven to reduce maintenance, workflow friction, or delivered artifact cost.
Core Features & Use Cases
- Evidence-Based Candidate Evaluation: Compares retain, simplify, platform-native, and external-package options using primary sources for maintenance, security, license, and API fit.
- Bounded, Reversible Migration: Introduces replacements at one clear boundary with differential testing, data-migration rehearsal, and rollback verification.
- Measured Keep-or-Discard Verdicts: Compares bundle size, startup, workflow, and defect metrics against baselines and reverts changes that show no net value.
- Use Case: Replace a hand-rolled date-parsing module with a maintained library, verify behavior with characterization tests, measure the bundle delta, and keep the change only if it proves net value.
Quick Start
Ask the agent to modernize a specific capability, such as replacing the custom CSV parser with a maintained library, and require baseline measurements plus a keep-or-discard verdict.