/game-dev - Game Development Studio
Orchestrates a team of game development specialists to create, fix, debug, or enhance games.
User Discovery
Ask the user these questions (use AskUserQuestion, one at a time):
Project: Which game project are you working on?
- Provide the project name and path (e.g.,
~/GitProjects/Third-Conflict)
- If creating a new game, ask for the desired project name and location
Mode: What do you need help with?
- Create - Build a new game from scratch
- Fix - Something is broken and needs to be fixed
- Debug - Investigate unexpected behavior
- Add - Add a new feature or enhancement
Engine/Framework: What tech stack are you using (or want to use)?
- Next.js + Canvas 2D + Zustand (established pattern for web games)
- Phaser 3
- PixiJS
- Three.js / WebGL
- Godot (GDScript)
- Unity (C#)
- Custom / Other (describe)
Scope: What specifically do you need? (adapt to mode)
- Create: "Describe the game concept in 2-3 sentences"
- Fix: "Describe the bug. What happens vs. what should happen?"
- Debug: "What behavior are you investigating?"
- Add: "Describe the feature you want to add"
Team Composition: Which specialists do you need?
- Full team (Director + Designer + Artist + UX + Developer + Writer) - recommended for Create
- Core team (Director + Designer + Developer) - recommended for Add
- Dev team (Director + Developer + Artist) - good for visual/audio features and fixes
- UX team (Director + Developer + UX) - good for UI, responsive, and mobile fixes
- Minimal (Director + Developer) - recommended for Debug and small fixes
- Custom - pick specific roles from: Designer, Artist/Audio, UX/UI, Developer, Writer
Pre-Survey
If the project path exists, run this before spawning the director:
cd {PROJECT_PATH} && echo "=== Recent Commits ===" && git log -5 --oneline 2>/dev/null && echo "=== Changed Files ===" && git diff --stat 2>/dev/null && echo "=== Source File Count ===" && find src -type f \( -name "*.ts" -o -name "*.tsx" -o -name "*.js" -o -name "*.jsx" -o -name "*.gd" -o -name "*.cs" \) 2>/dev/null | wc -l && echo "=== Project Structure ===" && ls -1 src/ 2>/dev/null
Available Tooling
- Playwright MCP: Browser automation for responsive testing, visual QA, and accessibility validation. The UX agent uses this to screenshot game states at multiple viewports and verify touch targets, layout, and accessibility.
- Context7: Current API documentation for frameworks (React, Next.js, Tailwind, etc.)
Orchestration
After gathering answers and pre-survey data, spawn a Task agent:
- subagent_type: general-purpose
- model: sonnet
- name: game-director
Pass to the agent:
- Pre-survey output (if available)
- All user answers (project, mode, framework, scope, team composition)
- The project path as the working directory
- Instruction: "You are the Senior Game Director. Follow the instructions in ~/.claude/agents/game-director.md"
- Include which team members to activate based on the user's team composition choice
After Agent Returns
The director returns a structured report with phases completed, files created/modified, test results, team reports, and next steps.
- Display the summary and individual team member reports
- Show files created and modified
- If tests were run, show pass/fail counts
- List recommended next steps
- Ask if the user wants to commit the changes
1---2name: game-dev3description: Game development workflow: create, fix, debug, or enhance games with a coordinated team of specialists4---56# /game-dev - Game Development Studio78Orchestrates a team of game development specialists to create, fix, debug, or enhance games.910## User Discovery1112Ask the user these questions (use AskUserQuestion, one at a time):13141. **Project:** Which game project are you working on?15 - Provide the project name and path (e.g., `~/GitProjects/Third-Conflict`)16 - If creating a new game, ask for the desired project name and location17182. **Mode:** What do you need help with?19 - **Create** - Build a new game from scratch20 - **Fix** - Something is broken and needs to be fixed21 - **Debug** - Investigate unexpected behavior22 - **Add** - Add a new feature or enhancement23243. **Engine/Framework:** What tech stack are you using (or want to use)?25 - Next.js + Canvas 2D + Zustand (established pattern for web games)26 - Phaser 327 - PixiJS28 - Three.js / WebGL29 - Godot (GDScript)30 - Unity (C#)31 - Custom / Other (describe)32334. **Scope:** What specifically do you need? (adapt to mode)34 - Create: "Describe the game concept in 2-3 sentences"35 - Fix: "Describe the bug. What happens vs. what should happen?"36 - Debug: "What behavior are you investigating?"37 - Add: "Describe the feature you want to add"38395. **Team Composition:** Which specialists do you need?40 - **Full team** (Director + Designer + Artist + UX + Developer + Writer) - recommended for Create41 - **Core team** (Director + Designer + Developer) - recommended for Add42 - **Dev team** (Director + Developer + Artist) - good for visual/audio features and fixes43 - **UX team** (Director + Developer + UX) - good for UI, responsive, and mobile fixes44 - **Minimal** (Director + Developer) - recommended for Debug and small fixes45 - **Custom** - pick specific roles from: Designer, Artist/Audio, UX/UI, Developer, Writer4647## Pre-Survey4849If the project path exists, run this before spawning the director:5051```bash52cd {PROJECT_PATH} && echo "=== Recent Commits ===" && git log -5 --oneline 2>/dev/null && echo "=== Changed Files ===" && git diff --stat 2>/dev/null && echo "=== Source File Count ===" && find src -type f \( -name "*.ts" -o -name "*.tsx" -o -name "*.js" -o -name "*.jsx" -o -name "*.gd" -o -name "*.cs" \) 2>/dev/null | wc -l && echo "=== Project Structure ===" && ls -1 src/ 2>/dev/null53```5455## Available Tooling5657- **Playwright MCP**: Browser automation for responsive testing, visual QA, and accessibility validation. The UX agent uses this to screenshot game states at multiple viewports and verify touch targets, layout, and accessibility.58- **Context7**: Current API documentation for frameworks (React, Next.js, Tailwind, etc.)5960## Orchestration6162After gathering answers and pre-survey data, spawn a Task agent:63- **subagent_type:** general-purpose64- **model:** sonnet65- **name:** game-director6667Pass to the agent:681. Pre-survey output (if available)692. All user answers (project, mode, framework, scope, team composition)703. The project path as the working directory714. Instruction: "You are the Senior Game Director. Follow the instructions in ~/.claude/agents/game-director.md"725. Include which team members to activate based on the user's team composition choice7374## After Agent Returns7576The director returns a structured report with phases completed, files created/modified, test results, team reports, and next steps.77781. Display the summary and individual team member reports792. Show files created and modified803. If tests were run, show pass/fail counts814. List recommended next steps825. Ask if the user wants to commit the changes