Procedural Generation is an engine-neutral skill for generating levels, terrain and drops from rules and a seed. It covers seeded RNG, dungeon layouts, caves, wave function collapse, noise terrain and weighted loot tables, with Godot and Unity mappings.
The central rule is determinism: one seed gives one world, so bugs replay and players can share seeds. The agent generates into simple data structures, validates every result and runs a seed sweep before asking you to play named seeds.
What You Get
- A seeded RNG setup with child streams per system, so one new roll does not reshuffle a layout
- A small PRNG whose sequence you own, with pinned test outputs, for seeds that must survive updates
- A weighted drop table and notes on bags and pity timers
- A seed sweep that reports failures, distinct maps and floor ratio over many seeds
- Reference notes on rooms and corridors, BSP, drunkard’s walk, cellular caves and WFC
- Reference notes on noise terrain, biomes, island shaping and scatter placement
Common Use Cases
- A dungeon generator whose rooms must all be reachable from the spawn
- Noise terrain and biomes that do not line up in bands
- Daily challenges or shareable world seeds that must replay the same map
- Loot tables with rarities and guaranteed drop rates
What Makes It Unique
It pairs each algorithm with a validation step, so generation code always comes with a check. The seed sweep tests determinism, reachability and distribution across hundreds of seeds, and a second process run catches hash-order drift. It also warns that Python, .NET and Godot do not promise stable sequences across versions, and shows how to ship your own PRNG.
Under The Hood
The skill is a SKILL.md with two reference files, one on dungeon generation and one on noise. The agent writes Python generator and test code in your project and runs it, including the seed sweep in two separate processes to compare digests. For engine-side generators it follows the headless test approach of the Godot testing skill. It does not fetch web pages or call outside services.