# godot-project-foundations

Guides Godot 4 project architecture with feature-oriented directory layouts, naming standards, and clean Git ignore rules.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 499 installs · ★ 893
- Author: thedivergentai
- License: LGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/thedivergentai/Game-Dev-Agentic-Skills/tree/HEAD/skills/godot-project-foundations/SKILL.md
- Updated: 2026-10-16
- HTML: https://affpapa.org/en/nevibecode/skills/godot-project-foundations

## What it does

This skill enforces architectural structure for Godot 4 games. Instead of lumping files into broad script or sprite directories, it organizes folders by game feature. It applies `snake_case` for project files, `PascalCase` for scene tree nodes, and mandates `%SceneUniqueNames` over fragile `get_node()` hierarchies.

Included GDScript utilities take care of foundational tasks. You get `project_bootstrapper.gd` for folder generation, `global_event_bus.gd` for decoupled signals, and `async_resource_loader.gd` for threaded scene transitions. Version control rules block `.godot/` cache commits and set up `.gdignore` files for source art directories.

Running `dependency_auditor.gd` during standard development is explicitly discouraged because it exists only for troubleshooting import errors. The skill also expects `Untyped Declaration` under Godot project settings configured as `Warn` or `Error`.

## Requirements
- Works with: Godot

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-project-foundations -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/godot-project-foundations/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/godot-project-foundations/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-project-foundations -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/godot-project-foundations/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-project-foundations -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/godot-project-foundations/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install thedivergentai/Game-Dev-Agentic-Skills godot-project-foundations
```

2. **Manually: put the files in place**
- File: `.github/skills/godot-project-foundations/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-project-foundations -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/thedivergentai/Game-Dev-Agentic-Skills --path skills/godot-project-foundations
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/godot-project-foundations/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-project-foundations -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/thedivergentai/Game-Dev-Agentic-Skills/tree/HEAD/skills/godot-project-foundations/SKILL.md

## When to use it
- scaffold feature-based directory structures in Godot 4
- prevent committing heavy engine cache files via `.gitignore`
- replace fragile `get_node()` paths with `%SceneUniqueNames`
- implement background scene loading without locking the main thread

## Example prompts
- Scaffold a Godot 4 project directory layout with feature folders for player and UI.
- Audit node names in this scene and replace hardcoded paths with %SceneUniqueNames.
- Generate a project .gitignore and configure the global event bus script.

## Similar
- [godot-gdscript](https://affpapa.org/en/nevibecode/skills/godot-gdscript.md) — skill · 6500 installs
- [godot-physics](https://affpapa.org/en/nevibecode/skills/godot-physics.md) — skill · 6300 installs
- [godot-best-practices](https://affpapa.org/en/nevibecode/skills/godot-best-practices.md) — skill · 2100 installs
- [cli-anything-godot](https://affpapa.org/en/nevibecode/skills/cli-anything-godot.md) — skill · 548 installs
- [godot-prompter](https://affpapa.org/en/nevibecode/plugins/godot-prompter.md) — plugin · ★ 867
- [godot-mcp-enhanced](https://affpapa.org/en/nevibecode/mcp/godot-mcp-enhanced.md) — MCP server · ★ 103

From the same set: [thedivergentai/game-dev-agentic-skills](https://affpapa.org/en/nevibecode/by/thedivergentai/game-dev-agentic-skills.md) — 50 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
