godot-master

thedivergentai/gd-agentic-skills · updated Apr 8, 2026

MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.

$npx skills add https://github.com/thedivergentai/gd-agentic-skills --skill godot-master
0 commentsdiscussion
summary

Every section earns its tokens by focusing on Knowledge Delta — the gap between what Claude already knows and what a senior Godot engineer knows from shipping real products.

skill.md

Godot Master: Lead Architect Knowledge Hub

Every section earns its tokens by focusing on Knowledge Delta — the gap between what Claude already knows and what a senior Godot engineer knows from shipping real products.


🧠 Part 1: Expert Thinking Frameworks

"Who Owns What?" — The Architecture Sanity Check

Before writing any system, answer these three questions for EVERY piece of state:

  • Who owns the data? (The StatsComponent owns health, NOT the CombatSystem)
  • Who is allowed to change it? (Only the owner via a public method like apply_damage())
  • Who needs to know it changed? (Anyone listening to the health_changed signal)

If you can't answer all three for every state variable, your architecture has a coupling problem. This is not OOP encapsulation — this is Godot-specific because the signal system IS the enforcement mechanism, not access modifiers.

The Godot "Layer Cake"

Organize every feature into four layers. Signals travel UP, never down:

┌──────────────────────────────┐
│  PRESENTATION (UI / VFX)     │  ← Listens to signals, never owns data
├──────────────────────────────┤
│  LOGIC (State Machines)      │  ← Orchestrates transitions, queries data
├──────────────────────────────┤
│  DATA (Resources / .tres)    │  ← Single source of truth, serializable
├──────────────────────────────┤
│  INFRASTRUCTURE (Autoloads)  │  ← Signal Bus, SaveManager, AudioBus
└──────────────────────────────┘

Critical rule: Presentation MUST NOT modify Data directly. Infrastructure speaks exclusively through signals. If a Label node is calling player.health -= 1, the architecture is broken.

The Signal Bus Tiered Architecture

  • Global Bus (Autoload): ONLY for lifecycle events (match_started, player_died, settings_changed). Debugging sprawl is the cost — limit events to < 15.
  • Scoped Feature Bus: Each feature folder has its own bus (e.g., CombatBus only for combat nodes). This is the compromise that scales.
  • Direct Signals: Parent-child communication WITHIN a single scene. Never across scene boundaries.

🧭 Part 2: Architectural Decision Frameworks

The Master Decision Matrix

Scenario Strategy MANDATORY Skill Chain Trade-off
Rapid Prototype Event-Driven Mono READ: FoundationsAutoloads. Do NOT load genre or platform refs. Fast start, spaghetti risk
Complex RPG Component-Driven READ: CompositionStatesRPG Stats. Do NOT load multiplayer or platform refs. Heavy setup, infinite scaling
Massive Open World Resource-Streaming READ: Open WorldSave/Load. Also load Performance. Complex I/O, float precision jitter past 10K units
Server-Auth Multi Deterministic READ: Server ArchMultiplayer. Do NOT load single-player genre refs. High latency, anti-cheat secure
Mobile/Web Port Adaptive-Responsive READ: UI ContainersAdapt Desk→MobilePlatform Mobile. UI complexity, broad reach
Application / Tool App-Composition READ: App CompositionTheming. Do NOT load game-specific refs. Different paradigm than games
Romance / Dating Sim Affection Economy READ: RomanceDialogueUI Rich Text. High UI/Narrative density
Secrets / Easter Eggs Intentional Obfuscation READ: SecretsPersistence. Community engagement, debug risk
Collection Quest Scavenger Logic READ: CollectionsMarker3D Placement. Player retention, exploration drive
Seasonal Event Runtime Injection READ: Easter ThemingMaterial Swapping. Fast branding, no asset pollution
Souls-like Mortality Risk-Reward Revival READ: Revival/Corpse RunPhysics 3D. High tension, player frustration risk
Wave-based Action Combat Pacing Loop READ: WavesCombat. Escalating tension, encounter design
Survival Economy Harvesting Loop READ: HarvestingInventory. Resource scarcity, loop persistence
Racing / Speedrun Validation Loop READ: Time TrialsInput Buffer. High precision, ghost record drive

The "When NOT to Use a Node" Decision

One of the most impactful expert-only decisions. The Godot docs explicitly say "avoid using nodes for everything":

