agentleFS
trinity-workstrinity-works/frostwind/.claude/skills/add-world/SKILL.md

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.

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
  1. Very specific:

    Write the physics and its citations in docs/<WORLD>.md and the habitat dossier in docs/life/<WORLD>.md.

    line 13
  2. Very specific:

    Check: npm run test:palette, npm run test:lighting.

    line 38
  3. Very specific:

    Check: npm run test:biome.

    line 48
  4. Very specific:

    Check: npm run verify, npm run test:frame, then look at a frame (frame-check skill).

    line 65

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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, patch
  • water: warped (threshold on a warped fbm), basins (cosine bowls), karst (the swamp chain) or oasis (one deflation pool)
  • dry, deep: the traversal surfaces. ground: the surface remap
  • worldTrail, 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

  • SUN and ALBEDO rows and a <world>Ramps() in src/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.
  • SURFACE rows in src/surface.js. Append only: the index is a persisted byte.
  • SCENES row in src/scene.js: ramps (the snap list, 64 colours at most), precipitation, fog, aer, reflection. WORLD_NAMES row.

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.
  • HABITAT rows and TIERS in src/biome.js. A habitat row states the placement axis: water and el, hydroperiod and depth, or sand.
  • LAYERS cell sizes for the world in cells, jitter in jit.

Check: npm run test:biome. Draw one species with node tools/trees.mjs.

4. Life and culture

  • Profiles in src/life.js with the world in biomes.
  • Cohort rows in ROSTER in src/world/life-field.js.
  • Culture packages in src/culture.js, named in the plan's cultures.
  • Traveller row in src/people.js. Music row in src/music.js.

Check: npm run test:life, npm run test:people.

5. The door in

  • World menu entry and colour in src/index.html.
  • PLACES in test/capture.mjs, so frame conformance draws the world.
  • A rule in .claude/rules/<world>.md, then npm 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 to STAGES in src/worldgen.js, and a branch in naturalLakeAt (src/world/water.js) and in waterMask (src/world/chunk-bake.js), keyed on PLAN.water.
  • A new ground: a painter in src/world/ground.js, selected by PLAN.water. paintTemperate already serves any world that remaps the shared geometry through ground.
  • A new built form: a module on src/construct.js, a footprint and slab, an atlas entry, and a row in test/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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.