StarKnightt/world-taste
定好美术方向、找真实参考照,逐项检查地形、光照、水面和植被,直到画面站得住。

Suggested prompts
About this skill
world-taste
An agent skill for building 3D worlds in the browser that read as real places at a real time of day: three.js, react-three-fiber or WebGPU scenes, browser games, walkable environments, dioramas and cinematic rides, in any style from photographic to handmade.
Ask an agent for a 3D world and you usually get the same thing: flat light, one green, plastic water, a camera floating in the sky. world-taste replaces that with a process. The agent declares the world and the one shot people will remember, picks one of twenty art directions (each with real numbers for sun angle, sun colour, fog, exposure and palette), collects real reference photos for every camera it plans, then builds one system at a time: terrain, sky and light, water, grass, trees, props, characters, audio. After every system it opens the world in a real browser, screenshots it from fixed cameras, measures the frames, lays them next to the references and fixes the biggest difference. A world is not done until there is proof: a contact sheet with no must-fix flags, the hero shot next to its reference, and a slow-motion strip if anything moves.
It carries the rules learned from twenty-plus browser worlds shipped in public (a cycling road, a boat ride, a fishing river, an island, a festival, a valley ride, a train). A gallery of two worlds built with the skill, a photographic train ride and a handmade paper town, each with the brief that made it, the references it used and what the check caught, shows the quality bar and the range. None of it is content to copy: your brief and your references decide the world.
It also carries a working start: a small kit of WebGPU modules taken from the train (sky and time of day, fog, sun and shadows, terrain, grass, trees, water, post-processing, a camera director and a loading screen), a valley template that wires them together, a script that fetches free-licence reference photos for every camera, and a capture script that puts a still from every camera next to its references.
It runs on your machine only: Markdown instructions and a few small scripts, no telemetry, no API keys. The browser
check and the capture open only your local build and write screenshots next to it. The refs script talks only to
Wikimedia Commons. Reference photos go into refs/ with their credits and never ship in the build.
Install
npx skills add StarKnightt/world-taste
Or copy skills/world-taste/ into your agent's skills folder. Works with any agent that supports
Agent Skills (Claude Code, Codex, Cursor, Gemini CLI, OpenCode, ...). Then ask for a world:
- "a walkable misty pine valley at sunrise, ground level, with a river"
- "an endless cinematic train ride through the countryside at golden hour, with a director mode for recording"
- "a cozy paper town the morning after the first snow, realism 4"
- "a neon street after rain at night, eye level, with puddle reflections"
- "make this scene look less like a tech demo" (in a project that already has one)
- "realism 3, denser, more life" (to turn the dials on a world in progress)
What is inside
skills/world-taste/
|-- SKILL.md the process: declare, direction, references, build order, browser check, slop list, ship
|-- references/ loaded on demand:
| |-- gallery.md two worlds built with the skill: brief, declare block, references, what the check caught,
| | and real reference photos next to the frames they shaped
| |-- observations-example.md the train's reference targets: sampled colours, ratios, proportions
| |-- art-directions.md twenty looks with sun angle, sun colour, sky, fog, exposure and palette numbers
| |-- systems.md tested three.js recipes: renderer, sky, terrain, water, grass, audio
| |-- motion.md characters, animals and riders, and the 0.25x slow-motion test
| |-- check.md how to wire the browser check and read its report
| `-- ship.md recording mode, the hero start, README and asset licences
|-- assets/
| |-- gallery/ frames from The Golden Line and Paper Snow, the quality bar;
| | gallery/refs/: the real photos behind them, with credits and licences;
| | gallery/range/: six AI-generated direction frames of other places, clearly labelled
| `-- lib/ the kit (three.js WebGPU + TSL, MIT): sky and time of day, fog, sun and shadows,
| terrain, grass, trees, water, post, camera director, loading screen
|-- templates/
| `-- valley/ a valley at golden hour on the kit: cameras on keys 1-5, vite + singlefile build
`-- scripts/
|-- new-world.mjs starts a project from a template, with the kit and scripts copied in
|-- refs.mjs 2-3 free-licence reference photos per camera from Wikimedia Commons, with credits
|-- capture.mjs a still from every camera preset of a built world, next to its references
|-- world-check.mjs the browser check: fixed-camera shots, measurements, flags, contact sheet
`-- world-taste-hook.js drop-in fixed cameras so every check takes the same shots
examples/meadow-lake/ a small world built from the recipes
The browser check needs Playwright in your project (pnpm add -D playwright && pnpm exec playwright install chromium;
an installed Chrome works too). With the dev server running:
node skills/world-taste/scripts/world-check.mjs --url http://localhost:5173 --refs refs --out .world-check
It flags blank frames, crashes and missing assets, a camera under the terrain, flat or blown-out light, crushed blacks, one green
across every plant, oversaturation, frames far off from the references, rendering below full resolution, and motion
that freezes or falls apart at 0.25x. Each run writes to a fresh .world-check/run-*/ folder and prints the report and contact-sheet paths, preserving existing files and earlier runs. Then the agent reads that run's contact-sheet.png to catch what numbers
cannot: grey shadows, plastic water, wrong scale.
To start a new outdoor world from the kit:
node skills/world-taste/scripts/new-world.mjs my-world
cd my-world
pnpm install && pnpm exec playwright install chromium
node tools/refs.mjs --plan refs-plan.json # reference photos for each camera, into refs/
pnpm dev # keys 1-5 cameras, C director, drag to look
pnpm build && pnpm capture # stills and side-by-side sheets in stills/
Change src/world.js (land, hour, cameras) and src/props.js (what stands in it); the kit stays as it is.
Try the example: npx serve examples/meadow-lake, then open /?cam=shore.
Credits
The builder-and-critic loop behind the check is Matt Shumer's gauntlet loop. The brief, direction and verify structure was inspired by Leon Lin's Taste Skill for frontend design. Built by Prasenjit Nayak.
License
MIT
