@jonandev/longbeard 0.12.1 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +1 -2
- package/CHANGELOG.md +28 -0
- package/beard.json +3 -6
- package/package.json +2 -2
- package/skills/design/SKILL.md +22 -36
- package/skills/design-brief/SKILL.md +3 -1
- package/skills/design-check/references/design-rules.md +2 -1
- package/skills/design-content/SKILL.md +2 -0
- package/skills/design-direction/SKILL.md +61 -87
- package/skills/design-direction/references/design-rules.md +2 -1
- package/skills/design-direction/references/full-build.md +7 -6
- package/skills/design-direction/references/graphic.md +1 -5
- package/skills/design-direction/references/grid.md +48 -65
- package/skills/design-direction/references/library.md +2 -0
- package/skills/design-direction/references/screen-template.html +1 -1
- package/skills/design-direction/scripts/canvas.mjs +308 -0
- package/skills/design-direction/scripts/moodboard.mjs +238 -96
- package/skills/design-families/SKILL.md +16 -15
- package/skills/design-families/scripts/families.mjs +2 -1
- package/skills/design-families/scripts/moodboard.mjs +238 -96
- package/skills/design-figma/SKILL.md +2 -0
- package/skills/design-identity/SKILL.md +8 -1
- package/skills/{design-direction → design-identity}/references/controls.md +10 -10
- package/skills/design-identity/references/identity-board.html +2 -2
- package/skills/design-moodboard/SKILL.md +41 -77
- package/skills/design-moodboard/references/sources.md +12 -1
- package/skills/design-moodboard/scripts/families.mjs +2 -1
- package/skills/design-moodboard/scripts/moodboard.mjs +238 -96
- package/skills/design-prototype/SKILL.md +49 -68
- package/skills/design-prototype/references/design-md-template.md +1 -0
- package/skills/design-prototype/references/design-rules.md +2 -1
- package/skills/design-prototype/references/five-second.md +2 -3
- package/skills/design-prototype/references/graphic.md +1 -1
- package/skills/design-prototype/scripts/drift.mjs +273 -0
- package/skills/design-wordmark/SKILL.md +2 -0
- package/skills/design-direction/references/five-second.md +0 -47
|
@@ -15,135 +15,116 @@ description: >
|
|
|
15
15
|
**Uses if there:** `docs/design/design-content.md`, `docs/design/design-moodboard.md`
|
|
16
16
|
**Writes:** `DESIGN.md`
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
A prototype they approve (in `.longbeard/design/prototype/`, gitignored), then **`DESIGN.md`**, committed. Then `design-figma`. Read [design-rules.md](references/design-rules.md) before the first screen: it is the checklist here and in `design-check`.
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
**At every stop,** say what is new and the one question, in up to five lines: a path or a sheet instead of pasted content, one line per option, nothing they already know.
|
|
21
21
|
|
|
22
22
|
## Gate
|
|
23
23
|
|
|
24
24
|
1. No `docs/design/design-direction.md` → `design-direction`. No `docs/design/design-identity.md` → `design-identity`. Stop, and say which.
|
|
25
25
|
2. `DESIGN.md` exists with token tables (rows like `color/ink`) → **Feature loop**.
|
|
26
|
-
3. Otherwise → **First pass**. A `DESIGN.md` with no token tables is one they brought: say
|
|
26
|
+
3. Otherwise → **First pass**. A `DESIGN.md` with no token tables is one they brought: say this writes ours, and ask before replacing it.
|
|
27
27
|
|
|
28
28
|
A graphic (the brief's surface): read [graphic.md](references/graphic.md) first.
|
|
29
29
|
|
|
30
|
-
Read the brief,
|
|
30
|
+
Read the brief, the design brief, the identity, the direction and `design-content.md` if there. The chosen first screen is `.longbeard/design/direction/prototype/first.html`; if it is gone, rebuild it from the direction's composition and the identity, and say so.
|
|
31
31
|
|
|
32
|
-
**At `pace: quick
|
|
32
|
+
**At `pace: quick`:** options only when asked (build the one that follows the first screen, and name the fork). States, contrast, the walks and the five-second check are never skipped.
|
|
33
33
|
|
|
34
34
|
## First pass
|
|
35
35
|
|
|
36
36
|
### 1. Finish the first screen
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
`first.html` is a fixed 1440×900 page. Build `home.html` (or the brief's first key screen) from it as a real, responsive page, on one stylesheet every key screen shares, and compare captures at 1440: it must still be the screen they chose. Then:
|
|
39
39
|
|
|
40
|
-
- **
|
|
41
|
-
- **Spacing:** as built,
|
|
42
|
-
- **The rest of the page:**
|
|
43
|
-
- **Motion
|
|
44
|
-
- **What waits for the prototype
|
|
45
|
-
- **The ownable**, finished
|
|
46
|
-
- **The states** a person can reach here (empty, loading, error), and the second theme if the design brief asked for both.
|
|
40
|
+
- **Faces** loaded at every size. A stand-in face is said again.
|
|
41
|
+
- **Spacing:** as built, 0.8 and 1.25 (margins and gaps scaled), whole and on a crop where margin meets navigation. They pick.
|
|
42
|
+
- **The rest of the page:** below the first screen, small text, every width down to the phone.
|
|
43
|
+
- **Motion:** exactly the design brief's `motion` line, nothing beyond (`none` is state changes only). Build from the direction's `motion:` line: replay its base reference (`capture.mjs <url> --frames 12`), build that motion in CSS, and say whose it was. Honour `prefers-reduced-motion`.
|
|
44
|
+
- **What waits for the prototype** (the direction's `for the prototype` line): placed in the composition's own system, never shrinking the headline or tidying a device. Where it forks (the full list here, or a line and a link), two or three options.
|
|
45
|
+
- **The ownable**, finished. **The states** reachable here (empty, loading, error), and the second theme if asked for.
|
|
47
46
|
|
|
48
47
|
### 2. The other key screens, in one go
|
|
49
48
|
|
|
50
|
-
List them once, navigation's details first (the menu open, on scroll, on a phone):
|
|
51
|
-
|
|
52
49
|
> I'll prototype <the menu>, <screen>, <screen>. Change the list?
|
|
53
50
|
|
|
54
|
-
Then build them all, linked
|
|
51
|
+
Then build them all, linked, in the identity and the direction; one menu, one card, one row, one heading style everywhere.
|
|
55
52
|
|
|
56
|
-
- **Layout:**
|
|
57
|
-
- **The direction's devices carry over
|
|
58
|
-
- **Density** as the design brief's `dense` asks
|
|
59
|
-
- **Real content
|
|
60
|
-
- **States
|
|
53
|
+
- **Layout, closest first:** the screen the direction already built for it (`screens.json`'s `"test": true`); else the base reference's own screen of that kind (its card's `also` shots); else that kind of screen from a reference in the base's family; else from any reference; else the first screen's own system. Never its content. A layout from another product takes the first screen's measures (the direction's `holds across screens`), never its own. Say which in the screen's one line.
|
|
54
|
+
- **The direction's devices carry over:** overlaps, crops, giant type, empty space appear on every screen, never tidied (`data-crop` on text cropped on purpose). Each screen gets the direction's touch-up: contrast where text sits, its items and primary action present, nothing plainly broken.
|
|
55
|
+
- **Density** as the design brief's `dense` asks: airy 1–2 shows less, dense 4–5 shows more and keeps spacing tight.
|
|
56
|
+
- **Real content:** copy in the voice, the longest real names, every section a person needs. Follow `design-content.md`; without it, draft only from what the brief gives and say what they must supply. Say the copy is a draft. Pictures: theirs or the subject's stand-ins in `.longbeard/design/pictures/`; never grey boxes, never a reference's subject.
|
|
57
|
+
- **States:** empty, loading and error where reachable (`?state=empty`), every width, each theme.
|
|
58
|
+
- **Marked, not hidden:** `data-standin="picture"` or `"fact"` (with `data-standin-note`) on anything the product does not really have yet.
|
|
61
59
|
|
|
62
|
-
|
|
60
|
+
A pattern that brings a feature the brief does not have is named; kept, it is a product change (`idea`) first.
|
|
63
61
|
|
|
64
|
-
|
|
62
|
+
**Parts, if they want,** on any screen, as in the direction: name its parts in one line, "Open any part?", and three or four versions of the one part they open, in place, each from a reference that shows that part; "find more" is `design-moodboard`'s one piece. A part changed on one screen changes everywhere it is used.
|
|
65
63
|
|
|
66
64
|
### 3. Show it, and name the forks
|
|
67
65
|
|
|
68
|
-
Give the paths
|
|
66
|
+
Give the paths, one line per screen. Name every fork (a screen the references arrange in clearly different ways, or where you had to choose); never pick silently.
|
|
69
67
|
|
|
70
68
|
> Click through. Want options anywhere? I'd offer them for <forks>.
|
|
71
69
|
|
|
72
|
-
**Options
|
|
70
|
+
**Options**, only at a fork or when asked: two to four layouts from different references, on one sheet (`sheet.mjs`), never ranked. Nothing fits → `design-moodboard`, one piece.
|
|
73
71
|
|
|
74
72
|
### 4. Self-check
|
|
75
73
|
|
|
76
|
-
Capture every screen and state at desktop and phone, each theme
|
|
74
|
+
Capture every screen and state at desktop and phone, each theme, and run the scripts. Fix what fails before they see it.
|
|
77
75
|
|
|
78
76
|
```
|
|
79
77
|
node <skill>/scripts/capture.mjs "file://$PWD/.longbeard/design/prototype/home.html?capture" --out <scratch>/home.png
|
|
80
78
|
node <skill>/scripts/capture.mjs "file://$PWD/.longbeard/design/prototype/home.html?capture" --out <scratch>/home-phone.png --width 390
|
|
81
79
|
node <skill>/scripts/screen-contrast.mjs "file://$PWD/.longbeard/design/prototype/home.html" --wait-title ready
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
`screen-contrast.mjs` reads the whole page down to `--max-height` (10000 px), and takes `--level AAA` at that brief. Say in the self-check where it stopped if it did not reach the bottom, and list every text it printed as "not read" (a colour it could not resolve, a fill clipped to the letters): those are unchecked, not passed. Exit 1 is a failing text, 3 is a run that did not finish.
|
|
85
|
-
|
|
86
|
-
Check them against the rules: Idea first, then hard (structure, contrast, targets, focus, states, labels), then soft. Fix what fails before they see it.
|
|
87
|
-
|
|
88
|
-
**Run the rules script** on every screen and state, in each theme. It measures what a browser can: sideways scroll at phone width, small targets, inputs without a visible label, a focus that shows nothing, placeholder copy and clipped text.
|
|
89
|
-
|
|
90
|
-
```
|
|
91
80
|
node <skill>/scripts/rules.mjs "file://$PWD/.longbeard/design/prototype/home.html" --screen home
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
It prints findings in `design-check`'s table, each with its rule. Fix every hard one. Words cut off on purpose, the look's own crop, carry `data-crop` in the markup and are skipped; any other cut word is a finding. Fix what it found after every run, then run it again: two runs with no fix between are one round, and so is a first run of another state of the same screen (`?menu=open`, the same `--screen`). The script counts rounds per screen: when it says "rounds used up", stop fixing and tell them what is open. A finding that is wrong is waived with a reason (`--waive <id> --reason "…"`) and still shown to them. A check it could not run is "not checked", never passed. It does not look at overlap, collision, alignment, empty space or section height: those are the look, and only your eye judges them.
|
|
95
|
-
|
|
96
|
-
**Scan the links.** Every page of the prototype, from the first:
|
|
97
|
-
|
|
98
|
-
```
|
|
99
81
|
node <skill>/scripts/links.mjs "file://$PWD/.longbeard/design/prototype/home.html"
|
|
100
82
|
```
|
|
101
83
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
**
|
|
105
|
-
|
|
106
|
-
|
|
84
|
+
- **Contrast** reads the whole page down to `--max-height` (`--level AAA` at that brief). Exit 1 is a failing text, 3 a run that did not finish; "not read" texts are unchecked, never passed.
|
|
85
|
+
- **Rules,** in order: Idea, hard (structure, contrast, targets, focus, states, labels), then soft. `rules.mjs` measures what a browser can (sideways scroll, small targets, unlabelled inputs, invisible focus, placeholder copy, clipped text) and counts rounds per screen: fix after every run; at "rounds used up", stop and say what is open. A wrong finding is waived with a reason (`--waive <id> --reason "…"`), still shown. Overlap, collision, alignment and empty space are the look: only your eye judges them.
|
|
86
|
+
- **The whole set:** every key screen on one sheet, desktop then phone (`sheet.mjs --cols 4`), shown with the prototype so they judge the screens together.
|
|
87
|
+
- **Drift:** what the screens use, measured against the identity:
|
|
88
|
+
```
|
|
89
|
+
node <skill>/scripts/drift.mjs "file://$PWD/.longbeard/design/prototype/home.html" "file://$PWD/.longbeard/design/prototype/menu.html" --identity docs/design/design-identity.md
|
|
90
|
+
```
|
|
91
|
+
It lists each face and colour no screen should have (not in the identity), and counts the type sizes, radii and spacing steps in all, with the screen that adds each one. A face or colour outside the identity is fixed to the identity's; a size, radius or step only one screen uses is brought to the nearest the others use, unless the look needs it, said in one line. It measures; the eye decides the rest.
|
|
92
|
+
- **Links:** every broken link, dead button and page with no way on is fixed. It also lists the stand-ins, and `unmarked` for an unmarked stand-in picture: mark it.
|
|
93
|
+
- **Flow walks:** for each flow in the brief, one fresh agent (on `sonnet` where you can choose) gets the first page and the goal in the person's words, never the steps, clicks through with the browser it has, and says where it went, hesitated, and whether it got there. A failure or a wrong turn two take is fixed inside the identity and the direction. No clean agent: walk it yourself and say it is weaker.
|
|
94
|
+
- **The five-second check,** once, here: the same three strangers see the first screen (against the design brief's takeaway) and each key screen (against what it is for): [five-second.md](references/five-second.md). The first screen's result is `DESIGN.md`'s `five seconds:` line.
|
|
107
95
|
|
|
108
|
-
|
|
96
|
+
Then show them, in a few lines: what the walks and the five-second check found and fixed, anything against the design brief (its words and never word, its never, could it be mistaken for what it must stand apart from), and **what they still supply**: each stand-in from `links.mjs`, one line each, by screen. They give the real one, confirm it, or leave it listed. Ask whether this is the product; iterate until it is.
|
|
109
97
|
|
|
110
98
|
### 5. Approve: write `DESIGN.md` in one go
|
|
111
99
|
|
|
112
|
-
Only on their yes to the rendered prototype
|
|
100
|
+
Only on their yes to the rendered prototype (and the `decides` person's, if named). Write the whole file from [design-md-template.md](references/design-md-template.md):
|
|
113
101
|
|
|
114
|
-
- **Contrast first
|
|
102
|
+
- **Contrast first:** every text, control and focus pair through `contrast.mjs` (4.5:1 body, 3:1 large and non-text; AAA: 7 and 4.5). Never a failing pair, except a liked colour kept: `WARN liked, kept` after the ratio, its why under Decisions.
|
|
115
103
|
```
|
|
116
104
|
node <skill>/scripts/contrast.mjs "#1b1b1f on #fafaf7" "#c2410c on #fafaf7:mark"
|
|
117
105
|
```
|
|
118
106
|
- **Themes:** each colour token once, a value per theme, every pair checked in each.
|
|
119
|
-
- **Tokens are code names** (`color/ink`, `type/body`, `space/md`, `radius/md`, `motion/enter`)
|
|
120
|
-
- **The token block
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
It exits 2 and names the row when a table cannot be read (a value that is not a colour, a token twice). `--check` exits 1 when the block and the tables disagree. The format has its own linter that anyone who wants to can run on the file (its command is in the script's header); it is not a gate here.
|
|
125
|
-
- **What makes it this design** goes under Components, with values, not adjectives.
|
|
126
|
-
- **Soft rules overridden on purpose** go under Decisions, with the reason. A device the chosen look relies on that the rules call a tell is on purpose: write the idea it serves.
|
|
127
|
-
- **Still to supply.** Run `links.mjs` again, show the current list once more, then write it as the template's section: what each stand-in picture shows and what each assumed fact says, by screen, never a file name or where a picture came from; "nothing" when `links.mjs` listed none. Figma and the build read it.
|
|
128
|
-
- **Ideas, not sources.** Nothing names a reference, site, studio, designer, link or `.longbeard/` path.
|
|
129
|
-
|
|
130
|
-
Then run `design-check` in docs mode on `DESIGN.md` and `docs/design/` (it runs `tokens.mjs --check` too): a picture site, a reference, a link or a `.longbeard/` path left in a committed doc (a copied template's comment counts) is fixed before you say it is done.
|
|
107
|
+
- **Tokens are code names** (`color/ink`, `type/body`, `space/md`, `radius/md`, `motion/enter`), the same in Figma. Colour, type, spacing, radius and motion are tables; the direction's `finish:` is the Finish line; the identity's **Adjusted** lines are built in.
|
|
108
|
+
- **The token block** is generated from the tables, never written by hand: `node <skill>/scripts/tokens.mjs DESIGN.md --name "<product>"` (exit 2 names a row it cannot read; `--check` exits 1 when block and tables disagree).
|
|
109
|
+
- **What makes it this design** goes under Components, with values. **Soft rules overridden on purpose** go under Decisions, with the reason.
|
|
110
|
+
- **Still to supply:** `links.mjs` again, then the list by screen, in words, never a file name; "nothing" when empty.
|
|
111
|
+
- **Ideas, not sources:** no reference, site, person, link or `.longbeard/` path.
|
|
131
112
|
|
|
132
|
-
Then
|
|
113
|
+
Then `design-check` docs mode on `DESIGN.md` and `docs/design/` (it runs `tokens.mjs --check`), and fix what it finds. Next: `design-figma`.
|
|
133
114
|
|
|
134
115
|
## Feature loop
|
|
135
116
|
|
|
136
117
|
A feature with screens, once `DESIGN.md` exists.
|
|
137
118
|
|
|
138
119
|
- **Only existing parts:** compose the screens in Figma (`design-figma`) with their states; no prototype.
|
|
139
|
-
- **New parts:** prototype only them, on the real screens around them, in `.longbeard/design/<feature>/`, with 2–3 options where a
|
|
140
|
-
- `DESIGN.md` gets entries (a token, a component, a decision
|
|
141
|
-
- **Identity changes need their own yes
|
|
120
|
+
- **New parts:** prototype only them, on the real screens around them, in `.longbeard/design/<feature>/`, with 2–3 options where a choice is open, then the self-check.
|
|
121
|
+
- `DESIGN.md` gets entries (a token, a component, a dated decision, an item to supply), never a rewrite; `tokens.mjs` refreshes the block.
|
|
122
|
+
- **Identity changes need their own yes,** one at a time, rendered. A rebrand is `design-identity` again.
|
|
142
123
|
|
|
143
124
|
## Do not
|
|
144
125
|
|
|
145
126
|
- Write `DESIGN.md` before they approve a rendered prototype, or rewrite it in a feature.
|
|
146
|
-
- Change the identity or the direction's composition while building screens
|
|
127
|
+
- Change the identity or the direction's composition while building screens: say it, and send it back.
|
|
147
128
|
- Pick a fork silently, or rank options.
|
|
148
|
-
- Ship a screen with grey boxes, lorem, or an item it needs missing
|
|
129
|
+
- Ship a screen with grey boxes, lorem, or an item it needs missing.
|
|
149
130
|
- Name a reference anywhere that is kept.
|
|
@@ -12,6 +12,7 @@ Figma: <file URL>. Figma is the truth for screens. This file is the rules behind
|
|
|
12
12
|
## Idea
|
|
13
13
|
<one sentence: what this product's look says>
|
|
14
14
|
- ownable: <the one element made from the product's own identity, as approved on the prototype>
|
|
15
|
+
- five seconds: <first screen: what it is n of 3, what to do n of 3, feel words; people's answers when given; "not run" and why otherwise>
|
|
15
16
|
|
|
16
17
|
## Voice
|
|
17
18
|
- <three adjectives>
|
|
@@ -150,7 +150,7 @@ These rules decide execution, never the look. The direction and `DESIGN.md` deci
|
|
|
150
150
|
|
|
151
151
|
## 14. Tells
|
|
152
152
|
|
|
153
|
-
**Dated 2026-11-
|
|
153
|
+
**Dated 2026-11-25. Reviewed each release.** Add new tells, retire ones that stopped being defaults.
|
|
154
154
|
|
|
155
155
|
A tell is a device that makes a screen look produced by default rather than designed for this product. Most began as good ideas. They are tells because they arrive without a reason. Every check here is **soft**: present, and `DESIGN.md` gives no reason for it. This list never says what to use instead. That comes from the direction. A device that came with a look they chose on rendered screens is there on purpose: `DESIGN.md` says under Decisions what it does for this product.
|
|
156
156
|
|
|
@@ -167,6 +167,7 @@ A tell is a device that makes a screen look produced by default rather than desi
|
|
|
167
167
|
- [soft] Invented social proof: logos, quotes, star rows or user counts the product does not have.
|
|
168
168
|
- [soft] Every section in the same layout, or the stock order hero, logos, features, testimonial, pricing, call to action, when the argument needs another.
|
|
169
169
|
- [soft] One medium corner radius on everything, chosen by default rather than on purpose.
|
|
170
|
+
- [soft] A face that is the platform's or the framework's default (Inter, Roboto, the system UI stack) with no reference behind it.
|
|
170
171
|
|
|
171
172
|
Removing tells is not the goal. A screen with none and no idea fails rule 0.
|
|
172
173
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# The five-second check
|
|
2
2
|
|
|
3
|
-
Read by `design-
|
|
3
|
+
Read by `design-prototype`: the first screen and each key screen, before `DESIGN.md`. It runs once in the design work, here, so the same three strangers see every key screen. The design brief's takeaway says what someone should think and do in five seconds. This checks it on eyes that know nothing about the product. Every other check asks whether the screen follows the rules; this one asks whether it works.
|
|
4
4
|
|
|
5
5
|
## With fresh agents
|
|
6
6
|
|
|
@@ -34,8 +34,7 @@ One table: the takeaway's think and do, then each agent's answers, then a verdic
|
|
|
34
34
|
|
|
35
35
|
A miss is a fact for them, not a redesign for you.
|
|
36
36
|
|
|
37
|
-
- **
|
|
38
|
-
- **In the prototype:** the same on each key screen, where "what to do" is that screen's own job (a basket: check out). Fixed inside the identity and the direction.
|
|
37
|
+
- **What it is, or what to do,** on each key screen ("what to do" is that screen's own job: a basket, check out): fixed only with the touch-up's means, inside the identity and the direction. The headline says the takeaway outright, the primary action is present and findable, rank is put right. Shown before and after, run again once. A miss on the first screen that only a different composition would fix is said in one line, and the choice stays theirs: keep it, or go back to `design-direction`.
|
|
39
38
|
- **The feel** is never fixed here. A never word in the answers is said with the screens; changing the look is `design-identity` or the direction again, on their word.
|
|
40
39
|
|
|
41
40
|
## People, offered once
|
|
@@ -11,7 +11,7 @@ For a single piece the prototype finishes the chosen piece and nothing else. For
|
|
|
11
11
|
3. **The self-check.** Capture each piece whole: `--width <w> --clip 0,0,<w>,<h>` at its working size. Then:
|
|
12
12
|
- **Contrast:** `screen-contrast.mjs` as usual.
|
|
13
13
|
- **Rules script:** run `rules.mjs` with `--widths <the piece's width>`. Read only its copy findings (rule 11) and its cut text (rule 5). Its sideways scroll is reported "not checked" above 480 px. Its targets, focus and labels do not apply to a graphic: report any it prints as "not applicable to a graphic" in the self-check. Never fix or waive them, and ignore its exit code and its round count for them.
|
|
14
|
-
- **Walks:** The link scan and the flow walks are not run. The five-second check is, on each piece, at the size it reaches the eye
|
|
14
|
+
- **Walks:** The link scan and the flow walks are not run. The five-second check is, on each piece, at the size it reaches the eye: a poster read across a street, scaled so its long side is about 400 px; a feed post at phone size, about 390 px wide. "What would you do first" is what they would do about it: go, scan, remember the date. It is checked against the design brief's `read from` line and its takeaway.
|
|
15
15
|
- **Facts:** every fact in the brief is on the piece, spelt as the brief gives it.
|
|
16
16
|
- **Trim:** nothing important sits in the trim or the safe margin.
|
|
17
17
|
|
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// What the key screens use, measured across all of them, so the set can be
|
|
3
|
+
// checked as one design. Opens each page headless at 1440 and reads every
|
|
4
|
+
// visible element's computed style: faces, colours (text, fills, borders),
|
|
5
|
+
// type sizes, corner radii and spacing steps. Node 22+, an installed Chrome,
|
|
6
|
+
// no dependencies.
|
|
7
|
+
//
|
|
8
|
+
// node drift.mjs "file://$PWD/.longbeard/design/prototype/home.html" "file://$PWD/.longbeard/design/prototype/menu.html" --identity docs/design/design-identity.md
|
|
9
|
+
//
|
|
10
|
+
// With --identity (the design-identity doc and its `json identity` block),
|
|
11
|
+
// every face and colour a screen uses that the identity does not have is
|
|
12
|
+
// listed as off, with the screens that use it. Without it, only the counts.
|
|
13
|
+
// Sizes, radii and spacing steps are counted, each with the screens that use
|
|
14
|
+
// it, and a value only one screen uses is marked "one screen": a likely drift,
|
|
15
|
+
// or a device the look needs. It never judges the look: it says what is there.
|
|
16
|
+
//
|
|
17
|
+
// Pictures, SVG drawings and anything marked data-standin are skipped. A
|
|
18
|
+
// colour within 3 of an identity colour on every channel is that colour; a
|
|
19
|
+
// colour drawn at an opacity counts as its colour.
|
|
20
|
+
//
|
|
21
|
+
// Exit 0 nothing off the identity, 1 a face or colour off it, 2 usage, 3 could not run.
|
|
22
|
+
// --width 1440, --wait 300 (ms), --json
|
|
23
|
+
import { spawn } from "node:child_process";
|
|
24
|
+
import { existsSync, mkdtempSync, readFileSync, rmSync } from "node:fs";
|
|
25
|
+
import { tmpdir } from "node:os";
|
|
26
|
+
import { join, resolve } from "node:path";
|
|
27
|
+
import { pathToFileURL } from "node:url";
|
|
28
|
+
|
|
29
|
+
const args = process.argv.slice(2);
|
|
30
|
+
const flag = (name, def = "") => {
|
|
31
|
+
const i = args.indexOf(`--${name}`);
|
|
32
|
+
return i === -1 ? def : (args.splice(i, 2)[1] ?? "");
|
|
33
|
+
};
|
|
34
|
+
const has = (name) => {
|
|
35
|
+
const i = args.indexOf(`--${name}`);
|
|
36
|
+
return i === -1 ? false : (args.splice(i, 1), true);
|
|
37
|
+
};
|
|
38
|
+
const identityArg = flag("identity");
|
|
39
|
+
const width = Number(flag("width", "1440"));
|
|
40
|
+
const wait = Number(flag("wait", "300"));
|
|
41
|
+
const json = has("json");
|
|
42
|
+
const urls = args.map((a) => (/^(https?|file):/.test(a) ? a : existsSync(a) ? pathToFileURL(resolve(a)).href : a));
|
|
43
|
+
if (!urls.length || urls.some((u) => !/^(https?|file):/.test(u)) || !(width >= 200 && width <= 3840) || !(wait >= 0 && wait <= 10000)) {
|
|
44
|
+
console.error('usage: node drift.mjs "<url or file>" … [--identity docs/design/design-identity.md] [--width 1440] [--wait 300] [--json]');
|
|
45
|
+
process.exit(2);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// ---- the identity ----
|
|
49
|
+
const GENERIC = new Set(["serif", "sans-serif", "monospace", "cursive", "fantasy", "system-ui", "ui-sans-serif", "ui-serif", "ui-monospace", "-apple-system", "blinkmacsystemfont", "emoji", "math"]);
|
|
50
|
+
const hexOf = (s) => {
|
|
51
|
+
const m = String(s || "").trim().match(/^#?([0-9a-f]{3}|[0-9a-f]{6})$/i);
|
|
52
|
+
if (!m) return null;
|
|
53
|
+
const h = m[1].length === 3 ? [...m[1]].map((c) => c + c).join("") : m[1];
|
|
54
|
+
return `#${h.toLowerCase()}`;
|
|
55
|
+
};
|
|
56
|
+
const rgbOf = (hex) => [1, 3, 5].map((i) => parseInt(hex.slice(i, i + 2), 16));
|
|
57
|
+
let identity = null;
|
|
58
|
+
if (identityArg) {
|
|
59
|
+
if (!existsSync(identityArg)) {
|
|
60
|
+
console.error(`drift: no identity at ${identityArg}`);
|
|
61
|
+
process.exit(2);
|
|
62
|
+
}
|
|
63
|
+
const block = readFileSync(identityArg, "utf8").match(/```json identity\s*\n([\s\S]*?)```/);
|
|
64
|
+
if (!block) {
|
|
65
|
+
console.error(`drift: ${identityArg} has no \`json identity\` block`);
|
|
66
|
+
process.exit(2);
|
|
67
|
+
}
|
|
68
|
+
let parsed;
|
|
69
|
+
try {
|
|
70
|
+
parsed = JSON.parse(block[1]);
|
|
71
|
+
} catch (e) {
|
|
72
|
+
console.error(`drift: the json identity block in ${identityArg} could not be read: ${e.message}`);
|
|
73
|
+
process.exit(2);
|
|
74
|
+
}
|
|
75
|
+
const faces = [parsed.display?.face, parsed.body?.face, ...(parsed.faces || []).map((f) => f.face || f)].filter(Boolean).map((f) => String(f).toLowerCase());
|
|
76
|
+
const colours = (parsed.colours || []).map((c) => ({ name: c.name || "", hex: hexOf(c.hex) })).filter((c) => c.hex);
|
|
77
|
+
identity = { faces: new Set(faces), colours };
|
|
78
|
+
}
|
|
79
|
+
const near = (hex) => identity?.colours.find((c) => rgbOf(c.hex).every((v, i) => Math.abs(v - rgbOf(hex)[i]) <= 3));
|
|
80
|
+
|
|
81
|
+
// ---- the browser ----
|
|
82
|
+
let finished = false;
|
|
83
|
+
function couldNot(why) {
|
|
84
|
+
if (finished) return;
|
|
85
|
+
finished = true;
|
|
86
|
+
console.error(`drift: could not run: ${why}`);
|
|
87
|
+
console.log("not checked: drift (" + why + "). Report it as not checked, never as passed.");
|
|
88
|
+
process.exit(3);
|
|
89
|
+
}
|
|
90
|
+
const watchdog = setTimeout(() => couldNot("the run took more than 120 s"), 120000);
|
|
91
|
+
function findChrome() {
|
|
92
|
+
const env = process.env.CHROME_PATH;
|
|
93
|
+
if (env === "none") return null;
|
|
94
|
+
if (env && existsSync(env)) return env;
|
|
95
|
+
const home = process.env.HOME || process.env.USERPROFILE || "";
|
|
96
|
+
const pf = process.env.PROGRAMFILES || "C:\\Program Files";
|
|
97
|
+
return [
|
|
98
|
+
join(pf, "Google/Chrome/Application/chrome.exe"),
|
|
99
|
+
join(process.env.LOCALAPPDATA || "", "Google/Chrome/Application/chrome.exe"),
|
|
100
|
+
join(pf, "Microsoft/Edge/Application/msedge.exe"),
|
|
101
|
+
"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome",
|
|
102
|
+
"/Applications/Chromium.app/Contents/MacOS/Chromium",
|
|
103
|
+
join(home, "Applications/Google Chrome.app/Contents/MacOS/Google Chrome"),
|
|
104
|
+
"/usr/bin/google-chrome",
|
|
105
|
+
"/usr/bin/google-chrome-stable",
|
|
106
|
+
"/usr/bin/chromium",
|
|
107
|
+
"/usr/bin/chromium-browser",
|
|
108
|
+
].find((path) => path && existsSync(path));
|
|
109
|
+
}
|
|
110
|
+
const exe = findChrome();
|
|
111
|
+
if (!exe) couldNot("No Chrome/Edge/Chromium found. Install one or set CHROME_PATH.");
|
|
112
|
+
const dir = mkdtempSync(join(tmpdir(), "drift-"));
|
|
113
|
+
const proc = spawn(exe, ["--headless=new", "--remote-debugging-port=0", `--user-data-dir=${dir}`, "--no-first-run", "--hide-scrollbars", "--allow-file-access-from-files", "about:blank"], { stdio: ["ignore", "ignore", "pipe"] });
|
|
114
|
+
process.once("exit", () => {
|
|
115
|
+
try {
|
|
116
|
+
proc.kill("SIGKILL");
|
|
117
|
+
} catch {}
|
|
118
|
+
try {
|
|
119
|
+
rmSync(dir, { recursive: true, force: true });
|
|
120
|
+
} catch {}
|
|
121
|
+
});
|
|
122
|
+
let buf = "";
|
|
123
|
+
const wsUrl = await new Promise((done, no) => {
|
|
124
|
+
const t = setTimeout(() => no(new Error("Chrome did not start within 20 s")), 20000);
|
|
125
|
+
proc.on("error", (e) => no(e));
|
|
126
|
+
proc.stderr.on("data", (d) => {
|
|
127
|
+
const m = (buf += d).match(/DevTools listening on (ws:\/\/\S+)/);
|
|
128
|
+
if (m) done(m[1], clearTimeout(t));
|
|
129
|
+
});
|
|
130
|
+
}).catch((e) => couldNot(e.message));
|
|
131
|
+
const ws = new WebSocket(wsUrl);
|
|
132
|
+
await new Promise((done, no) => {
|
|
133
|
+
const t = setTimeout(() => no(new Error("Chrome did not answer within 10 s")), 10000);
|
|
134
|
+
ws.onopen = () => done(clearTimeout(t));
|
|
135
|
+
ws.onerror = () => no(new Error("could not connect to Chrome"));
|
|
136
|
+
}).catch((e) => couldNot(e.message));
|
|
137
|
+
let nextId = 0;
|
|
138
|
+
const pending = new Map();
|
|
139
|
+
ws.onmessage = (ev) => {
|
|
140
|
+
const msg = JSON.parse(String(ev.data));
|
|
141
|
+
if (pending.has(msg.id)) pending.get(msg.id)(msg), pending.delete(msg.id);
|
|
142
|
+
};
|
|
143
|
+
const send = (method, params = {}, sessionId, ms = 15000) =>
|
|
144
|
+
new Promise((done, no) => {
|
|
145
|
+
const id = ++nextId;
|
|
146
|
+
const t = setTimeout(() => (pending.delete(id), no(new Error(`${method} took more than ${ms / 1000} s`))), ms);
|
|
147
|
+
pending.set(id, (m) => (clearTimeout(t), m.error ? no(new Error(`${method}: ${m.error.message}`)) : done(m)));
|
|
148
|
+
ws.send(JSON.stringify({ id, method, params, sessionId }));
|
|
149
|
+
});
|
|
150
|
+
const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
|
|
151
|
+
|
|
152
|
+
// Sent to the page as text: it may use nothing outside itself.
|
|
153
|
+
function readPage() {
|
|
154
|
+
const out = { faces: [], colours: [], sizes: [], radii: [], steps: [] };
|
|
155
|
+
const toHex = (c) => {
|
|
156
|
+
const m = c.match(/rgba?\(([^)]+)\)/);
|
|
157
|
+
if (!m) return null;
|
|
158
|
+
const p = m[1].split(/[ ,/]+/).filter(Boolean).map(Number);
|
|
159
|
+
const a = p.length > 3 ? p[3] : 1;
|
|
160
|
+
if (!(a > 0)) return null;
|
|
161
|
+
return { hex: "#" + p.slice(0, 3).map((v) => Math.round(v).toString(16).padStart(2, "0")).join(""), a: Math.round(a * 100) / 100 };
|
|
162
|
+
};
|
|
163
|
+
const px = (v) => Math.round(parseFloat(v) * 2) / 2;
|
|
164
|
+
for (const el of document.querySelectorAll("body *")) {
|
|
165
|
+
if (el.closest("svg, picture, video, canvas, [data-standin], script, style, noscript, template")) continue;
|
|
166
|
+
if (el.tagName === "IMG") continue;
|
|
167
|
+
const r = el.getBoundingClientRect();
|
|
168
|
+
if (!(r.width > 0 && r.height > 0)) continue;
|
|
169
|
+
const cs = getComputedStyle(el);
|
|
170
|
+
if (cs.visibility === "hidden" || cs.display === "none" || Number(cs.opacity) === 0) continue;
|
|
171
|
+
const hasText = [...el.childNodes].some((n) => n.nodeType === 3 && n.textContent.trim());
|
|
172
|
+
if (hasText) {
|
|
173
|
+
out.faces.push(cs.fontFamily.split(",")[0].trim().replace(/^["']|["']$/g, ""));
|
|
174
|
+
out.sizes.push(px(cs.fontSize));
|
|
175
|
+
const c = toHex(cs.color);
|
|
176
|
+
if (c) out.colours.push({ ...c, as: "text" });
|
|
177
|
+
}
|
|
178
|
+
const bg = toHex(cs.backgroundColor);
|
|
179
|
+
if (bg) out.colours.push({ ...bg, as: "fill" });
|
|
180
|
+
for (const side of ["Top", "Right", "Bottom", "Left"]) {
|
|
181
|
+
if (parseFloat(cs[`border${side}Width`]) > 0 && cs[`border${side}Style`] !== "none") {
|
|
182
|
+
const b = toHex(cs[`border${side}Color`]);
|
|
183
|
+
if (b) out.colours.push({ ...b, as: "border" });
|
|
184
|
+
break;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
const radius = px(cs.borderTopLeftRadius);
|
|
188
|
+
if (radius > 0 && radius < 9999) out.radii.push(radius >= r.height / 2 - 1 && radius >= r.width / 2 - 1 ? "round" : radius >= r.height / 2 - 1 ? "pill" : radius);
|
|
189
|
+
for (const v of [cs.rowGap, cs.columnGap, cs.paddingTop, cs.paddingLeft, cs.marginTop, cs.marginBottom]) {
|
|
190
|
+
const n = px(v);
|
|
191
|
+
if (n > 0) out.steps.push(n);
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
return out;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
const target = await send("Target.createTarget", { url: "about:blank" }).catch((e) => couldNot(e.message));
|
|
198
|
+
const { sessionId } = (await send("Target.attachToTarget", { targetId: target.result.targetId, flatten: true }).catch((e) => couldNot(e.message))).result;
|
|
199
|
+
await send("Page.enable", {}, sessionId);
|
|
200
|
+
await send("Runtime.enable", {}, sessionId);
|
|
201
|
+
await send("Emulation.setDeviceMetricsOverride", { width, height: 900, deviceScaleFactor: 1, mobile: false }, sessionId);
|
|
202
|
+
|
|
203
|
+
const screens = [];
|
|
204
|
+
for (const url of urls) {
|
|
205
|
+
const name = decodeURIComponent(url.split(/[?#]/)[0].split("/").pop() || url).replace(/\.html?$/, "") + (url.includes("?") ? "?" + url.split("?")[1] : "");
|
|
206
|
+
try {
|
|
207
|
+
const loaded = new Promise((done) => {
|
|
208
|
+
const prev = ws.onmessage;
|
|
209
|
+
ws.onmessage = (ev) => {
|
|
210
|
+
prev(ev);
|
|
211
|
+
const msg = JSON.parse(String(ev.data));
|
|
212
|
+
if (msg.method === "Page.loadEventFired" && msg.sessionId === sessionId) (ws.onmessage = prev), done();
|
|
213
|
+
};
|
|
214
|
+
});
|
|
215
|
+
await send("Page.navigate", { url }, sessionId);
|
|
216
|
+
await Promise.race([loaded, sleep(15000)]);
|
|
217
|
+
await send("Runtime.evaluate", { expression: "document.fonts ? document.fonts.ready.then(() => true) : true", awaitPromise: true }, sessionId).catch(() => {});
|
|
218
|
+
await sleep(wait);
|
|
219
|
+
const res = await send("Runtime.evaluate", { expression: `(${readPage})()`, returnByValue: true }, sessionId);
|
|
220
|
+
if (res.result.exceptionDetails) throw new Error(res.result.exceptionDetails.text);
|
|
221
|
+
screens.push({ name, ...res.result.result.value });
|
|
222
|
+
} catch (e) {
|
|
223
|
+
screens.push({ name, failed: e.message });
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
clearTimeout(watchdog);
|
|
227
|
+
finished = true;
|
|
228
|
+
|
|
229
|
+
// ---- the report ----
|
|
230
|
+
const tally = (key, norm = (v) => v) => {
|
|
231
|
+
const map = new Map();
|
|
232
|
+
for (const s of screens) {
|
|
233
|
+
if (s.failed) continue;
|
|
234
|
+
for (const v of s[key]) {
|
|
235
|
+
const k = norm(v);
|
|
236
|
+
if (k == null) continue;
|
|
237
|
+
if (!map.has(k)) map.set(k, new Set());
|
|
238
|
+
map.get(k).add(s.name);
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
return [...map.entries()].map(([value, on]) => ({ value, screens: [...on] }));
|
|
242
|
+
};
|
|
243
|
+
const read = screens.filter((s) => !s.failed);
|
|
244
|
+
const faces = tally("faces", (f) => (GENERIC.has(f.toLowerCase()) ? null : f));
|
|
245
|
+
const colours = tally("colours", (c) => {
|
|
246
|
+
const same = near(c.hex);
|
|
247
|
+
return same ? `${same.hex}${same.name ? ` ${same.name}` : ""}` : c.hex;
|
|
248
|
+
});
|
|
249
|
+
const sizes = tally("sizes").sort((a, b) => a.value - b.value);
|
|
250
|
+
const radii = tally("radii").sort((a, b) => String(a.value).localeCompare(String(b.value), undefined, { numeric: true }));
|
|
251
|
+
const steps = tally("steps").sort((a, b) => a.value - b.value);
|
|
252
|
+
const offFaces = identity ? faces.filter((f) => !identity.faces.has(String(f.value).toLowerCase())) : [];
|
|
253
|
+
const offColours = identity ? colours.filter((c) => !near(String(c.value).split(" ")[0])) : [];
|
|
254
|
+
const report = { screens: screens.map((s) => (s.failed ? { name: s.name, failed: s.failed } : { name: s.name })), identity: Boolean(identity), offFaces, offColours, faces, colours, sizes, radii, steps };
|
|
255
|
+
|
|
256
|
+
if (json) console.log(JSON.stringify(report, null, 1));
|
|
257
|
+
else {
|
|
258
|
+
const one = (r) => (read.length > 1 && r.screens.length === 1 ? ` (one screen: ${r.screens[0]})` : "");
|
|
259
|
+
const line = (label, list, unit = "") => `${label} ${list.length}: ${list.map((r) => `${r.value}${typeof r.value === "number" ? unit : ""}${one(r)}`).join(", ") || "none"}`;
|
|
260
|
+
console.log(`Drift across ${read.length} screen${read.length === 1 ? "" : "s"} at ${width}px${identity ? `, against ${identityArg}` : ""}`);
|
|
261
|
+
for (const s of screens.filter((s) => s.failed)) console.log(`not checked: ${s.name} (${s.failed})`);
|
|
262
|
+
if (identity) {
|
|
263
|
+
console.log(offFaces.length || offColours.length ? "Off the identity:" : "Off the identity: nothing");
|
|
264
|
+
for (const f of offFaces) console.log(`- face ${f.value}: ${f.screens.join(", ")}`);
|
|
265
|
+
for (const c of offColours) console.log(`- colour ${c.value}: ${c.screens.join(", ")}`);
|
|
266
|
+
}
|
|
267
|
+
console.log(line("Faces", faces));
|
|
268
|
+
console.log(line("Colours", colours));
|
|
269
|
+
console.log(line("Type sizes", sizes, "px"));
|
|
270
|
+
console.log(line("Radii", radii, "px"));
|
|
271
|
+
console.log(line("Spacing steps", steps, "px"));
|
|
272
|
+
}
|
|
273
|
+
process.exit(screens.some((s) => s.failed) && !read.length ? 3 : offFaces.length || offColours.length ? 1 : 0);
|
|
@@ -19,6 +19,8 @@ A product does not need a mark to be designed: until then, the name is set in th
|
|
|
19
19
|
|
|
20
20
|
Comes out: the chosen mark as SVG in `docs/design/wordmark.svg`, a section in `design-identity.md`, and the mark on the identity board. Options live in `.longbeard/design/wordmark/`.
|
|
21
21
|
|
|
22
|
+
**At every stop,** say what is new and the one question, in up to five lines: a path or a sheet instead of pasted content, one line per option, nothing they already know.
|
|
23
|
+
|
|
22
24
|
## Gate
|
|
23
25
|
|
|
24
26
|
1. No `docs/design/design-direction.md` → `design-direction` first: a mark is judged where the name actually sits. No `docs/design/design-identity.md` → `design-identity`. Stop.
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
# The five-second check
|
|
2
|
-
|
|
3
|
-
Read by `design-direction` (the chosen screen, after the touch-up) and `design-prototype` (the first screen and each key screen, before `DESIGN.md`). The design brief's takeaway says what someone should think and do in five seconds. This checks it on eyes that know nothing about the product. Every other check asks whether the screen follows the rules; this one asks whether it works.
|
|
4
|
-
|
|
5
|
-
## With fresh agents
|
|
6
|
-
|
|
7
|
-
Three agents that have seen nothing: a new agent or a clean session each, on a small model where you can choose one, given only the capture (`capture.mjs … --clip 0,0,1440,900`, or the device size for an app; for a site most people open on their phone, the 390 capture too). Never the brief, the design brief, the product's name from anywhere but the screen, or this conversation. Each gets exactly:
|
|
8
|
-
|
|
9
|
-
> You glance at this screen for five seconds. Answer in one short line each, from what you see, not what you guess:
|
|
10
|
-
> 1. What is this?
|
|
11
|
-
> 2. Who is it for?
|
|
12
|
-
> 3. What would you do first?
|
|
13
|
-
> 4. One word for how it feels.
|
|
14
|
-
|
|
15
|
-
Several screens (the prototype's key screens): the same three agents see all of them, one at a time, each in its own order, and answer the four questions for each. Never three new agents per screen.
|
|
16
|
-
|
|
17
|
-
No agent can be started clean (no subagents, no second session): say "five-second check: not run" and offer the people version. Never answer the questions yourself: you know too much.
|
|
18
|
-
|
|
19
|
-
## Compare, as facts
|
|
20
|
-
|
|
21
|
-
One table: the takeaway's think and do, then each agent's answers, then a verdict per row.
|
|
22
|
-
|
|
23
|
-
| | Takeaway | 1 | 2 | 3 | |
|
|
24
|
-
|---|---|---|---|---|---|
|
|
25
|
-
| What it is | a bakery, open now | … | … | … | 3 of 3 |
|
|
26
|
-
| What to do | order for pickup | … | … | … | 1 of 3 |
|
|
27
|
-
| Feel | warm, plain, exact (never: fussy) | … | … | … | 2 of 3 |
|
|
28
|
-
|
|
29
|
-
- **Got it:** two or three of three say it in any words.
|
|
30
|
-
- **Missed:** one or none. Say what they read instead ("two read it as a café menu, not an order page").
|
|
31
|
-
- **Feel:** compared with the design brief's three words and its never word. A never word in an answer is said, always.
|
|
32
|
-
|
|
33
|
-
## Then
|
|
34
|
-
|
|
35
|
-
A miss is a fact for them, not a redesign for you.
|
|
36
|
-
|
|
37
|
-
- **In the direction:** a miss on what to do, or what it is, is fixed only with the touch-up's own means: the headline says the takeaway outright, the primary action is present and findable, rank put right. Shown before and after, run again once. A miss only a different composition would fix is said in one line, and the choice stays theirs: keep it, or go back to the grid.
|
|
38
|
-
- **In the prototype:** the same on each key screen, where "what to do" is that screen's own job (a basket: check out). Fixed inside the identity and the direction.
|
|
39
|
-
- **The feel** is never fixed here. A never word in the answers is said with the screens; changing the look is `design-identity` or the direction again, on their word.
|
|
40
|
-
|
|
41
|
-
## People, offered once
|
|
42
|
-
|
|
43
|
-
Agents read a screen like a careful stranger, not like the people the product is for. Offer once, with the result:
|
|
44
|
-
|
|
45
|
-
> Want a real check? Show the screen for five seconds to two or three people who might use it, and ask the same four questions. Paste what they say.
|
|
46
|
-
|
|
47
|
-
Their answers outrank the agents'. Record them the same way. A no stands.
|