Command Palette

Search for a command to run...

Назад к скиллам
скилл № 37961

procedural-generation

Use when generated maps, rooms or terrain must be reproducible and playable, when some seeds trap players, or when chunk generation order changes the world.

БесплатноБез исполняемых скриптов
jammyfuот jammyfu★ 27 звёзд на GitHub

Установить procedural-generation в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Procedural generation

Scope

Own world construction and validity, not map UI, surface shading or streaming residency. World map owns discovered information; rng-seed owns random streams. Preserve authored areas and player edits. A decoration generator need not become a full world generator.

Modes

Mode Representation
room-graph connected rooms and progression constraints
heightfield single-valued elevation over a plane
voxel volumetric occupancy or density, including caves
tile-constraint local adjacency plus separately validated global goals

Procedure

  1. Specify the generator/version, configuration hash, seed encoding, units, bounds and player traversal kit. Separate hard validity constraints from visual preferences: safe spawn, reachable exit, prerequisites before locks, required resources and legal return/reset paths. A heightfield cannot represent arbitrary overhangs; choose another representation when required.
  2. rng-seed owns RNG algorithm/version, named stream derivation and serialized stream state. Request stable streams from that owner using semantic subsystem and global chunk identities; do not derive a second random algorithm here or let request order choose outcomes. This generator stores its versioned recipe plus edit deltas and the RNG stream references/state required for continuation. A seed alone does not guarantee reproducibility across algorithms, versions or physics backends.
  3. Generate coarse topology before decoration. Enforce progression-aware reachability, including collected abilities/keys and resource costs where relevant. A geometric flood fill does not prove a key puzzle or a jump is solvable. Validate with the actual movement metrics and collision representation.
  4. Sample shared borders in global coordinates, including negative coordinates, and coordinate ownership of boundary objects. Do not independently reseed each chunk edge. Merge authored/player changes by explicit precedence rather than regenerating them away.
  5. Bound attempts, time and repair scope. Log the original failing seed/configuration before deterministic repair or a declared fallback. Unsatisfiable tile constraints must terminate with a useful diagnostic; do not silently remove required progression gates to claim success.

Outputs

Adapt the generation contract: recipe and versions, constraints, seed corpus, per-seed diagnostics, edit precedence and repair/fallback record. Keep expensive generation off the critical input path through the engine's supported job system; commit finished data at an owned boundary.

Acceptance

Re-run saved failures and a stated sampled seed corpus; compare topology/data hashes for the same version/configuration and for different chunk request orders. Test unreachable exits, locked keys, negative coordinates and exhausted retry budgets. Report coverage and failures; sampled success is not proof for every seed. Cases remain not-run until executed. Runtime reachability needs more than a source review.

References

Tiled terrain constraints illustrate local edge/corner matching. They do not establish global puzzle solvability. Godot RandomNumberGenerator documents seed/state behavior; inspect the installed version before promising compatibility.

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • assets/contract.example.json
  • assets/evals.json

FAQ

Что делает скилл procedural-generation?

Use when generated maps, rooms or terrain must be reproducible and playable, when some seeds trap players, or when chunk generation order changes the world.

Как установить скилл procedural-generation?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл procedural-generation запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить procedural-generation с