Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## 0.9.0

Driven by round 6, where skilled pages lost on distinctiveness because they shared one frame.

- **A base starter** (`scaffold --kind base`): type with tracking by size, controls, colour, motion kit and fonts, and no layout. New landing pages start here; the full landing starter is for a brief that asks for the standard page.
- **A five-line concept:** the layout is taken from the shape of the product's artifact, and one material (`data-device`) runs through the page.
- **A frame check** (`scripts/frame.mjs`): compares a page's skeleton with the landing starter and with sibling pages, and requires the material to run through.
- **Examples replaced.** The skill's text had used all three eval products as examples, and only the skilled arm read it. Corrected in the round 6 write-up too.
- **Round 7, and what it found.** The skilled pages **still did not beat the baseline**: judged more swappable in 6 of 8 judgements and remembered in 2 of 8, tied on ownability, ahead on design quality (4 against 2). All three judges grouped all four skilled pages as one hand: the base's typeface, button arrow and captions. The frame check passed them all, so it does not catch that. Details and limits in `evals/results/2026-11-26-r7.md`.
- **Fixes:** `--accent` on the base writes the colour given and warns when it is too faint; the base's first and last blocks no longer override a page's own layout.

## 0.8.0

Driven by the verdicts "good but replaceable" and "nothing sets this apart". The craft floor was solid; the weak point was that pages were their own skeleton and nothing else. The skill now makes an agent decide what is ownable before it builds, and gives it grounds and artwork that are not the default.
Expand Down
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Review this screen against our brand guide.
| --- | --- | --- |
| 1 | **Read** | Finds your design rules, watches the screens run and measures the drift. |
| 2 | **Decide the mode** | Persuade, Operate, Read, Experience or Terminal: what the person is doing here. |
| 3 | **Fix the direction** | A three-line concept (what the product makes, what the page shows without its category word, one signature), then five lines on how it should feel and what it must never look like. |
| 3 | **Fix the direction** | A five-line concept (what the product makes, what the page shows without its category word, one signature, a layout taken from that artifact, one material that runs through), then five lines on how it should feel and what it must never look like. |
| 4 | **Branch** | Repairs an existing screen layer by layer, or builds a new one around one star. |
| 5 | **Build** | One section at a time, from your own components, with every state designed. |
| 6 | **Gate** | Runs your lint, types and tests, then measures contrast, target size and tells. |
Expand All @@ -121,15 +121,17 @@ Review this screen against our brand guide.

## Start from a tested page

A blank file is how a page ends up static and generic. For a new screen the agent starts from one of two complete starters, then makes it the product’s own. Both pass every check in the skill, in dark and light, at all four widths.
A blank file loses the craft, and a finished template loses the identity. So a new landing page starts from a base with tested type, controls and motion and no layout, and the agent builds the layout from the product’s own artifact. There are also two complete starters for when the standard shape is what you want. All of them pass the skill’s craft checks.

```bash
node scripts/scaffold.mjs my-page --theme light --palette ember --shape contour
node scripts/scaffold.mjs my-page --kind base --theme light
node scripts/scaffold.mjs my-standard-page --theme light --palette ember --shape contour
node scripts/scaffold.mjs my-app --kind app --theme dark
```

| Starter | What you get |
| --- | --- |
| **Base** (`--kind base`) | Type with tracking set by size, buttons and links with hover and press, focus styles, colour, the motion kit and fonts. `page.css` is empty: the frame is yours. |
| **Landing page** | A lit grainient ground, a floating nav, a product frame, an uneven bento, steps, one big number, a closing call and a footer. The motion kit is wired in: ordered entrance, scroll reveals, count-up, and a hover and press state on every control. |
| **App screen** (`--kind app`) | A sidebar that becomes a menu on a phone, a page header with one primary action, four key numbers, one chart, a table whose status is a word and a dot, and an empty state that says what to do. |

