What problem does it solve? Oversized source files in the Axentra codebase become hard to review, test, and maintain. This Skill guides a safe, behavior-preserving split of large files into focused modules while respecting the project's approved architecture boundaries. ## Core Features & Use Cases - Behavior-Preserving Extraction: Records current behavior and runs existing tests before and after the refactor to catch regressions. - Architecture-Aware Placement: Keeps API routes in apps/api/src/modules, UI feature code in apps/web/src/features, and shared contracts in packages/shared/src. - Guardrails Against Scope Creep: Prevents refactoring Foundation infrastructure into unapproved domain modules and flags accidental business-scope changes in the diff. - Use Case: A 1,500-line API module mixing route handlers, schemas, and repository logic can be split into focused files, with imports and tests updated together and verified via bun run complete-check. ## Quick Start Ask the AI to refactor the oversized file at a given path into smaller modules while preserving its public contract and running the existing tests.