Godot Core
Use this skill for day-to-day Godot engineering tasks that are not primarily Web export tuning or mini-game product balancing.
1) Read-Only Snapshot First
- Run
scripts/godot_project_snapshot.sh <project-root>before editing files. - Confirm engine version, entry scene, autoloads, script stack, export presets, and quality gate availability.
- If baseline files are missing and user asks for setup, use templates in
assets/templates/.
2) Plan-First Gate
If change touches multiple systems, produce a short plan before coding.
Use references/05-plan-first.md.
3) Definition of Done (Mandatory)
Run in order after behavior-impacting changes:
make fmt(or repository equivalent)make lintmake test(ormake smokeif tests are unavailable)
State exact commands and summarized results in handoff.
4) Core Engineering Rules
- Keep edits minimal and local.
- Keep one responsibility per scene root.
- Prefer typed GDScript APIs.
- Use signals for decoupled events.
- Use groups for one-to-many broadcast.
- Use autoload for focused global services only.
- Avoid brittle cross-tree hard node paths for core logic.
- Keep
_physics_process,_process, and input callbacks semantically correct.
See:
references/godot-architecture.mdreferences/60-decoupling.md
5) Debug and Performance Evidence
For performance or runtime incidents, provide reproducible evidence and before/after metrics. See:
references/70-debug-perf.mdreferences/troubleshooting-checklists.md
6) Escalate to Specialized Subskills
- Use
$godot-web-exportwhen primary scope is Web export, deployment headers, cache policy, or browser runtime failures. - Use
$godot-mini-gamewhen primary scope is mini-game constraints, short-loop balancing, package budget, or mini-game release checklist.
Resource Map
scripts/godot_project_snapshot.sh: baseline project scan.references/workflows.md: feature/bug/perf/export execution flow.references/05-plan-first.md: plan template and trigger conditions.references/30-style-and-lint.md: style and lint baseline.references/50-testing.md: test and smoke conventions.references/60-decoupling.md: decoupling conventions.references/70-debug-perf.md: performance evidence protocol.references/80-release-policy.md: version and release policy.references/godot-architecture.md: architecture patterns.references/troubleshooting-checklists.md: diagnosis checklist.assets/templates/: drop-in project templates (AGENTS.md,Makefile,.pre-commit-config.yaml, smoke runner, constraints).