Type When to Use Cost Expert Use Case
Object Custom data structures, manual memory management Lightest. Must call .free() manually. Custom spatial hash maps, ECS-like data stores
RefCounted Transient data packets, logic objects that auto-delete Auto-deleted when no refs remain. DamageRequest, PathQuery, AbilityEffect — logic packets that don't need the scene tree
Resource Serializable data with Inspector support Slightly heavier than RefCounted. Handles .tres I/O. ItemData, EnemyStats, DialogueLine — any data a designer should edit in Inspector
Node Needs _process/_physics_process, needs to live in the scene tree Heaviest — SceneTree overhead per node. Only for entities that need per-frame updates or spatial transforms

The expert pattern: Use RefCounted subclasses for all logic packets and data containers. Reserve Node for things that must exist in the spatial tree. This halves scene tree overhead for complex systems.


🔧 Part 3: Core Workflows

Workflow 1: Professional Scaffolding

From empty project to production-ready container.

MANDATORY — READ ENTIRE FILE: Foundations

  1. Organize by Feature (/features/player/, /features/combat/), not by class type. A player/ folder contains the scene, script, resources, and tests for the player.
  2. READ: Signal Architecture — Create GlobalSignalBus autoload with < 15 events.
  3. READ: GDScript Mastery — Enable untyped_declaration warning in Project Settings → GDScript → Debugging.
  4. Apply Project Templates for base .gitignore, export presets, and input map.
  5. Use MCP Scene Builder if available to generate scene hierarchies programmatically. Do NOT load combat, multiplayer, genre, or platform references during scaffolding.

Workflow 2: Entity Orchestration

Building modular, testable characters.

MANDATORY Chain — READ ALL: CompositionState MachineCharacterBody2D or Physics 3DAnimation Tree Do NOT load UI, Audio, or Save/Load references for entity work.

  • The State Machine queries an InputComponent, never handles input directly. This allows AI/Player swap with zero refactoring.
  • The State Machine ONLY handles transitions. Logic belongs in Components. MoveState tells MoveComponent to act, not the other way around.
  • Every entity MUST pass the F6 test: pressing "Run Current Scene" (F6) must work without crashing. If it crashes, your entity has scene-external dependencies.

Workflow 3: Data-Driven Systems

Connecting Combat, Inventory, Stats through Resources.

MANDATORY Chain — READ ALL: Resource PatternsRPG StatsCombatInventory

  • Create ONE ItemData.gd extending Resource. Instantiate it as 100 .tres files instead of 100 scripts.
  • The HUD NEVER references the Player directly. It listens for player_health_changed on the Signal Bus.
  • Enable "Local to Scene" on ALL @export Resource variables, or call resource.duplicate() in _ready(). Failure to do this is Bug #1 in Part 8.

Workflow 4: Persistence Pipeline

MANDATORY: Autoload ArchitectureSave/LoadScene Management

  • Use dictionary-mapped serialization. Old save files MUST not corrupt when new fields are added — use .get("key", default_value).
  • For procedural worlds: save the Seed plus a Delta-List of modifications, not the entire map. A 100MB world becomes a 50KB save.

Workflow 5: Performance Optimization

MANDATORY: Debugging/ProfilingPerformance Optimization

Diagnosis-first approach (NEVER optimize blindly):

  1. High Script Time → Profile with built-in Profiler. Check if _process is being called on hundreds of nodes. Move to single-manager pattern or Server APIs (see Part 6).
  2. High Draw Calls → Use MultiMeshInstance for repetitive geometry. Batch materials with ORM textures.
  3. Physics Stutter → Simplify collisions to primitive shapes. Load 2D Physics or 3D Physics. Check if _process is used instead of _physics_process for movement.
  4. VRAM Overuse → Switch textures to VRAM Compression (BPTC/S3TC for desktop, ETC2 for mobile). Never ship raw PNG.
  5. Intermittent Frame Spikes → Usually GC pass, synchronous load(), or NavigationServer recalculation. Use ResourceLoader.load_threaded_request().

Workflow 6: Cross-Platform Adaptation

