Master Godot 4 GDScript patterns including signals, scenes, state machines, and optimization. Use when building Godot games, implementing game systems, or learning GDScript best practices.
Install with Tessl CLI
npx tessl i github:Dicklesworthstone/pi_agent_rust --skill godot-gdscript-patterns81
Does it follow best practices?
If you maintain this skill, you can automatically optimize it using the tessl CLI to improve its score:
npx tessl skill review --optimize ./path/to/skillValidation for skill structure
State machine pattern
StateMachine class_name
100%
100%
State class_name
0%
100%
State children registration
0%
100%
Active state PROCESS_MODE_INHERIT
0%
100%
state_changed signal declaration
0%
100%
state_changed emission
50%
100%
State virtual methods
80%
100%
transition_to validation
0%
100%
enter/exit lifecycle
80%
100%
Static typing
100%
100%
@export for references
100%
100%
Private variable underscore
100%
100%
Without context: $0.4806 · 7m 57s · 17 turns · 137 in / 7,795 out tokens
With context: $0.8575 · 11m 11s · 29 turns · 209 in / 10,692 out tokens
Resource-based data system
Extends Resource
100%
100%
class_name on Resource
100%
100%
@export for data fields
100%
100%
@export_range usage
0%
0%
@export_multiline usage
0%
100%
Data-only resource
100%
0%
Runtime copy via duplicate()
66%
100%
Signal on resource
100%
100%
@export resource reference
100%
100%
Static typing
100%
100%
Private variable underscore
0%
100%
Without context: $0.3496 · 4m 54s · 13 turns · 105 in / 5,926 out tokens
With context: $0.7013 · 8m 11s · 25 turns · 234 in / 8,251 out tokens
Object pooling and performance optimization
PROCESS_MODE_DISABLED on inactive
40%
100%
visible=false on inactive
100%
100%
returned_to_pool signal connection
75%
100%
on_spawn() lifecycle hook
0%
100%
on_despawn() lifecycle hook
0%
100%
can_grow export
25%
100%
@onready node caching
100%
66%
Pre-allocated reusable arrays
50%
100%
Disable processing when idle
100%
80%
Static typing throughout
70%
80%
Without context: $0.3932 · 9m 9s · 15 turns · 121 in / 6,555 out tokens
With context: $0.5660 · 5m 27s · 23 turns · 172 in / 6,212 out tokens
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.