Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Move Rust game monsters, items, loot, effects, spawn weights, level gates, and balance numbers into validated data files using Serde-friendly schemas. Use when replacing hard-coded spawn functions, adding RON or JSON content templates, or making game content editable without recompiling.
.claude/skills/hashgraph-online-rust-data-driven-game-content/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-02 | ✗→✓ | ▲ Improved | -7% | 0% |
| case-15 | ✗→✓ | ▲ Improved | -49% | 0% |
| case-11 | ✓→✓ | = Same ✓ | 0% | 0% |
| case-20 | ✓→✓ | = Same ✓ | -16% | 0% |
| case-09 | ✓→✓ | = Same ✓ | -37% | 0% |
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.
weights.
empty spawn tables.
Read references/data-driven-content-patterns.md for schema design, RON/Serde notes, spawn weighting, validation, and review checks.
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.
Other measured skills in the registry, with their headline benchmark lift.