Architectural Refactor

•
4
•

Executes complex codebase restructurings through deterministic, chunked operations and mandatory verification gates to prevent architectural drift.

The Architectural Refactor skill provides a robust framework for Claude to execute large-scale structural changes without losing coherence. It works by externalizing a multi-step refactoring plan to disk, tracking progress through a machine-readable manifest, and enforcing strict verification checks—such as unit tests, type-checking, and linting—after every incremental change. This approach is specifically designed to solve the problem of 'agent drift' during long coding sessions, ensuring that structural integrity is maintained even if context is lost or the task spans multiple sessions.

Características Principales

01Persistent state management via disk-based plan, manifest, and log files.
02Deterministic chunked execution to manage complex structural changes safely.
03Dependency-aware planning to ensure a logical, non-circular refactoring sequence.
04Context-resilient workflow allowing seamless resumption across multiple AI sessions.
05Automated verification gates (tests, types, linting) enforced at every step.
064 GitHub stars

Casos de Uso

01Decoupling tightly integrated modules by extracting services into dedicated directories.
02Executing high-level architectural recommendations from a code audit or assessment.
03Systematically fixing long-term architectural drift to align with Clean Architecture principles.