Development Setup¶
This page gets you from a fresh clone to a running test suite, and walks through the loops you will repeat while working on GodotMaker.
Get the source¶
The canonical contributor setup and validation contract defines the supported tool versions, development dependencies, Git hooks, and clean-checkout validation commands. The supported baseline is Python 3.10+, Node.js 22+, and Godot 4.5+; the contract remains authoritative for the full setup. Complete that setup first. You can then run the framework-specific environment diagnostic when your change exercises a published Godot project:
Project structure at a glance¶
GodotMaker/
├── hooks/ Pipeline enforcement and telemetry hooks + hooks/metrics/
├── agents/ Sub-agent definitions
├── skills/
│ ├── core/ Pipeline, rescue, and supporting skills + _shared/ references
│ ├── assets/ First-class Asset Skills + shared L0-L4 runtime
│ └── reviewer/ Domain reviewer skills
├── tools/ CLI tools: publish.py, check_env.py, check_project.py, asset_*.py, migrate.py
├── config/ config.yaml.default, stage_schemas.json, addon_versions.json
├── agent-runtimes/ runner-specific references, templates, and hook config
├── templates/ Document templates deployed into generated game projects
├── tests/ Hook, tool, asset, runtime, and pipeline tests
├── docs/ Wiki, contributing guides, versioning reference, hooks reference
├── shell/ publish.sh / publish.ps1, report.sh / report.bat
├── migrations/ Per-version-jump migration scripts
├── VERSION Semantic version (MAJOR.MINOR.PATCH) — source of truth
└── CHANGELOG.md Per-release change notes
One sentence per folder: hooks/ is the enforcement layer; skills/ is the AI instruction layer; tools/ contains the Python scripts contributors and users run directly; config/ drives both; tests/ keeps all of it honest.
Common development loops¶
Running the test suite¶
The -x flag stops at the first failure. Drop it to see all failures at once.
The suite covers hooks, publish, project checks, migrations, asset/runtime
contracts, and the end-to-end pipeline; use test collection rather than a
hand-maintained total when you need the current inventory.
To run a single file:
To run by test name:
Trying a change in a real project¶
When you want to verify your change end-to-end:
- Pick a Godot project folder (or create a scratch folder).
- Push your current working tree into it:
- Open the project folder in Claude Code and exercise the relevant
/gm-*command. - Inspect the outputs (
.godotmaker/,PLAN.md, skill files under the selected agent skill directory, etc.) to confirm behaviour.
Re-publishing the same version is always allowed, so you can iterate without bumping the version number during development.
Linting¶
No formatter is enforced by the repo. Match the style of the file you are editing: 4-space indent, double quotes for strings in Python, blank line between top-level definitions.
Branching¶
main is the trunk; all pull requests land here. Keep changes small and open a
PR early rather than accumulating a large branch. Follow the canonical
release-note entry contract
and see Release process for the release-owner workflow.