# Godot Doctor Examples This folder contains various scenes and scripts demonstrating Godot Doctor's capabilities to validate common configuration challenges in a Godot project. Each sub-folder contains a specific example scene (`.tscn`) and a dedicated **`README.md`** file that explains the issue being solved, the validation logic used, and how to reproduce/resolve the errors. ## Example Summaries ### [verify_resource_example](./verify_resource_example/README.md) **Core Concept:** **Chained Validation & Resource Limits** Shows how a **Node** validates the existence of an exported **Resource**, then chains the validation to check the **internal properties** of that Resource for dynamic range limits and required values. ### [verify_exports_example](./verify_exports_example/README.md) **Core Concept:** **Node Exported Property Validation** Demonstrates basic validation on a **Node's exported properties**, ensuring correct data types (e.g., `int > 0`), non-empty strings, and that assigned Node references meet specific criteria (e.g., a required name). ### [verify_type_of_packed_scene_example](./verify_type_of_packed_scene_example/README.md) **Core Concept:** **Strongly Typing PackedScenes** Solves the common problem of non-strongly typed `PackedScene` exports by verifying that the root node of the assigned scene has a script attached with the **expected `class_name`**. ### [verify_node_path_example](./verify_node_path_example/README.md) **Core Concept:** **Verifying Node Paths (`$`)** Shows how to use validation conditions to check at design time that **nodes referenced by path** (`$NodeName`) actually exist in the scene tree, preventing hard-to-debug runtime "Node not found" errors. ### [verify_tool_script_example](./verify_tool_script_example/README.md) **Core Concept:** **@tool Script Validation (Improved)** Highlights using Godot Doctor as a superior alternative to native `_get_configuration_warnings()` for **@tool scripts**, offering cleaner syntax, automatic updates, and better separation of logic. To get started, simply open any of the scenes inside the respective sub-folders and run the Godot Doctor validation check.