Unity Refactor

Community

Safe, incremental Unity C# refactoring.

AuthorJulianKerignard
Version1.0.0
Installs0

System Documentation

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.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Unity Refactor
Download link: https://github.com/JulianKerignard/Unity-Skills/archive/main.zip#unity-refactor

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.