MANDATORY: Input HandlingAdapt Desktop→MobilePlatform Mobile Also read: Platform Desktop, Platform Web, Platform Console, Platform VR as needed.

  • Use an InputManager autoload that translates all input types into normalized actions. NEVER read Input.is_key_pressed() directly — it blocks controller and touch support.
  • Mobile touch targets: minimum 44px physical size. Use MarginContainer with Safe Area logic for notch/cutout devices.
  • Web exports: Godot's AudioServer requires user interaction before first play (browser policy). Handle this with a "Click to Start" screen.

Workflow 7: Procedural Generation

MANDATORY:

1

Prerequisites

Before installing skills in Cursor, ensure your development environment meets these requirements:

2

Execute installation command

Execute the skills CLI command in your project's root directory to begin installation:

$npx skills add https://github.com/thedivergentai/gd-agentic-skills --skill godot-master

The skills CLI fetches godot-master from GitHub repository thedivergentai/gd-agentic-skills and configures it for Cursor.

3

Select Cursor when prompted

The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:

◆ Which agents do you want to install to?
│ ── Universal (.agents/skills) ── always included ────
│ • Amp
│ • Antigravity
│ • Cline
│ • Codex
│ ●Cursor(selected)
│ • Cursor
│ • Windsurf
4

Verify installation

Confirm successful installation by checking the skill directory location:

.cursor/skills/godot-master

Reload or restart Cursor to activate godot-master. Access the skill through slash commands (e.g., /godot-master) or your agent's skill management interface.

Security & Verification Notice

We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.

Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.

List & Monetize Your Skill

Submit your Claude Code skill and start earning

GET_STARTED →

Use Cases

Task Automation & Efficiency

Automate repetitive workflows and reduce manual effort

Example

Generate reports, summarize documents, draft communications

Save 3-5 hours per week on routine tasks

Knowledge Enhancement

Learn new skills, understand complex topics, get expert guidance

Example

Explain concepts, provide examples, suggest learning resources

Accelerate learning and skill development by 2x

Quality Improvement

Enhance output quality through reviews, suggestions, and refinements

Example

Review drafts, suggest improvements, catch errors

Improve work quality by 30-40% with less effort

Implementation Guide

Prerequisites

  • Claude Desktop or compatible AI client with skill support
  • Clear understanding of task or problem to solve
  • Willingness to iterate and refine outputs

Time Estimate

15-45 minutes depending on use case complexity

Installation Steps

  1. 1.Install skill using provided installation command
  2. 2.Test with simple use case relevant to your work
  3. 3.Evaluate output quality and relevance
  4. 4.Iterate on prompts to improve results
  5. 5.Integrate into regular workflow if valuable

Common Pitfalls

  • Expecting perfect results without iteration
  • Not providing enough context in prompts
  • Using skill for tasks outside its intended scope
  • Accepting outputs without review and validation

Best Practices

✓ Do

  • +Start with clear, specific prompts
  • +Provide relevant context and constraints
  • +Review and refine all outputs before using
  • +Iterate to improve output quality
  • +Document successful prompt patterns

✗ Don't

  • Don't use without understanding skill limitations
  • Don't skip validation of outputs
  • Don't share sensitive information in prompts
  • Don't expect skill to replace human judgment

💡 Pro Tips

  • Be specific about desired format and style
  • Ask for multiple options to choose from
  • Request explanations to understand reasoning
  • Combine AI efficiency with human expertise

When to Use This

✓ Use When

Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.

✗ Avoid When

Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.

Learning Path

  1. 1Familiarize yourself with skill capabilities and limitations
  2. 2Start with low-risk, non-critical tasks
  3. 3Progress to more complex and valuable use cases
  4. 4Build expertise through regular use and experimentation

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.759 reviews
  • Pratham Ware· Dec 28, 2024

    Useful defaults in godot-master — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Sakura Taylor· Dec 24, 2024

    godot-master is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Sofia Kim· Dec 20, 2024

    Useful defaults in godot-master — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Kaira Khanna· Dec 12, 2024

    Registry listing for godot-master matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Sakshi Patil· Nov 19, 2024

    godot-master has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Li Thomas· Nov 19, 2024

    godot-master reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Noah Sanchez· Nov 15, 2024

    godot-master fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Sakura Abebe· Nov 11, 2024

    godot-master has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Ren Zhang· Nov 7, 2024

    Registry listing for godot-master matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Sakura Diallo· Oct 26, 2024

    godot-master reduced setup friction for our internal harness; good balance of opinion and flexibility.

showing 1-10 of 59

1 / 6