Expand All @@ -150,11 +152,12 @@ Plain Node scripts with no dependencies. The agent runs them for you, and you ca
| `scripts/signs.mjs <url or file>` | Finds tells in the rendered page: hue gradients, glows, emoji, hype words, unverified claims, looping animation and more. | `--allow` licenses a device your committed direction uses on purpose |
| `scripts/check.mjs <url or file>` | Reads WCAG contrast from the rendered pixels, so gradients, images and pseudo-element backgrounds are judged too. Also checks touch targets, small text, missing names, focus styles, layout shift and document basics. | `--widths` |
| `scripts/craft.mjs <url or file>` | Hovers every control with a real pointer and diffs the result, so a control that ignores the pointer is caught, not missed. Also flags layout-property transitions and motion that ignores the reduced-motion setting. | `--shots` writes a rest and hover crop per control |
| `scripts/scaffold.mjs <folder>` | Starts a landing page or an app screen from a tested starter. | `--kind`, `--theme`, `--palette`, `--shape`, `--ground`, `--hero`, `--art`, `--minimal` |
| `scripts/scaffold.mjs <folder>` | Starts a base with no layout, a landing page or an app screen. | `--kind`, `--theme`, `--palette`, `--shape`, `--ground`, `--hero`, `--art`, `--minimal` |
| `scripts/inline.mjs <folder>` | Folds a finished page, with its styles, script and fonts, into one file you can send. | `--out page.html` |
| `scripts/lib-add.mjs add <source> <item>` | Pulls real source from Bencho, BoardUI, Aceternity or any shadcn registry. Files only, with the licence notice. | `--dry-run`, `--out` |
| `scripts/dotify.mjs <image or svg>` | Turns a picture or drawn SVG into dithered, halftone, hex-dot, engraved-line or ASCII art for a hero object. | `--mode`, `--invert`, `--fill`, `--bg` |
| `scripts/swap.mjs <url or file>` | The swap-the-name test. With the product name removed, does the first screen still use the nouns of the product's own subject, and does its artwork name them? It catches a page where only the skeleton is the product's own. It cannot judge the picture. | `--nouns`, `--name`, `--typographic` |
| `scripts/frame.mjs <page> …` | The frame check. Is the skeleton different from the landing starter and from sibling pages, and does one material run through the page? It compares structure, so a pass does not mean the page is memorable. | `--no-starter`, `--no-device`, `--threshold` |
| `scripts/score.mjs <url or file>` | Runs every check and prints one score out of 100, with what cost points. | |
| `scripts/term-shot.mjs -- <command>` | Runs a terminal program at a set width in a real pseudo-terminal and captures its text and an image. | |

Expand Down Expand Up @@ -196,9 +199,9 @@ Each brief was built twice by the same model, once with no skill and once with i

Across the first three rounds the skill won 9 of 12 comparisons, with a mean mechanical score of 96 against 62. On a later plain brief that never mentioned how it would be judged, the motion and hover score was 75 with the skill and 31 without.

In round 6 the comparison was blind, with the product name masked and two judge agents, and it went the other way on distinctiveness: the skilled pages scored 89 against 43 on the mechanical checks, but the judges found the baseline pages more ownable and more memorable in all six comparisons, because the three skilled pages shared one frame. The write-up says what that means and what to change.
Rounds 6 and 7 compared pages blind, with the product name masked and judge agents who built neither page, and asked about distinctiveness. The skill did not win. In round 6 the baseline pages were judged more ownable and more memorable in all six comparisons. In round 7, after changes, the skilled pages came out ahead on design quality (4 judgements to 2, with 2 equal) but were still remembered less (2 of 8) and judged more swappable (6 of 8), and every judge saw the four skilled pages as one hand. If you need a page that could only be yours, treat the skill as a craft floor and push the idea yourself.

The limits are real: one reviewer in the early rounds, a round that was not blind, and both sides on the same model. The skill lost two comparisons in the first round, because it made clean pages where the other side drew something memorable. The guide and recipes for that one rich moment came from those losses. [Read all six rounds.](evals/results)
The limits are real: one reviewer in the early rounds, a round that was not blind, and both sides on the same model. The skill lost two comparisons in the first round, because it made clean pages where the other side drew something memorable. The guide and recipes for that one rich moment came from those losses. [Read all seven rounds.](evals/results)

## Questions

