Skip to content
m4bwav edited this page Nov 19, 2026 · 5 revisions

threewright teaches an AI coding agent current three.js (r186, three 0.186.1) and gives it a way to prove a page works before it says so. It is a plugin of ten agent skills, a knowledge base of 93 entries, twelve verified starter templates and one command-line tool, tw (node scripts/tw.mjs, Node 22+, no dependencies). tw serves a page from 127.0.0.1 to a headless Chrome and reports what happened as text: errors, failed requests, renderer and scene numbers, and what the canvas shows.

The smallest real example copies a starter and checks it:

tw new html-importmap site
tw check site/

The check ends with this line when the page rendered and nothing went wrong (the full output is on Commands):

result: OK (no exceptions, errors, failed requests, three deprecations or scene warnings)

On these pages tw stands for node <plugin>/scripts/tw.mjs, where <plugin> is the folder the plugin is installed in.

Pages

  • Getting started: install the plugin, what tw needs, the first commands.
  • The skills: what each of the ten skills owns.
  • Commands: every tw command with real output.
  • The knowledge base: kinds, release ranges, searching, the lint rules.
  • Templates: the twelve starters and how each was verified.
  • Errors and edge cases: what check, lint and glb report, exit codes, known limits.
  • Recipes: check a page, upgrade an old project, inspect a model, make a video, catch a leak.
  • Versions and upgrading: the releases and what changed, 1.6.0 included.
  • FAQ: GPUs, WebGPU, offline use, privacy, other agents.
  • Development: tests, evals, how a release is made.

Elsewhere: the README, the CHANGELOG, the releases and the issues. The current release is 1.6.0 (2026-11-18).

Works with other plugins

polywright, sfxwright, askwright: see Works with for what each pairing does.

Clone this wiki locally