About unity-assembly-management
unity-assembly-management is a skill for structuring Unity projects with Assembly Definitions. It supports two dependency configuration approaches and provides scaffolding and validation for modular project boundaries.
Key features
- 01Support explicit GUID and version-based setup
- 02Support auto-referenced modules
- 03Enforce Runtime and Editor boundaries
- 04Scaffold Runtime, Editor, and Tests assemblies
- 05Validate architecture boundaries
Use cases
- 01Create a module with Runtime, Editor, and Tests assemblies
- 02Set up explicit assembly dependencies
- 03Check a Unity project for boundary violations
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ muharremtozan/ unity-agent-skills --skill unity-assembly-managementAfter installing, type/unity-assembly-managementin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
assets/code/AsmdefScaffolder.cs.txtAsmdefTemplate.json.txtAsmdefValidator.cs.txtreferences/guide.mdDetails
From the project READMEUnity Assembly Management
Manage project boundaries using Assembly Definitions (.asmdef) for faster compile times and modular architecture. Based on the patterns by Adam Myhre.
Core Features
- Hybrid Approach: Supports both "Pro Path" (Explicit GUIDs, Version Defines) and "Light Path" (Auto-referenced modules).
- Rule Enforcement: Enforces "Runtime never depends on Editor" and inward dependency flows.
- Scaffolding: Automated creation of Runtime/Editor/Tests assembly splits.
Core Files
AsmdefTemplate.json.txt: Flexible template for various assembly configurations.AsmdefScaffolder.cs.txt: Editor utility to generate standard module structures.AsmdefValidator.cs.txt: Script to verify architectural boundaries.
Usage
- Use
AsmdefScaffolderto create a new module partition. - Define dependencies explicitly in the Inspector using GUIDs.
- Validate regularly to ensure no architectural drift has occurred.
Comments
Markdown supported