Godot project foundations

From nix-community/nur-combined · View interactive version

Godot project foundations is an AI agent skill from the GitHub repository nix-community/nur-combined. Expert blueprint for Godot 4 project organization (feature-based folders, naming conventions, version control). Enforces snake_case files, PascalCase nodes, %SceneUniqueNames, and .gitignore best practices. Use when starting new projects or refactoring structure. Keywords project organization, namin

How to use this skill

Skill file

Project Foundations

Feature-based organization, consistent naming, and version control hygiene define professional Godot projects.

Available Scripts

MANDATORY - For New Projects: Before scaffolding, read CODE0 - Auto-generates feature folders and .gitignore.

[project_bootstrapper.gd](scripts/project_bootstrapper.gd)

Expert project scaffolding tool for auto-generating feature folders and .gitignore.

[runtime_configurator.gd](scripts/runtime_configurator.gd)

Expert pattern for applying high-performance profiles (ticks, FPS) and saving override.cfg.

[managed_autoload.gd](scripts/managed_autoload.gd)

Advanced Singleton pattern with RefCounted delegation to avoid SceneTree bloat.

[base_data_resource.gd](scripts/base_data_resource.gd)

Reactive Resource foundation using emit_changed() for data-driven pipelines.

[advanced_telemetry_logger.gd](scripts/advanced_telemetry_logger.gd)

Custom OS-level Logger implementation to capture engine output for crash reporting.

[threaded_task_worker.gd](scripts/threaded_task_worker.gd)

Robust WorkerThreadPool implementation with Mutex synchronization.

[async_resource_loader.gd](scripts/async_resource_loader.gd)

Threaded non-blocking scene loading with progress status.

[action_buffer_input.gd](scripts/action_buffer_input.gd)

Foundational _unhandled_input buffer to decouple hardware events from frame-rate.

[global_event_bus.gd](scripts/global_event_bus.gd)

Strongly-typed global Signal Bus for system decoupling.

[build_metadata_provider.gd](scripts/build_metadata_provider.gd)

Native extraction of project version and CI/CD build metadata.

[node_pooling_system.gd](scripts/node_pooling_system.gd)

Thread-safe Object Pool for high-frequency scene instantiation.

Do NOT Load dependency_auditor.gd unless troubleshooting loading errors.

NEVER Do (Expert Anti-Patterns)

Global Architecture

Resource Management

Performance & Threading


1. Naming Conventions

2. Feature-Based Organization

Instead of grouping by type (e.g., /scripts, /sprites), group by feature (the "What", not the "How").

Correct Structure:

/project.godot
/common/           # Global resources, themes, shared scripts
/entities/
    /player/       # Everything related to player
        player.tscn
        player.gd
        player_sprite.png
    /enemy/
/ui/
    /main_menu/
/levels/
/addons/           # Third-party plugins

3. Version Control

Workflow: Scaffolding a New Project

When asked to "Setup a project" or "Start a new game":

  1. Initialize Root: Ensure project.godot exists.
  2. Create Core Folders:
  1. Setup Git: Create a comprehensive .gitignore.
  2. Documentation: Create a README.md explaining the feature-based structure.

Reference

Related

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.