brief2motionlisted
Install: claude install-skill qualixar/brief2motion
# brief2motion 1.0.0
A brief goes in. A working site comes out in `site/`, with `REPORT.md` proving every line of the brief with a measured number or a named screenshot, and an `http://localhost` address the user can open.
Work in this order every time: **route, spec, build, check, fix, deliver.** A page that looks right on your screen is not a page that works on a phone, with a keyboard, or for someone who has motion switched off.
## 0. Before you start
Run the doctor once per machine:
```bash
bash <this skill's folder>/scripts/doctor.sh
```
Required: Node.js 22+ and a Chrome or Chromium the checker can start (Google Chrome, `chromium` on PATH, Playwright's Chromium, or a path in `BRIEF2MOTION_CHROME`). If something required is missing, give the user the command the doctor printed and stop. The first check downloads `playwright-core` 1.65.1 (about 14 MB, install scripts off) into `~/.cache/brief2motion/deps`. Python 3 is optional (the preview server has a Node twin). ffmpeg and the brief2mp4 skill are only for a video.
Work inside one project folder. Never write outside it.
## 1. Route: pick the stack and the style from the brief
Save the brief as `BRIEF.md`, word for word, then:
```bash
node <this skill's folder>/scripts/route.mjs BRIEF.md
```
It prints a stack, a style, the phrases in the brief that led there, and the reference files to read. It is a keyword scorer and has never seen the product, so treat it as a first proposal: read the brief again, agree or ov