uw-unity-project-setup
Skill44 starsChanged 8 months agoMITView on GitHub
Full project initialization wizard from ProjectConfig, including folders, packages, Git, and MCP setup. Use when setting up a new Unity project from scratch, creating the folder structure, or bootstrapping infrastructure. Triggers on requests like "set up a new project", "create folder structure", "initialize the project", or "/uw-cmd-setup-project". Reads ProjectConfig.yaml for all decisions.
In this repository13 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- uw-code-reviewSkill
- uw-dependency-injectionSkill
- uw-game-feel-integratorSkill
- uw-network-setupSkill
- uw-scriptable-object-archSkill
- uw-skill-creatorSkill
- uw-state-machineSkill
- uw-ui-toolkit-binderSkill
- uw-unity-debuggingSkill
- uw-unity-editor-toolsSkill
- uw-unity-feature-scaffoldSkill
- uw-unity-test-runnerSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 4 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
Ensure docs/ProjectConfig.yaml is filled out.
- Distinctive: line 13
Check which MCP servers are available (Unity MCP for in-editor operations, GitHub for version control).
- Very specific: line 37
Manual fallback (no MCP): Write an editor script (Editor/Setup/PackageInstaller.cs) using UnityEditor.PackageManager.Client.Add() to …
- Very specific: line 41
Add ENABLE_LOGS define for Development builds
- Very specific: line 44
Create .gitignore (Unity template)
- Distinctive: line 47
Use GitHub MCP if available, otherwise git CLI
- Very specific: line 53
Manual fallback (no MCP): Write an editor script (Editor/Setup/ProjectConfigurator.cs) using PlayerSettings and GraphicsSettings APIs to …
- Distinctive: line 57
Ensure GDD, TDD, GFD, PRD, SprintPlan are ready to be filled
- Very specific: line 58
If ProjectConfig.yaml → prompt_logging: true, create docs/PromptLog.md
- Distinctive: line 69
After core setup, check ProjectConfig for features that need additional skill guidance:
- Very specific: line 92
Never: create folders inside Assets/ without _Project/ prefix.
- Very specific: line 93
Use uw-unity-feature-scaffold for feature modules.
- Very specific: line 94
Use Resources/ sparingly — prefer Addressables for production.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Unity Project Setup
Orchestrate complete project initialization from ProjectConfig.yaml.
Before You Start
- Ensure
docs/ProjectConfig.yamlis filled out. - Unity project must be created and open in Editor.
- Check which MCP servers are available (Unity MCP for in-editor operations, GitHub for version control).
Steps (in order)
1. Verify ProjectConfig
Confirm Unity version, packages, folder strategy, networking choice.
Required fields — warn the user if any are missing or empty:
project_nameunity_versionrender_pipelinescripting_backendfolder_strategy
2. Create Folder Structure
Based on folder_strategy, create Assets/_Project/ with standard subfolders:
Core/Scripts/+Core.asmdefCore/Tests/EditMode/+Core.Tests.EditMode.asmdef(so the test runner skill has a test assembly from day one)Features/orScripts/(depending on strategy)Art/,Audio/,UI/,Prefabs/,Scenes/,Tests/
3. Install Packages
From ProjectConfig.yaml → packages, install via Unity MCP manage_packages if available.
Manual fallback (no MCP): Write an editor script (Editor/Setup/PackageInstaller.cs) using UnityEditor.PackageManager.Client.Add() to install packages programmatically. The user runs it once from the Unity menu, then it can be deleted.
4. Generate Core Utilities
- GameDebug.cs via
uw-unity-debuggingskill - Add
ENABLE_LOGSdefine for Development builds
5. Git Setup
- Create
.gitignore(Unity template) - Create
developbranch - Initial commit
- Use GitHub MCP if available, otherwise git CLI
6. Configure Editor
Via Unity MCP if available:
- Render pipeline, color space (Linear), scripting backend (IL2CPP)
Manual fallback (no MCP): Write an editor script (Editor/Setup/ProjectConfigurator.cs) using PlayerSettings and GraphicsSettings APIs to set render pipeline, color space, scripting backend, and target platforms. Menu item under Tools > Project Setup > Apply Settings.
7. Documentation Setup
- Copy template files from
templates/→docs/ - Ensure GDD, TDD, GFD, PRD, SprintPlan are ready to be filled
- If
ProjectConfig.yaml → prompt_logging: true, createdocs/PromptLog.md
8. Report MCP Status
✅ Unity MCP — Connected
✅ GitHub MCP — Connected
⬜ Linear MCP — Not configuredConditional Setup
After core setup, check ProjectConfig for features that need additional skill guidance:
| ProjectConfig Field | Condition | Action |
architecture_pattern | di-first | Reference uw-dependency-injection skill for Reflex container setup |
networking | not none | Reference uw-network-setup skill for networking boilerplate |
feel_tools | any non-none value | Reference uw-game-feel-integrator skill for middleware integration |
ui_system | UIToolkit or Mixed | Reference uw-ui-toolkit-binder skill for data binding setup |
Mention these as next steps — don't execute them during project setup.
Asset Loading Strategy
| Approach | When to Use |
| Direct references | Prefabs/SOs referenced in Inspector — always loads with scene |
| Resources/ | Small-scale or early development. Loads synchronously. Everything in Resources/ ships in build. |
| Addressables | Production default. Async loading, memory management, optional remote hosting. Install com.unity.addressables. |
| AssetBundles | Advanced/custom CDN pipelines. Addressables wraps this — prefer Addressables unless you need low-level control. |
For persistent data: encrypt PlayerPrefs values at minimum. For production, prefer server-side storage with authentication.
Rules
- Never create folders inside
Assets/without_Project/prefix. - Use
uw-unity-feature-scaffoldfor feature modules. - Use
Resources/sparingly — prefer Addressables for production.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

