helm Svelte Themes

Helm

Automated Unity 6 game development pipeline — 36 skills, 5 agents, 11 hooks. From game idea to playable project via Claude Code.

Helm

Helm

Automated Unity 6 game development pipeline powered by Claude Code.
Describe a game idea. Get a full Unity project — architecture, code, tests, and scenes.

Stars License Build Unity 6 Claude Code

Quick StartPipelineSkillsHooksGUIContributing


Dashboard

What Is This?

Helm is an AI agent system that turns a one-sentence game idea into a complete Unity 6 project. It coordinates 5 specialized agents through a 6-stage pipeline, enforcing production-grade architecture with 11 automated hooks and drawing on 40 domain-specific skills.

No GUI required — the pipeline runs entirely in Claude Code CLI. The optional desktop app (Tauri + Svelte) provides a visual dashboard for monitoring agent orchestration.

"A match-3 puzzle game with cascading combos and power-ups"

        |
        v

/game-idea    ->  Game Design Document (GDD)
/architect    ->  Technical Design Document (TDD) with full architecture
/plan-workflow ->  Phased execution plan optimized for parallel agents
/init-project ->  Game-specific CLAUDE.md for the Unity project
/orchestrate  ->  5 agents build it: code, tests, review, scenes, commits
/build-game   ->  Runs the entire pipeline end-to-end

Why This Exists

Most AI coding tools generate code. Helm generates entire projects with enforced architecture:

  • Domain-specific enforcement — 11 hooks that BLOCK bad Unity patterns before they're written. Editing a .prefab directly? Blocked. Missing [FormerlySerializedAs]? Warned. LINQ in Update()? Caught.

  • 40 contextual skills — Not generic code generation. Skills like serialization-safety, object-pooling, character-controller, and match3 inject Unity-specific knowledge exactly when agents need it.

  • Multi-agent orchestration — Five specialized agents (Coder, Tester, Reviewer, Unity Setup, Committer) working in parallel, each with distinct responsibilities and quality gates.

  • Production architecture from day one — Model-View-System pattern, VContainer DI, MessagePipe messaging, UniTask async, zero-allocation hot paths. No singletons, no god objects, no coroutines.

  • Full pipeline, not just code — From a text prompt to GDD, TDD, phased workflow plan, implementation with tests, scene setup, and logical git commits.

Quick Start (CLI)

The pipeline works with just Claude Code CLI — no GUI needed.

Option 1: Copy to existing project

# Copy the pipeline config into your Unity project
git clone https://github.com/XeldarAlz/helm.git /tmp/helm
cp -r /tmp/helm/.claude/ /path/to/your/unity/project/.claude/

# Navigate to your Unity project and start Claude Code
cd /path/to/your/unity/project
claude

# Run the full pipeline
> /build-game

Option 2: Installer script

curl -fsSL https://raw.githubusercontent.com/XeldarAlz/helm/main/scripts/install-pipeline.sh | bash -s /path/to/your/unity/project

Option 3: Step by step

cd /path/to/your/unity/project
claude

# Stage 1: Describe your game idea interactively
> /game-idea

# Stage 2: Generate technical architecture
> /architect

# Stage 3: Create phased execution plan
> /plan-workflow

# Stage 4: Generate game-specific CLAUDE.md
> /init-project

# Stage 5: Let agents build it
> /orchestrate

Prerequisites: Claude Code CLI installed and authenticated. Unity 6 project initialized.

Pipeline

Commands

Command Stage What It Does
/game-idea 1 Interactive session to create a Game Design Document
/architect 2 Generates Technical Design Document with full architecture
/plan-workflow 3 Creates phased execution plan optimized for parallel agents
/init-project 4 Generates game-specific CLAUDE.md at Unity project root
/orchestrate 5 Multi-agent orchestrator that executes the plan
/build-game * Runs the entire pipeline end-to-end

Additional Commands

Command Purpose
/status Check current pipeline progress
/continue Continue interrupted orchestration from last checkpoint
/stop Gracefully pause orchestration, preserving state
/dry-run Preview what the orchestrator would do without executing
/review-code Manual code review on specific files
/add-feature Add a feature to an existing game (updates GDD, TDD, WORKFLOW)
/validate Validate a completed phase before proceeding
/refine-gdd Iterate on an existing Game Design Document
/refine-tdd Iterate on an existing Technical Design Document
/catch-up Generate human-readable codebase comprehension guide

Agents

Five specialized agents collaborate during orchestration:

Agent Role Key Responsibility
Coder Implementation Pure C# systems, models, and views following MVS pattern
Tester Quality NUnit tests for every logic system, AAA pattern
Reviewer QA Gate Architecture compliance, Unity compilation verification
Unity Setup Scene Assembly Scene/prefab/asset setup via Unity MCP tools
Committer Version Control Splits changes into logical commits by system

Generated Documents

All pipeline outputs are saved to docs/:

Document Content
GDD.md Game Design Document — mechanics, progression, art direction
TDD.md Technical Design Document — architecture, systems, data flow
WORKFLOW.md Phased execution plan with tasks and dependencies
PROGRESS.md Real-time orchestration progress tracking
ACTIVITY_LOG.md Auto-generated file activity log (populated by hooks)

Skills

40 domain-specific knowledge modules auto-loaded by agents based on file patterns:

Core (Always Active)