Expand Down
11 changes: 6 additions & 5 deletions SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ One fixed run for every request. Do the steps in order. Each step names the file
| --- | --- | --- | --- |
| 1 | **Read** | Find the project's design rules, establish what is real, see the screens running, measure the drift | [references/read.md](references/read.md) |
| 2 | **Decide the mode** | Persuade, Operate, Read, Experience or Terminal: what the person is doing here | [references/modes.md](references/modes.md) |
| 3 | **Fix the direction** | The concept in three lines (native artifact, the page without its category word, one signature, and why this ground), then five lines: product, character, world, moments, signature. From the project's rules if it has them | [references/direction.md](references/direction.md), [devices.md](references/devices.md) |
| 4 | **Branch** | Existing screen: repair layer by layer. New screen: build around one star. **A new landing page starts from `scripts/scaffold.mjs`**, not from a blank file | [fix.md](references/fix.md) or [build-new.md](references/build-new.md) |
| 3 | **Fix the direction** | The concept in five lines (native artifact, the page without its category word, one signature and why this ground, the layout taken from the artifact, one material that runs through), then five lines: product, character, world, moments, signature. From the project's rules if it has them | [references/direction.md](references/direction.md), [devices.md](references/devices.md) |
| 4 | **Branch** | Existing screen: repair layer by layer. New screen: build around one star. **A new landing page starts from `scripts/scaffold.mjs --kind base`**: tested type and controls, your own layout | [fix.md](references/fix.md) or [build-new.md](references/build-new.md) |
| 5 | **Build** | One section at a time, from the project's own parts, with every state | [build.md](references/build.md), [components.md](references/components.md), [motion.md](references/motion.md), [hover.md](references/hover.md), [materials.md](references/materials.md) |
| 6 | **Gate** | The project's checks, then measured design checks | [references/gate.md](references/gate.md) |
| 7 | **Look** | Render at four widths, hover every control, fix what shows, up to three rounds | [look.md](references/look.md), [feels-cheap.md](references/feels-cheap.md), [hover.md](references/hover.md) |
Expand All @@ -48,7 +48,7 @@ Also load, as the work needs them: the surface file for the mode ([web-app](refe
8. **Look before you show.** Render the real screen at 320, 390, 1440 and 2560 px (terminal: 60 and 120 columns). Do not claim a width looks fine if you did not render it.
9. **Measure, do not guess.** Run the scripts. The report's numbers come from them.
10. **Be honest.** If a check fails, say so with the output. If a step was skipped, say that. If something is left over, list it.
11. **Own the artwork, not only the skeleton.** A page is replaceable when only its layout is its own. Write the concept (`direction.md`) before the first scaffold, choose one signature, keep the rest calm, and pass the swap-the-name test at the gate.
11. **Own the frame, not only the artwork.** A good picture inside the usual layout is still a template. Write the concept (`direction.md`) before the first scaffold, take the layout from the shape of the artifact, carry one material through the page, keep the rest calm, and pass the swap and frame checks at the gate.
12. **Every control answers.** Each interactive element gets a designed hover and a press state, and a page gets one entrance. Look at the hover state, not only the resting one.

## Tools
Expand All @@ -61,11 +61,12 @@ Plain Node 22+ scripts in `scripts/`, no installs, using the Chrome on the machi
| `scripts/drift.mjs <url or file> --save before.json` | Counts font sizes, weights, radii, colours, spacing in use; later `--against before.json` |
| `scripts/signs.mjs <url or file> [--allow "Tell"]` | Finds machine-made tells in the rendered page; `--allow` licenses devices a committed direction uses on purpose |
| `scripts/check.mjs <url or file>` | Contrast, touch-target size, small text, missing names |
| `scripts/scaffold.mjs <folder> --theme dark --palette midnight` | Starts a landing page from a complete, tested starter: lit grainient ground, floating nav, product frame, bento, steps, closing call, footer, with the motion kit and open fonts wired in. Replace every `data-todo`; `signs.mjs` reports any left. `--minimal` drops the optional sections for a short brief. The lit gradient is the default of machine-built pages, so choose the ground on purpose: `--ground flat --palette cobalt|mint|sand` or `--ground frame` are first-class; `--hero card` crops the product card at the fold with a traced diagram and annotation chips; `--art column|vase|sphere|drape|strata` puts a duotone print in the split hero (a stand-in for the product's own artifact). `--kind app` starts an app screen instead: sidebar, header, key numbers, chart, table and empty state, tested the same way. `inline.mjs <folder> --out page.html` folds the result into one file |
| `scripts/scaffold.mjs <folder> --kind base` | Starts a page with the craft and no layout: type with tracking by size, controls, focus, colour, motion kit and open fonts; you write `page.css` from the concept. `--theme`, `--accent`, or `--palette` (a lit palette, or the flat tones `cobalt`, `mint`, `sand`). `--kind landing` (the default of the script) is the whole standard page, for a brief that asks for the standard shape or cannot spare the time; its frame is shared by every page started from it (flags in `landing-craft.md`). `--kind app` starts an app screen: sidebar, header, key numbers, chart, table and empty state. `inline.mjs <folder> --out page.html` folds the result into one file |
| `scripts/lib-add.mjs add bencho <item>` | Pulls real source from Bencho, BoardUI, Aceternity or any shadcn registry (files only, with a licence notice and the packages to install). See `libraries.md` |
| `scripts/craft.mjs <url or file> [--shots dir]` | Hovers every control with a real pointer and diffs both the computed style and the pixels, so a control that ignores the pointer, or answers it invisibly, is caught; also flags transitions on layout properties and motion that ignores the reduced-motion setting |
| `scripts/dotify.mjs <image or svg> --mode hex` | Turns any picture or drawn SVG into dithered, halftone, hex-dot, engraved-line or ASCII art for a hero object; `--fill` and `--bg` make it a two-colour duotone |
| `scripts/swap.mjs <url or file> --nouns "clause,redline" --name Marrow` | The swap-the-name test: with the product name removed, does the first screen still use the product's own nouns, and does its artwork name the artifact? Refuses nouns that fit any product. Catches a page where only the skeleton is owned |
| `scripts/swap.mjs <url or file> --nouns "tide,harbour" --name Neap` | The swap-the-name test: with the product name removed, does the first screen still use the product's own nouns, and does its artwork name the artifact? Refuses nouns that fit any product. Reads the first screen only |
| `scripts/frame.mjs <page> [<other page>...]` | Is the skeleton its own? Compares nav, composition, section order and style traits with the landing starter and with sibling pages, and requires a `data-device` material that runs through the page. A pass means "not the same skeleton", never "distinctive" |
| `scripts/score.mjs <url or file>` | Runs every check and prints one score out of 100 |
| `scripts/term-shot.mjs -- <command>` | Runs a terminal command at a given width and captures text and image (needs Python 3) |

Expand Down
2 changes: 1 addition & 1 deletion assets/recipes/annotate.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// the chip says what to look at, the arrow says where, the lines say how the card connects to the rest.
//
// import { chip, heroDiagram, annotationCss } from './annotate.mjs';
// chip({ label: 'Clause 4.2 deviates', x: 8, y: 30, pointer: 'br' }) // HTML, positioned in % of its parent
// chip({ label: 'High water 14:10', x: 8, y: 30, pointer: 'br' }) // HTML, positioned in % of its parent
// heroDiagram({ width: 1200, height: 520, card: { x: 200, y: 250, w: 800 }, seed: 2 }) // an SVG string
//
// Rules that keep it honest (references/directions.md, "Annotations"): a chip points at something real in the
Expand Down
2 changes: 1 addition & 1 deletion assets/recipes/duotone.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export const SUBJECTS = {
return tone(0.5 - dx * 0.035 + (n(u * 9, v * 9) - 0.5) * 0.06);
});
},
// A cylinder on its side, cut into wavering layers: a core sample, a rolled length of tape, a stack of pages.
// A cylinder on its side, cut into wavering layers: banded rock, a rolled length of tape, a stack of pages.
strata(w, h, { seed = 1 } = {}) {
const n = valueNoise(seed, 3);
const tones = [0.9, 0.35, 0.65, 0.12, 0.78, 0.5];
Expand Down
Loading
Loading