Skip to content

PRD — GodotGo

The product requirements for GodotGo: problem, users, goals and non-goals, features, requirements and proposed success measures.

Derived from the README, agent docs, config and code in bamr87/godotgo. Anything not stated in those sources is marked TBD; success metrics are proposals.

1. Overview / problem

A Godot 4 game workspace: one reusable framework addon (addons/godotgo) symlinked into every game, five sample games that exercise it, project-aware tooling that verifies/tests/runs/exports every game identically, and a Claude Code integration that can build, test and improve them.

1.1 Missions

GodotGo's direction is to become the ultimate open home for all things Godot game-making — data, tools, resources and transparency, gathered in one place that anyone can inspect and reuse.

  1. Provide data, tools, resources and transparency for all stakeholders, game developers, Godot practitioners and the general public. Developers building Godot 4 games, AI agents working in a verifiable loop, and the general public are first-class audiences. The aim is a shared, open commons: the same framework, the same tools, and the same trail of evidence for everyone.
  2. Make every Godot 4 project share one reusable framework and the same verifiable path to build, test, run and export. The addons/godotgo framework, pin-able tooling, and sample games that exercise it are the starting point; verification stays deterministic across host, Docker and CI.
  3. Put that workspace in every developer's and agent's hands, and make improving a game a loop anyone can run. Serve it through project-aware tooling and a Claude Code integration that can build, test and improve every game the same way — an open toolkit for working with all things Godot game-making.

These missions set the course; they do not claim the work is finished. They serve the PRD goals in §3: one shared framework and deterministic verification. The earlier mission paragraph is absorbed into these three. Every feature must trace to them.

2. Target users

  • Developers building small Godot 4 games who want a shared framework and tooling
  • AI agents (Claude Code) improving games in a verifiable loop

3. Goals and non-goals

Goals

  • Keep one framework shared across all games
  • Make verification (tools/verify.sh) deterministic across host, Docker and CI with a pinned Godot (4.7.2)
  • Scaffold new games that pass verification on creation

Non-goals

  • Hand-drawn art (placeholder assets are generated)
  • Making the optional Godot AI editor bridge a build input

4. Core features (current)

  • Framework addon with zero-dependency test runner
  • Sample games: orb-run, leap, swarm, shift, cascade
  • Tools: install_godot, verify, run, export, new_game
  • Generated placeholder sprites/sounds/meshes (tools/gen_assets.py) checked in CI
  • Docker image and CI verifying every project in parallel
  • Claude Code settings, hooks, subagents and skills

Feature catalog

Every user-facing capability has a stable id in the feature catalog features/features.yml. Each entry names the PRD requirements it serves (prd:); the trace below is the reverse view.

ID Feature Status Where Requirements
GODOTGO-001 Framework addon with zero-dependency test runner shipped framework/addons · README.md TBD
GODOTGO-002 Sample games: orb-run, leap, swarm, shift, cascade shipped games · README.md TBD
GODOTGO-003 Tools: install_godot, verify, run, export, new_game shipped tools · README.md FR2, FR1
GODOTGO-004 Generated placeholder sprites/sounds/meshes shipped tools/gen_assets.py · README.md TBD
GODOTGO-005 Docker image and CI verifying every project in parallel shipped docker/Dockerfile · README.md TBD
GODOTGO-006 Claude Code settings shipped .claude/settings.json · README.md TBD
GODOTGO-007 PerfectPixel Studio sprite-sheet import planned framework/addons · PRD.md FR4
GODOTGO-008 Missions in constitution §1 planned docs/constitution.md §1.1

Requirement → feature trace

Requirement Features
TBD GODOTGO-001, GODOTGO-002, GODOTGO-004, GODOTGO-005, GODOTGO-006
FR2 GODOTGO-003
FR1 GODOTGO-003
FR4 GODOTGO-007
§1.1 GODOTGO-008

5. Requirements

Functional

  • FR1: tools/verify.sh checks engine-version pins, tests and smoke-boots every project
  • FR2: tools/new_game.sh returns only verified scaffolds
  • FR3: CI fails if regenerated assets differ from committed ones
  • FR4 (planned): Games can import AI-generated character sprite sheets (8 directions, multi-state animations) produced by PerfectPixel Studio as SpriteFrames without hand editing

Non-functional

  • NFR1: Engine version pinned in one place (tools/lib.sh)
  • NFR2: Commit .gd.uid and .import sidecars; never .godot/
  • NFR3: Scheduled improve agent gated by vars.CLAUDE_IMPROVE_ENABLED

6. Success metrics (proposed — not defined in sources)

  • verify pass rate per project
  • Time to scaffold a verified new game
  • Games shipped/exported: TBD

7. Roadmap / open questions

  • Export/distribution targets: TBD
  • Planned — integrate PerfectPixel Studio (GODOTGO-007, FR4). gykim80/perfectpixel-studio (MIT; Wails + Go + React desktop app) generates 8-direction character sprite sheets with 100+ motion presets from a text prompt and exports a sprite sheet, manifest.json and Aseprite-compatible JSON. Approach: treat it as an external, optional asset-pipeline tool, not a vendored dependency — add a framework-side importer (EditorImportPlugin or a tools/ script) that turns its manifest.json/Aseprite JSON into SpriteFrames resources, with unit tests on a small checked-in fixture. License: MIT is compatible with this repo's license; keep its copyright notice if any code is copied. Open questions: generated art needs paid AI provider keys (Gemini/OpenRouter/fal.ai/BytePlus) and is non-deterministic, so it must stay outside tools/gen_assets.py and its byte-identical CI check (FR3); provider terms for generated images need review before shipping such art in a game.