add-world
Skill87 starsChanged 15 days agoMITView on GitHub
Add a new world (biome) to Frostwind, or extend one, as plan rows and tables. Use when the task is a new biome, a new landform, a new water model, or a new species, surface or settlement for a world.
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/animals.mdcCursor rule
- .cursor/rules/build.mdcCursor rule
- .cursor/rules/built-form.mdcCursor rule
- .cursor/rules/caveman.mdcCursor rule
- .cursor/rules/cost-control.mdcCursor rule
- .cursor/rules/desert.mdcCursor rule
- .cursor/rules/frame-palette.mdcCursor rule
- .cursor/rules/hollow.mdcCursor rule
- .cursor/rules/life.mdcCursor rule
- .cursor/rules/morphology.mdcCursor rule
- .cursor/rules/people.mdcCursor rule
- .cursor/rules/pixel-review-gate.mdcCursor rule
- .cursor/rules/projection.mdcCursor rule
- .cursor/rules/reporting-language.mdcCursor rule
- .cursor/rules/spells.mdcCursor rule
- .cursor/rules/swamp.mdcCursor rule
- .cursor/rules/world.mdcCursor rule
- add-characterSkill
- frame-checkSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Write the physics and its citations in docs/<WORLD>.md and the habitat dossier in docs/life/<WORLD>.md.
- Very specific: line 38
Check: npm run test:palette, npm run test:lighting.
- Very specific: line 48
Check: npm run test:biome.
- Very specific: line 65
Check: npm run verify, npm run test:frame, then look at a frame (frame-check skill).
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Add a world
A world is data. State it in the tables below, in this order, and run the named check after each step. Add code only where the last section says so.
Research first. Each row needs an authority: a measured value with its source,
a derived value with its derivation, or an authored value named as authored.
Write the physics and its citations in docs/<WORLD>.md and the habitat dossier
in docs/life/<WORLD>.md.
1. The plan
BIOMES in src/biome.js, one row:
scene,lat,ring(place kinds),common,relief,patchwater:warped(threshold on a warped fbm),basins(cosine bowls),karst(the swamp chain) oroasis(one deflation pool)dry,deep: the traversal surfaces.ground: the surface remapworldTrail,trailClear,bankStones,pavedTrail,stand,shrubPatch- settlement flags and
slots(authored siting intent),cultures,portals
Portals are pairs. Add the return row to the world on the other side.
2. Light and colour
SUNandALBEDOrows and a<world>Ramps()insrc/sunlight.js. A ramp is derived from reflectance and the world's sun, never typed as RGB.- Register the ramps and the haze in
src/palette.js. SURFACErows insrc/surface.js. Append only: the index is a persisted byte.SCENESrow insrc/scene.js:ramps(the snap list, 64 colours at most),precipitation,fog,aer,reflection.WORLD_NAMESrow.
Check: npm run test:palette, npm run test:lighting. An intentional ramp
change moves the baseline through npm run palette:update.
3. Flora
- Species rows in
src/species.js. HABITATrows andTIERSinsrc/biome.js. A habitat row states the placement axis:waterandel,hydroperiodanddepth, orsand.LAYERScell sizes for the world incells, jitter injit.
Check: npm run test:biome. Draw one species with node tools/trees.mjs.
4. Life and culture
- Profiles in
src/life.jswith the world inbiomes. - Cohort rows in
ROSTERinsrc/world/life-field.js. - Culture packages in
src/culture.js, named in the plan'scultures. - Traveller row in
src/people.js. Music row insrc/music.js.
Check: npm run test:life, npm run test:people.
5. The door in
- World menu entry and colour in
src/index.html. PLACESintest/capture.mjs, so frame conformance draws the world.- A rule in
.claude/rules/<world>.md, thennpm run rules.
Check: npm run verify, npm run test:frame, then look at a frame
(frame-check skill).
When code is needed
A new model needs a stage change, a new world does not.
- A new water model: a stage in
src/world/, added toSTAGESinsrc/worldgen.js, and a branch innaturalLakeAt(src/world/water.js) and inwaterMask(src/world/chunk-bake.js), keyed onPLAN.water. - A new ground: a painter in
src/world/ground.js, selected byPLAN.water.paintTemperatealready serves any world that remaps the shared geometry throughground. - A new built form: a module on
src/construct.js, a footprint and slab, an atlas entry, and a row intest/archcast.mjs.
Key every branch on a plan field. npm run lint checks the stage wiring: a
stage reads from w only names that an earlier stage returns.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

