Skip to content
SkillMixed3,707 tokens in use

defold-core

Helps an agent build and debug Defold 1.14 games in Lua: collections, input focus, messages, factories, proxies, a project checker and Bob builds.

9,684 stars on the repository Apache License 2.0gamedev-skills/awesome-gamedev-agent-skills · skills/other-engines/defold-core
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 defold-core costs

98tokens idle
3,707tokens in use
7,791tokens, 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 Mixed

Script-ledMixedModel-led

Scripts do part of the work and the model's judgement does the rest.

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

Touches

shelldetected

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
  • Examples15/15
  • Output15/15
  • Size15/15
  • Resources11/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 structure, wire and verify a Defold 1.14 game. It reads game.project and the main collection first, edits the right file type, checks resource references with a bundled Python script and builds with Bob.

It covers the Lua script lifecycle, the input stack, addressing and msg.post messages, factories, collection factories and collection proxies. A gotcha list explains on_input that never fires, proxies that never load, Bob errors about missing collections and Java version failures.

What You Get

  • A five-step workflow from inspecting game.project to editing files, running the checker, building with Bob and running a headless bundle
  • Patterns for project references, collections and game objects, script lifecycle and properties, the input stack, addressing and messages, factories and proxies
  • A Python checker that finds missing or wrong-case resource paths, missing compiled suffixes and requires without files
  • Reference files with verified editor file formats and build and run commands, plus a gotcha list of Bob and runtime errors

Common Use Cases

  • Fixing on_input that never fires
  • Loading a level with a collection proxy that never sends proxy_loaded
  • Repairing Bob build errors about missing resources
  • Spawning bullets or enemy waves with factories

What Makes It Unique

The skill ships a read-only checker that finds the references Bob will fail on, including the compiled suffix mistake in game.project, before any build. It also insists that a build is not proof the game works and asks for a headless run with a required finishing line in the log.

Under The Hood

The agent loads the SKILL.md and, when needed, references on editor file formats and build commands. It runs a bundled Python script that reads the project’s text files, which its own description says is read-only and needs no Defold install. It edits Defold resource and Lua files in your project, runs the Bob jar with Java to build, and runs a headless engine bundle under a timeout, reading the log. Bob can fetch library dependencies and the references describe downloading the Bob jar. The headless engine opens local service ports, so one engine should run at a time.

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