drift-unify

Refactors codebases to eliminate technical drift via canonical patterns.

Updated Feb 26, 2026
One-click install
npx skills add https://github.com/chris-arsenault/svap --skill drift-unify
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: drift-unify
Source: https://github.com/chris-arsenault/svap/tree/main/.claude/skills/drift-unify
Command: npx skills add https://github.com/chris-arsenault/svap --skill drift-unify

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

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.

Frequently Asked Questions about drift-unify

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I refactor a codebase to eliminate technical drift and consolidate variant implementations?▼

To eliminate technical drift, you refactor codebases by converging disparate variant implementations toward a chosen canonical pattern. This process systematically addresses inconsistencies to ensure codebase uniformity and maintainability.

What is the best way to manage large-scale codebase refactoring for technical debt without losing track of remaining work?▼

The best way to manage large-scale refactoring is through focused, reviewable batch processing. This approach handles code convergence incrementally while producing a backlog to track and manage remaining refactoring work.

Do I need the drift tool installed to identify and process codebase inconsistencies?▼

Yes, you need the drift tool installed and operational. It is required to accurately identify and process technical drift areas within your codebase before executing the refactoring batches.

How do I standardize multiple authentication implementations into a single canonical pattern?▼

You standardize multiple implementations by refactoring variant code to match a chosen canonical pattern. The skill processes these inconsistencies in focused batches, generating shared utilities to ensure uniform authentication flows.

What outputs are generated when refactoring code to resolve technical drift?▼

Refactoring technical drift produces refactored code, shared utilities, changelogs, and a backlog of remaining work. These outputs ensure the convergence process is documented and reviewable across each batch.

Can I use audit findings to systematically address codebase drift?▼

Yes, you can use audit findings to systematically address codebase drift. The refactoring process works directly with these findings to target and remediate inconsistencies, converging them toward a canonical pattern.