What problem does it solve?
This Skill addresses technical debt by refactoring code to eliminate inconsistencies and converge disparate implementations towards a single, canonical pattern, ensuring codebase uniformity and maintainability.
Core Features & Use Cases
- Code Standardization: Refactors variant implementations to match a chosen canonical pattern.
- Drift Identification & Remediation: Works with audit findings to systematically address technical drift.
- Batch Processing: Handles refactoring in focused, reviewable batches, managing remaining work via a backlog.
- Use Case: When a codebase has evolved with multiple ways of handling user authentication, this skill can be used to consolidate all variants into a single, secure, and standardized authentication flow.
Quick Start
Use the drift-unify skill to refactor the authentication module to use the new OAuth2 pattern.