Move Rust game monsters, items, loot, effects, spawn weights, level gates, and balance numbers into validated data files using Serde-friendly schemas.
SkillScore100Maintained
Automatic
◆Coding pack
Last verified 8/16/2026
What it changes
Passed 22 of 22 test cases with the skill, and 20 of 22 without it.
Without skill91%
With skill100%
Checks it passed that the model alone missed
Recommends keeping behavioral and procedural calculations inside Rust systems
Recommends converting the parsed template struct into a component bundle for entity creation
Recommends restricting data files to declarative parameters and schemas rather than code or script logic
2 fixed20 passed either way0 still failing0 broke
Pass-rate lift
+9 pp
Tokens
-17%
Agent turns
0%
Response time
-24%
Model gemini-3.6-flashMeasured 8/16/2026v122 of 22 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 2 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 2
Prompt
When a level generator reads a template struct loaded from disk, what transformation must occur before the ECS engine can manage the object?
What was checked, without and with the skill
Checked
Without skill
With skill
Recommends converting the parsed template struct into a component bundle for entity creation
Missed
Passed
case-15 · gemini-3.6-flash · 8/16/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md28 lines2 files
Rust Data Driven Game Content
Use this skill to move game content out of Rust code and into validated data
files. Keep schemas small, explicit, and aligned with components the game can
actually spawn.
Core Workflow
Identify repeated hard-coded spawn data.
Design a Serde-friendly schema for entities, effects, spawn levels, and
weights.
Load data at startup or level generation with clear errors.
Convert templates into component bundles through one spawn boundary.
Add validation for missing fields, impossible levels, invalid effects, and
empty spawn tables.
Keep balance changes in data and behavior changes in Rust systems.
Read Next
Read references/data-driven-content-patterns.md for schema design,
RON/Serde notes, spawn weighting, validation, and review checks.
Source Notes
Guidance is transformed and paraphrased from Hands-On Rust Chapters 13, 14,
and 15 and from the official companion source repository. Current crate context
was checked against Serde and RON docs. Verify the target project's chosen data
format and dependency versions before editing.