godot-architecture
Installation
SKILL.md
Godot architecture (4.7)
Inspect what already exists before adding anything: python ../godot-core/scripts/project_inspect.py (autoloads, input map, folders, C#). Reuse existing systems rather than adding parallel ones.
Folder layout: by feature, not by file type
res://
game/ # cross-cutting: autoloads, event bus, save system, settings
common/ # reusable components (health, hitbox, interactable) + shared UI widgets
player/ player.tscn player.gd|Player.cs player_stats.tres sprites/ sfx/
enemies/ goblin/ ... enemy_base.tscn (inherited by each enemy)
levels/ level_01.tscn ...
ui/ hud/ menus/ theme/main_theme.tres
addons/ # third-party plugins only
Use snake_case for files and folders (they're case-sensitive in exports). C# files are named after their class (Player.cs). Keep each scene next to its script and assets.