What problem does it solve?
Traditional Unity projects often grow into large, monolithic managers that become hard to reason about, test, and extend without introducing regressions. This skill offers a disciplined, incremental refactoring workflow that preserves behavior while progressively decoupling responsibilities into focused services.
Core Features & Use Cases
- Code smell detection and risk-based prioritization: scans a Unity C# codebase to surface actionable smells and rank them by risk.
- One-refactoring-at-a-time execution with verification: guides the user to implement a single, isolated change, then validates compilation and references before proceeding.
- Structured plan presentation and governance: presents a complete, prioritized plan before any modification and enforces strict safety rules.
- Reference-driven recipes and continuity: links to documented refactoring recipes to standardize outcomes across projects.
- Use Case: a mid-size game project transitions from a mega-manager pattern to modular services (score, spawn, save) without altering gameplay behavior.
Quick Start
Scan your Unity project root, review the generated plan, and execute one safe refactor at a time.