Skill What It Provides
serialization-safety [FormerlySerializedAs] rules, Unity null checks, polymorphic serialization
event-systems C# events, UnityEvent, SO channels, zero-alloc patterns
scriptable-objects Data containers, event channels, variable references, runtime sets
assembly-definitions Compilation speed, dependency direction, platform filters
unity-mcp-patterns MCP tool selection, batch execution, scene templates
object-pooling ObjectPool<T>, warm-up patterns, return lifecycle

Systems (Loaded by Context)

Skill Trigger
input-system Input actions, rebinding, multi-device
urp-pipeline Render pipeline config, custom passes
addressables Async asset loading, handle lifecycle
cinemachine Virtual cameras, blending, impulse
animation Animator controllers, blend trees, state behaviors
audio AudioMixer, SFX pooling, spatial audio
physics Non-allocating queries, layers, CCD
navmesh Pathfinding, agents, obstacles
ui-toolkit UXML, USS styling, data binding
shader-graph Visual shaders, custom functions, sub-graphs

Gameplay

Skill Patterns
character-controller 2D/3D controllers, coyote time, wall jump, slopes
inventory-system Slot-based inventory, equipment, crafting, drag-and-drop
dialogue-system SO-based dialogue trees, typewriter, conditions
save-system Save slots, versioned migration, encryption
state-machine Generic FSM, hierarchical states, transitions
procedural-generation Noise terrain, BSP dungeons, WFC, Poisson sampling

Genre

Skill Focus
match3 Grid mechanics, cascades, special pieces
platformer-2d Tight controls, level design, challenge progression
topdown Camera, area transitions, NPC interaction
rpg Combat, quests, skill trees, party systems
endless-runner Procedural chunks, difficulty ramping
idle-clicker Prestige, offline progress, big numbers
hyper-casual Session pacing, tap mechanics
puzzle Constraint solving, hint systems
tower-defense Placement grids, wave spawning, tower upgrades
roguelike Procedural dungeons, permadeath, meta-progression
card-game Deck building, hand management, effect resolution
racing Vehicle physics, drift mechanics, AI opponents

Third-Party

dotweenunitaskvcontainertextmeshproodin-inspector

Platform

mobile — Touch input, battery optimization, performance budgets

Hooks

11 automated validation hooks enforce Unity best practices on every file write:

Blocking Hooks (PreToolUse)

These prevent bad patterns before they're written:

Hook What It Blocks
block-scene-edit Direct text editing of .unity, .prefab, .asset files — use Unity MCP instead
guard-editor-runtime UnityEditor namespace in runtime code without #if UNITY_EDITOR guard

Validation Hooks (PostToolUse)

These warn about issues after writes:

Hook What It Catches
check-pure-csharp using UnityEngine in Logic/Core/Systems directories
check-naming-conventions Non-PascalCase types, non-standard field naming
check-no-linq-hotpath System.Linq in files with Update/FixedUpdate/LateUpdate
check-no-runtime-instantiate Instantiate(), new GameObject(), Destroy() outside pools
check-test-exists Logic class without corresponding test file
check-compile Unbalanced braces, missing namespace/type declarations
warn-serialization [SerializeField] renamed without [FormerlySerializedAs]
warn-filename C# filename not matching class name (breaks MonoBehaviour)
update-progress (silent) Logs all file activity to docs/ACTIVITY_LOG.md

Architecture Rules

The pipeline enforces these architectural constraints across all generated code:

Rule Enforcement
Pure C# logic Game logic in plain C# classes, NOT MonoBehaviours. MonoBehaviours are thin wrappers.
Model-View-System Models (data), Views (MonoBehaviour rendering), Systems (plain C# logic via VContainer)
VContainer DI No singletons, no FindObjectOfType, no static access. Constructor injection only.
MessagePipe Cross-system communication via readonly struct messages. No SO events, no static EventBus.
UniTask All async via UniTask. No coroutines, no IEnumerator, no yield return.
Zero-alloc hot paths No new, boxing, LINQ, or string ops in Update/FixedUpdate/LateUpdate.
Mandatory tests Every logic system has NUnit tests. No exceptions.
Serialization safety [FormerlySerializedAs] on any renamed field. Unity == null, never ?. on UnityEngine.Object.
No runtime instantiation Prefabs + object pools. No new GameObject() or Instantiate() in gameplay code.
ScriptableObjects All static/config data as ScriptableObject assets.

See .claude/rules/ for full documentation with code examples.

Helm GUI

The optional desktop app provides a visual control center for the pipeline:

Feature Description
Chat Sessions Interactive Claude Code conversations with markdown rendering
Orchestration Dashboard Monitor and control multi-agent execution in real time
Document Viewer Browse generated GDDs, TDDs, and workflow plans
Code Browser Explore generated Unity project files
Git Timeline Visual history of all pipeline commits
Session History Resume previous conversations and pipelines

Orchestration Dashboard

Orchestration Dashboard

Chat Sessions

Chat Session

Document Viewer

Document Viewer

Code Browser

Code Browser

Running the GUI

# Install dependencies
npm install

# Development mode
npm run dev

# Build for macOS
npm run build:macos

Tech Stack

Layer Technology
Desktop Tauri 2 (Rust)
Frontend Svelte 5 + TypeScript
Styling Tailwind CSS 4
Animations Motion
AI Backend Claude Code CLI
Target Engine Unity 6

Examples

See examples/ for sample pipeline outputs showing what gets generated at each stage.

Contributing

Contributions are welcome — especially new skills and genre templates. Adding a skill takes about 30 minutes.

See CONTRIBUTING.md for guides on adding skills, genres, hooks, commands, and more.

License

MIT

Top categories

Loading Svelte Themes