Agent skill
unity-bootstrap
Bootstrap a new Unity project for a 2D management/simulation game. Use when you need to create the Unity project, choose URP/UI approach, set up folder structure, gitignore, packages (Input System/TextMeshPro), and establish a minimal scene + tick loop scaffold before porting gameplay systems.
Install this agent skill to your Project
npx add-skill https://github.com/nolainjin/codex_2250/tree/main/codex-skills/unity-bootstrap
SKILL.md
Unity Bootstrap (2D Sim)
1) Create project (Unity Hub)
- Use latest Unity LTS.
- Template:
2D (URP)if you want lighting/post; otherwise2D Core. - Enable packages early:
Input System,TextMeshPro.
2) Git setup checklist
- Add a Unity
.gitignore(ignoreLibrary/,Temp/,obj/,Build/,Logs/). - Commit a clean baseline after first project creation.
3) Folder structure (recommended)
Assets/_Project/Scripts/{Core,Gameplay,UI}Assets/_Project/ScenesAssets/_Project/PrefabsAssets/_Project/Data(ScriptableObjects)Assets/_Project/Art,Assets/_Project/Audio
4) Minimal runtime scaffold
BootScene:- Loads config ScriptableObjects
- Loads save (if exists) or creates new state
- Loads
GameScene
GameScene:- Has
GameControllerwith:- Tick loop (1 sec) + time scale (1/2/6x)
- Hooks for UI to call commands (build, assign, upgrade)
- Has
5) Next step
- After this, use
unity-migrationto map and port the existing JS systems.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
unity-migration
git-guardrails-claude-code
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.
setup-pre-commit
Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.
edit-article
Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.
handoff
Compact the current conversation into a handoff document for another agent to pick up.
scaffold-exercises
Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section.
Didn't find tool you were looking for?