gdscript-patterns

Provide production-ready GDScript patterns for Godot 4 development.

1|Updated Feb 15, 2026
One-click install
npx skills add https://github.com/Jorge-D-Robles/vibe-rpg --skill gdscript-patterns-jorge-d-robles
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gdscript-patterns
Source: https://github.com/Jorge-D-Robles/vibe-rpg/tree/main/.gemini/skills/gdscript-patterns
Command: npx skills add https://github.com/Jorge-D-Robles/vibe-rpg --skill gdscript-patterns-jorge-d-robles

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a centralized library of production-ready GDScript patterns to accelerate Godot 4 development and ensure code quality.

Core Features & Use Cases

  • A reference collection of patterns for common systems: player controllers, state machines, singletons, UI, and AI workflows.
  • Use as a cookbook to consult correct implementations before writing new GDScript code.
  • Real-world scenario: reference patterns for a 2D platformer player controller, a scene manager, and a health component, then adapt them to your project.

Quick Start

Open the patterns you need from patterns/ and adapt the chosen GDScript pattern to your project.

Frequently Asked Questions about gdscript-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What are common GDScript patterns for Godot 4 game development?

Common GDScript patterns provide reusable templates for player controllers, state machines, singletons, UI, and AI workflows. This centralized library accelerates Godot 4 development and ensures reliable code architecture.

How do I implement a state machine in GDScript?

Implement a state machine in GDScript by referencing the production-ready state machine pattern in the patterns library. Open the specific pattern file and adapt the structured GDScript template directly into your Godot 4 project.

Does this GDScript pattern library work for both 2D and 3D Godot projects?

The GDScript pattern library works for both 2D and 3D Godot projects. It provides generalized architecture templates like health components and scene managers that apply across different gameplay dimensions and UI utilities.

What is the best way to structure a player controller in Godot 4?

The best way to structure a Godot 4 player controller is using a curated GDScript pattern template. The cookbook provides a reference 2D platformer player controller implementation to ensure correct coding and reusability.

Can I use these GDScript patterns for AI workflow implementations?

You can use these GDScript patterns for AI workflow implementations. The library includes specific reference patterns for AI workflows, allowing you to consult correct implementations and adapt them for reliable game behavior.