Skip to content
SkillModel-led1,914 tokens in use

godot-resources

Helps an agent model Godot 4.7 game data as custom Resources: class_name and @export fields, .tres files, safe copies and loading.

9,684 stars on the repository Apache License 2.0gamedev-skills/awesome-gamedev-agent-skills · skills/godot/godot-resources
npx skills add gamedev-skills/awesome-gamedev-agent-skills
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing godot-resources costs

86tokens idle
1,914tokens in use
2,814tokens, up to

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Up to adds the files its instructions link. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

Nothing detected: no shell, network, file writes, git or credentials in its files.

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Excellent
  • Frontmatter8/15
  • Structure25/25
  • Examples12/15
  • Output10/15
  • Size11/15
  • Resources15/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent

No findings.

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Good
  • Development activity92
  • Maintenance96
  • Community60
  • Maturity24
  • Momentum40

This skill helps an agent build data-driven Godot 4.7 games with custom Resource classes for items, stats and enemy configs. It covers typed @export fields, hand-written .tres files, loading with preload and load, and copying shared data before changing it.

It includes a headless test that checks a .tres loads as its class and that a duplicate does not share state with the template. A gotcha list explains why editing one enemy changes every enemy and why class_name errors appear only in CI.

What You Get

  • A core workflow from a Resource subclass to .tres instances, node references, loading and duplication
  • A custom item resource, the same item as a hand-written .tres file, and a safe duplicate function
  • A headless test that checks a .tres loads as its class and that a copy is independent of its template
  • A gotcha list for shared references, shallow versus deep copies, res:// being read-only in exports and class_name cache problems on fresh checkouts

Common Use Cases

  • Defining items, stats or enemy configs as data files
  • Fixing a bug where editing one enemy changes every enemy
  • Repairing a .tres file that stops loading after a move
  • Loading large scenes in the background with threaded loading

What Makes It Unique

Most Godot data guides stop at creating a Resource in the editor. This skill writes .tres files as text so an agent needs no Inspector clicks, explains the shared-by-reference trap with the exact deep-copy call for nested resources, and ends with a runnable headless check. Save slots and C# are left to separate skills.

Under The Hood

The agent loads the SKILL.md and, when needed, a reference on threaded loading, local-to-scene resources and custom loaders. It writes GDScript and .tres text files into your project and runs the Godot binary headless, first to import the project and then to run a test script, and reads the exit code. After moving files it also runs the Python project checker from a sibling skill. It fetches no web pages and calls no APIs; without a Godot binary it asks you to run the commands and paste the output.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers