Skip to content
Back to skills

3d World Building

ASecurity

Build a website the visitor travels through by scrolling (Next.js App Router, React Three Fiber, three.js). Four kinds - a 3D world made in code (a valley, a cafe, orbit); a product on a stage built from its own print artwork with no model (a can, a bottle, a box, a device), which turns, opens and comes apart; a film of photoreal frames played by the scroll; a real place scanned on a phone. It interviews, builds on what the owner has (their idea, brand, label artwork, footage, photographs, mo...

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
developmentjavascriptgojavabashreactnextjsnoderailsapiperformance

Works with

  • cli
  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 20 files and shows the line behind each finding

Scanned December 5, 2026

npx -y skills add haseeb090/3d-world-building --skill 3d-world-building --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 3d World Building?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 3d World Building
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/haseeb090-3d-world-building/badge)](https://www.skillsdirectory.com/skills/haseeb090-3d-world-building)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: 3d-world-building
license: MIT
description: Build a website the visitor travels through by scrolling (Next.js App Router, React Three Fiber, three.js). Four kinds - a 3D world made in code (a valley, a cafe, orbit); a product on a stage built from its own print artwork with no model (a can, a bottle, a box, a device), which turns, opens and comes apart; a film of photoreal frames played by the scroll; a real place scanned on a phone. It interviews, builds on what the owner has (their idea, brand, label artwork, footage, photographs, models, scans), proposes options designed from the brief, scaffolds a running site, audits every frame and tunes it for weak devices. Use it whenever the user asks for a 3D website, a 3D journey or walkthrough, a cinematic, immersive or scroll-story site, a 3D product or packaging page, a scroll-driven video site, a 3D portfolio or landing page, a virtual tour, or wants to extend, restyle, audit or optimise one, even if they only say "make my site more cinematic", "show our can in 3D" or "turn my shop into an experience".
---

# 3D World Building

A site made with this skill is one scene and many rides through it. The scene is mounted once
and keeps running from page to page. Each page hands it a **journey**: a rail for the camera,
where the light stands, notes pinned to places, what moves and when. The page's copy is ordinary
HTML that scrolls over the scene, and the scroll position is the ride's clock.

What the scene holds is one of four kinds, and the best sites mix them:

| Kind | The visitor gets | Made from | Guide |
|---|---|---|---|
| **A world** | A ride through a place built in code | The builder, terrain and scatter | `references/world-design.md` |
| **A product** | The thing itself on a stage: it turns, changes flavour, opens, comes apart | The pack's shape and the owner's flat artwork. No 3D model is needed. | `references/products.md` |
| **A film** | Photoreal frames played by the scroll, with no WebGL | A video, a render, or any ride of this skill baked into frames | `references/films.md` |
| **A place** | A real room or garden, ridden on the same rails | A scan made on a phone | `references/places.md` |

Whichever it is, a site may also have parts that hinge, slide, turn and come apart with the ride
(`references/moving-parts.md`), and page pictures that ripple in the scene, a lens that pulls
focus and changes of page that are moves, not cuts (`references/effects.md`). Each of these
joins a site as a **kit**: files of its own that a site takes on only when it uses them, so a
world site is no heavier for the rest. And any of them may give a little under the visitor's
hand: air that parts round the pointer, a product that leans to it and rocks when it is
clicked, a picture with another under it (`references/world-design.md`, "What answers the
hand"). One or two to a site, chosen for what the thing is.

The skill carries no look of its own. The world or stage, its palette, its light, how things
are shaded and how the notes are drawn are all designed for the site in hand, from its own
brief. What it does carry is what makes that fast and safe: a builder for any kind of world,
forms for any kind of pack, twenty working examples across the four kinds, an engine that paces
itself, the order of work, and the lessons of the builds before it.

## What is in this folder

| Path | What it is | Read it |
|---|---|---|
| `references/interview.md` | What to ask for and how to turn it into a brief | First, before any design |
| `references/owner-material.md` | The owner's own idea, brand, current site, photographs and 3D models: what to keep exactly, how to make files small, how they go into the page and the world | Whenever a brief comes with any of them |
| `references/world-ideas.md` | A catalogue of worlds, products, films and places: who each suits, what it is made of, how the ride goes | When proposing directions |
| `references/world-design.md` | Turning the brief into a world, rides, a palette and a look | Before the concept stage |
| `references/products.md` | A product on a stage: forms, finishes, moves, what to ask the owner for, the picture where there is no WebGL | When one thing is for sale and should be seen |
| `references/material-tools.md` | Tools that check and prepare an owner's artwork and photographs: a label's fit, an outline from a photograph, cut-outs, an atlas, foil and emboss maps | Before any artwork goes into a site |
| `references/films.md` | A film played by the scroll: where frames come from, sizes and budgets, stops, phones | When the subject must look real, or the owner has footage |
| `references/places.md` | A scanned place: capturing, cleaning, making it small, privacy, rails inside a scan | When a real place must be recognised |
| `references/moving-parts.md` | Parts that hinge, slide, turn and come apart with the ride; meshing gears; text in the world | When something in the scene must move |
| `references/effects.md` | Page pictures drawn in the scene (and a second picture under one), a lens, changes of page, cards that lean and blocks that open: when each earns its place and what it costs | Before adding any of them |
| `references/devices.md` | Checking in other browser engines and on the owner's own phone | Before a site ships |
| `scripts/new-site.cjs` | One command that lays down a new site that already builds and rides | To start a site |
| `worlds/` | Twenty working examples. `worlds/index.json` says what each is and of which kind. | Start from the nearest and consult the others for technique |
| `kits/` | What a site takes on for one more kind of experience: `product`, `film`, `place`, `moving`, `effects`, `devices` | Added by `new-site.cjs` with the example, or later by `scripts/add-kit.cjs`. Never copied by hand. |
| `starter/` | The new site's own files: the builder, terrain, scatter and shading, the theme, the app | To see what a new site begins as |
| `starter/components/journey/journeys/README.md` | The journey API: every field a page can set | When writing a page |
| `references/architecture.md` | How the engine and the world-building layer fit together | Before changing either |
| `references/performance.md` | What makes it cheap to run, in order of payoff, and what was tried and thrown out | Before the performance pass, and before changing the frame loop |
| `references/measuring.md` | How to measure honestly: weak-GPU stand-in, real pace, pixel comparison | Before any number is quoted |
| `references/copy-motion.md` | Entrances for the copy over the world, in each world's own hand: headings arriving, key phrases marked, all played once and measured | When the copy reads flat next to the journey, before animating any text |
| `references/review-and-shipping.md` | Auditing frames and motion, showing work, shipping, cleaning up | Before showing anything |
| `scripts/` | Capture, check and measure tools (`scripts/README.md`) | When checking or measuring |

## The order of work

Work in this order. Each stage ends in something the owner can say yes or no to, which is what
keeps weeks from going into a direction they then reject (it happened twice on the first build).

1. **Interview.** Ask for the sources, read them, say which kind of site they make, ask only
   what they leave open, and write the brief. List everything of the owner's that was handed
   over, and what of it is kept exactly. Design nothing yet.
   → `references/interview.md`, `references/owner-material.md`
2. **Skeleton.** Scaffold the site (below) from the example nearest in kind, and put the
   owner's name in. It rides from the first minute. Where the owner handed over artwork,
   footage or a scan, check it with the kind's own tool and put it in now: an owner who sees
   their own label turning in the first hour says yes or no to the right thing.
3. **Concept.** Two or three worlds, and two to four palettes, each designed from the brief and
   shown as a real option in the skeleton: a world file of plain shapes with a home ride, a
   theme in the picker. They are judged by scrolling them, not by reading about them. Recommend
   one of each and say why; the owner picks, or takes the recommendation. Say for each what in
   it would answer the visitor's hand, if anything should. Where the owner
   already pictures the world, it is the direction: the options are variations of it, and the
   palettes are built round their brand. For a product, a film or a place the options are of
   the same sort: the stage and its light, which moments are the stops, the palette. Only a
   palette has a switch on the page (the picker, `?theme=`). A stage or a set of stops is shown
   as pictures of each side by side (`shoot.cjs` on each), with the recommended one built in.
   A scanned place the owner has described stop by stop has no second world to offer: its
   options are the palettes and the hour of what is built round it. Say so, and do not invent
   an alternative to fill the count.
   → `references/world-ideas.md`, `references/world-design.md`, and the guide for the kind
4. **World and pages.** Build the home journey first, then the other pages as rides through the
   same world. For a bespoke brief, build each named landmark before writing its panel. For a
   craft or mechanism, rough out the hardest action first and check what a visitor can recognise
   with its caption hidden. Use the close-up guidance in `references/world-design.md`.
   Aim its camera and note at that landmark's actual coordinates in the world file. One page at a
   time, each checked as it lands. Give the copy its own entrances in
   the world's hand, so it holds its own against the scene. → `references/copy-motion.md`
5. **Audit.** Every beat of every page, at several scroll positions and window sizes, with
   WebGL off, and the motion driven by hand. Follow the primary link and check its URL, tab
   title and heading.
   Match each promised step to an object you can point to in its frame. For a "learn more"
   destination, name one thing the visitor learns there beyond the home page. Revise any stop
   or page that misses its promise. → `references/review-and-shipping.md`
6. **Performance and devices.** The engine already paces itself; measure the new scene on a
   weak GPU and a slowed CPU and fix what the numbers show. Then run it in the other browser
   engines, and have the owner open the device report on their own phone.
   → `references/performance.md`, `references/measuring.md`, `references/devices.md`
7. **Ship.** Tests, build, the page checks, push on the owner's word, then open the live site in
   a real browser. Remove what the release does not use in the same commit.

For a smaller request on an existing site (a new page, a slow page, a new palette, a look that
is off), skip to the reference that covers it.

## Starting a new site

```bash
node <skill>/scripts/new-site.cjs <folder> --world valley     # or any in worlds/index.json
node <skill>/scripts/new-site.cjs <folder> --kind product --form can --label art.png
                                                               # the first example of a kind, with the owner's own file on it
cd <folder> && npm install && npm run dev                      # http://localhost:3000
npm test                                                       # journeys, world, theme, pacing, and each kit's own
node <skill>/scripts/add-kit.cjs <folder> moving               # one more kind, in a site that exists
```

What comes out is a complete Next.js app (App Router, JavaScript): the chosen example world, a
home page of four beats, a second page that shows the scene cutting from one ride to another
without reloading, a loader, a phone layout, a bar for comparing palettes, and every pacing rule
in `references/performance.md`. Each example was built, served and pictured as it stands. Then:

- `data/site.js`: the site's name and address.
- `components/journey/theme.js`: the look. Replace the placeholder themes with ones designed from
  the brief.
- `components/journey/world/world.js`: the world. Replace the example with the subject's own,
  using `build.js`, `terrain.js` and scatter, and `ASSETS` for the owner's own models and
  pictures.
- `components/brand/Mark.js` and `app/icon.svg`: a stand-in mark, in the header, the loader and
  the browser tab. Replace both with the owner's logo, unchanged.
- `components/journey/journeys/` and `routes/copy.js`: a journey and its words for each page.

If the installed Next.js is newer than the one you know, read its own docs in
`node_modules/next/dist/docs/` before writing anything Next-specific.

A world may also say what drifts in its air (`AIR`: dust, snow, rain, leaves, fireflies,
embers, bubbles) and how its water moves (`waves`). Every example has one or the other; see
`references/world-design.md` for when a world wants them.

## Companion skills

This skill owns the world, the rides, the engine and its performance. The page that floats over
the world (type, panels, buttons, the header, forms, the words of the loader) is ordinary web
design, and a design skill does that part well. None is required. If one is installed, use it
there, once the world and the palette are chosen:

- **impeccable** (`npx skills add pbakaus/impeccable`). Treat the site as its *Experience* mode:
  the world is the subject and the page layer is a guest in it. Its critique, typeset, layout,
  polish and audit passes suit the routes and their CSS. Two of this skill's rules hold over
  it: every colour still comes from `theme.js` (the page reads the `--j-*` variables, and no
  stylesheet names a colour of its own), and nothing may hide the world the copy is about.
- Any other design skill, on the same terms.

Say which companion was used, and what it changed, when showing the work. Without one, the page
rules in `references/world-design.md` are enough.

## Rules that hold everywhere

Each of these cost a round of rework to learn. The reasons matter more than the wording: apply
the reason when a case is not listed.

- **Design the look for this site.** The example worlds and the themes that come with the
  starter are placeholders that prove the machinery. A real site's world, palette, light,
  shading and notes come from its own brief. Never carry one site's look into another, and
  never ship a placeholder as the design.
- **Offer choices as real options on the page**, with labels in plain words that say what each
  is for and which one is live, and recommend one. Described options get approved and then
  rejected on sight. Where the owner would rather not choose, or cannot be reached, take the
  recommendation, make it the default and say which it was. The picker is for the owner's
  choosing: it and the themes not chosen come out before the site is public.
- **The owner's material outranks the skill's.** Their idea of the world, brand colours, fonts,
  logo, photographs and models are used as given. Say what is hard to build and offer the
  nearest version that keeps it; never swap it for something easier without asking.
  → `references/owner-material.md`
- **Never invent a fact.** Dates, numbers, employers, clients and product claims come from a
  source the owner gave or confirmed. The site is read as their word.
- **Ask what must not appear** before writing any copy or diagram: unreleased work, client and
  supplier names, personal contact details, a face. Then list it in `NEVER` (`data/site.js`),
  which the tests guard, because a later edit by someone who did not hear the answer will
  otherwise put it back. The guard reads `copy.js`, `data/site.js` and the journeys' chapters,
  labels and notes. Words typed straight into a route file, a page's `metadata`, or drawn in
  artwork are not read: keep every word in `copy.js`, and look at the artwork.
- **Use the owner's artwork, footage and scan as they are.** A label is wrapped on the pack
  unchanged, a film is their frames, a scan is their room. A generated model garbles lettering
  and a redrawn label is no longer theirs: where a likeness is made some other way, the real
  artwork is laid back on, and the owner is told what was made and from what.
- **Photoreal belongs in frames; a live scene is for what the visitor steers.** Food, fabric,
  a face and a finished render look right as a film and wrong as a model. A thing the visitor
  turns, opens or chooses is worth drawing live.
- **A scan keeps the light it was made in, and whatever the phone saw.** Set the theme's light
  to agree with it; build what must move, open or be read close; keep every rail inside the
  place's `walk` box. What is not the owner's to show (a person who has not agreed themselves,
  a neighbour's door) is cropped out of the file itself, whatever the owner says, because the
  file can be downloaded whole. The owner cannot consent for someone else.
- **A site carries only the kinds it uses.** A kit comes in by `new-site.cjs` or `add-kit.cjs`,
  never by copying files across, and the two lists the engine reads are never edited by hand.
- **Show it in the world, do not list it.** A section of copy that has no place in the scene
  showing it reads as a slideshow with a 3D wallpaper.
- **The camera holds one view while the visitor reads** and turns only between stops. Sway,
  chasing a subject and cutting through a subject were each reported as faults.
- **Section stops are for a page of a few beats that each say one thing** (`stops: true` in the
  journey: a film, a product, a pitch). Never under a long page of reading, where the visitor
  stops wherever a sentence is.
- **In this engine a palette sets the light and the page.** The paints of things belong to the
  world and are baked in when the page loads, so a palette that recolours things needs a reload
  or world paints that read the theme.
- **Whatever moves takes its time from the scene's clock**, never from a count of frames or a
  timer of its own. The scene is not drawn on every frame the display shows, so frame counts lie.
- **A performance change that alters a pixel is a design change.** Put it behind a switch on the
  page and let the owner choose. Compare frames to prove the ones that claim to change nothing.
- **Measure before and after, at the pace the page really runs.** Flat-out timings on an
  integrated GPU mislead in ways `references/measuring.md` explains.
- **Stills hide motion faults, and a passing build hides a blank scene.** Scroll the page
  yourself in wheel-sized steps and look at the pictures before saying it is ready. A contact
  sheet of chosen frames once hid fourteen faults; this skill's own starter once built cleanly,
  ran without an error and drew nothing, until its frames were looked at.
- **Chrome on this desk is not the visitor's phone.** Run the check in the other engines, ask
  the owner to open the device report on the phone they carry, and say which devices no one
  has looked at. → `references/devices.md`
- **Commit and push only when the owner says so**, and say plainly what was not checked.

## When the work is done

Leave the project able to carry on without this conversation: the brief in the repo, the README
beside the journeys kept true, tests that guard the form of every journey, the theme's
legibility and the things that must not appear, and notes in memory for what the owner said
that no file records.

Files in this skill

  • SKILL.md11.7 KB
  • agents/openai.yaml366 B
  • assets/icon.png20 KB
  • assets/icon.svg1.5 KB
  • references/architecture.md10.7 KB
  • references/copy-motion.md15.9 KB
  • references/interview.md6.8 KB
  • references/measuring.md6.8 KB
  • references/performance.md14 KB
  • references/review-and-shipping.md7 KB
  • references/world-design.md16.4 KB
  • references/world-ideas.md10.8 KB
  • scripts/README.md5.4 KB
  • scripts/accesscheck.cjs7.6 KB
  • scripts/cmp.cjs1.3 KB
  • scripts/finalcheck.cjs3.3 KB
  • scripts/focuscheck.cjs4.4 KB
  • scripts/frames.cjs6.4 KB
  • scripts/gpu.cjs6.7 KB
  • scripts/hook.cjs1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.