@jonandev/longbeard 0.11.2 → 0.12.1
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 +4 -5
- package/CHANGELOG.md +72 -0
- package/README.md +64 -43
- package/beard.json +124 -28
- package/bin/long-beard.js +171 -36
- package/package.json +1 -1
- package/skills/design/SKILL.md +51 -126
- package/skills/design-brief/SKILL.md +146 -0
- package/skills/design-brief/references/graphic.md +59 -0
- package/skills/design-check/SKILL.md +27 -11
- package/skills/design-check/references/design-rules.md +21 -7
- package/skills/design-check/scripts/capture.mjs +121 -37
- package/skills/design-check/scripts/contrast.mjs +23 -9
- package/skills/design-check/scripts/rules.mjs +613 -0
- package/skills/design-check/scripts/screen-contrast.mjs +428 -0
- package/skills/design-check/scripts/tokens.mjs +346 -0
- package/skills/design-content/SKILL.md +118 -0
- package/skills/design-content/scripts/contact-sheet.mjs +259 -0
- package/skills/design-content/scripts/pictures.mjs +197 -0
- package/skills/design-direction/SKILL.md +115 -200
- package/skills/design-direction/references/controls.md +58 -0
- package/skills/{design → design-direction}/references/design-rules.md +21 -7
- package/skills/design-direction/references/five-second.md +47 -0
- package/skills/design-direction/references/full-build.md +19 -0
- package/skills/design-direction/references/graphic.md +35 -0
- package/skills/design-direction/references/grid.md +114 -0
- package/skills/design-direction/references/library.md +75 -0
- package/skills/design-direction/references/screen-template.html +233 -0
- package/skills/design-direction/references/subject.md +33 -0
- package/skills/design-direction/scripts/capture.mjs +121 -37
- package/skills/design-direction/scripts/contact-sheet.mjs +18 -7
- package/skills/design-direction/scripts/fonts.mjs +276 -0
- package/skills/design-direction/scripts/layout-diff.mjs +118 -0
- package/skills/design-direction/scripts/measure.mjs +1728 -0
- package/skills/design-direction/scripts/moodboard.mjs +123 -32
- package/skills/design-direction/scripts/picture-cast.mjs +270 -0
- package/skills/design-direction/scripts/pictures.mjs +197 -0
- package/skills/design-direction/scripts/screen-contrast.mjs +428 -0
- package/skills/design-direction/scripts/sheet.mjs +67 -0
- package/skills/design-direction/scripts/subject-colours.mjs +410 -0
- package/skills/design-families/SKILL.md +138 -0
- package/skills/design-families/scripts/contact-sheet.mjs +259 -0
- package/skills/design-families/scripts/families.mjs +606 -0
- package/skills/design-families/scripts/measure.mjs +1728 -0
- package/skills/design-families/scripts/moodboard.mjs +467 -0
- package/skills/design-families/scripts/tag.mjs +289 -0
- package/skills/design-figma/SKILL.md +69 -0
- package/skills/design-figma/references/graphic.md +26 -0
- package/skills/design-identity/SKILL.md +134 -0
- package/skills/design-identity/references/graphic.md +8 -0
- package/skills/design-identity/references/identity-board.html +140 -0
- package/skills/{design → design-identity}/scripts/capture.mjs +121 -37
- package/skills/design-identity/scripts/colours.mjs +213 -0
- package/skills/design-identity/scripts/contrast.mjs +41 -0
- package/skills/design-identity/scripts/fonts.mjs +276 -0
- package/skills/design-identity/scripts/measure.mjs +1728 -0
- package/skills/design-identity/scripts/sheet.mjs +67 -0
- package/skills/design-identity/scripts/subject-colours.mjs +410 -0
- package/skills/design-moodboard/SKILL.md +184 -0
- package/skills/design-moodboard/references/graphic.md +25 -0
- package/skills/{design-direction → design-moodboard}/references/sources.md +21 -11
- package/skills/design-moodboard/scripts/capture.mjs +893 -0
- package/skills/design-moodboard/scripts/contact-sheet.mjs +259 -0
- package/skills/design-moodboard/scripts/crops.mjs +256 -0
- package/skills/design-moodboard/scripts/dribbble-cards.mjs +418 -0
- package/skills/design-moodboard/scripts/families.mjs +606 -0
- package/skills/design-moodboard/scripts/group.mjs +221 -0
- package/skills/design-moodboard/scripts/measure.mjs +1728 -0
- package/skills/design-moodboard/scripts/moodboard.mjs +467 -0
- package/skills/{design-direction → design-moodboard}/scripts/picker.mjs +121 -20
- package/skills/design-moodboard/scripts/pictures.mjs +197 -0
- package/skills/design-moodboard/scripts/tag.mjs +289 -0
- package/skills/design-prototype/SKILL.md +149 -0
- package/skills/design-prototype/references/design-md-template.md +82 -0
- package/skills/design-prototype/references/design-rules.md +203 -0
- package/skills/design-prototype/references/five-second.md +47 -0
- package/skills/design-prototype/references/graphic.md +27 -0
- package/skills/design-prototype/scripts/capture.mjs +893 -0
- package/skills/design-prototype/scripts/contrast.mjs +41 -0
- package/skills/design-prototype/scripts/links.mjs +308 -0
- package/skills/design-prototype/scripts/pictures.mjs +197 -0
- package/skills/design-prototype/scripts/rules.mjs +613 -0
- package/skills/design-prototype/scripts/screen-contrast.mjs +428 -0
- package/skills/design-prototype/scripts/sheet.mjs +67 -0
- package/skills/design-prototype/scripts/tokens.mjs +346 -0
- package/skills/design-wordmark/SKILL.md +65 -0
- package/skills/design-wordmark/scripts/capture.mjs +893 -0
- package/skills/design-wordmark/scripts/sheet.mjs +67 -0
- package/skills/framework-skills/SKILL.md +71 -0
- package/skills/idea/SKILL.md +13 -7
- package/skills/idea/references/graphic.md +64 -0
- package/skills/design/references/design-md-template.md +0 -58
- package/skills/design/scripts/contrast.mjs +0 -27
- package/skills/design-direction/scripts/dribbble-cards.mjs +0 -356
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
# Design rules
|
|
2
|
+
|
|
3
|
+
How a screen is checked. Read by `design-direction` and `design-prototype` before they prototype and by `design-check` on every frame and build.
|
|
4
|
+
|
|
5
|
+
These rules decide execution, never the look. The direction and `DESIGN.md` decide the look. A rule that seems to ask for a colour, a typeface or a style is misread. It asks only that whatever was chosen is used with intent.
|
|
6
|
+
|
|
7
|
+
## How to use this
|
|
8
|
+
|
|
9
|
+
- Check from a screenshot. Every check below can be passed or failed by looking at a rendered screen at its real size. When a check needs a state you cannot see (focus, error, empty), it needs that state's frame, and a missing frame fails rule 8.
|
|
10
|
+
- Go in order: **Idea** first, then every **hard** check, then **soft**.
|
|
11
|
+
- **Hard** is the floor: structure, contrast, targets, focus and states. A hard failure blocks the screen. `DESIGN.md` cannot waive it, with one exception: a colour the person liked by name and kept under the contrast level, marked `WARN liked, kept` in `DESIGN.md`, is reported as a warning, not a block.
|
|
12
|
+
- **Soft** is a default. `DESIGN.md` may override a soft check on purpose, with a written reason. A soft finding with no reason in `DESIGN.md` is reported, not blocked.
|
|
13
|
+
- A finding is four things: the rule (number and check), hard or soft, where on the screen, and the fix.
|
|
14
|
+
- The shared core applies to everything, except where the Graphics list says it does not. Then add the site, app or graphics list, whichever the brief's surface says.
|
|
15
|
+
|
|
16
|
+
## 0. Idea
|
|
17
|
+
|
|
18
|
+
**Principle:** the screen says one thing about this product that a screen from another product would not.
|
|
19
|
+
|
|
20
|
+
- [soft] Cover the logo and the name. Is it still recognisably this product, from its content, imagery, voice or structure? A screen that could belong to any product in the category fails.
|
|
21
|
+
- [soft] You can say what the screen is for in one sentence, and the most visible element serves that sentence.
|
|
22
|
+
- [soft] The ownable idea in `DESIGN.md` (or the direction, before `DESIGN.md` exists) shows up somewhere you can point to.
|
|
23
|
+
|
|
24
|
+
## 1. Hierarchy
|
|
25
|
+
|
|
26
|
+
**Principle:** the eye lands first on what matters most, then moves in the order the task needs.
|
|
27
|
+
|
|
28
|
+
- [hard] Exactly one element is the most prominent on the screen. Squint or blur the shot: one thing still stands out.
|
|
29
|
+
- [hard] The primary action is easier to find than any secondary action. If two actions look equally important, only one of them should be.
|
|
30
|
+
- [soft] Prominence comes from at most two of size, weight, colour and position at once. Using all four on one element is shouting.
|
|
31
|
+
- [soft] Secondary text (meta, captions, help) is visibly quieter than body text, by lighter colour or smaller size, not both pushed to the limit.
|
|
32
|
+
|
|
33
|
+
## 2. Grouping
|
|
34
|
+
|
|
35
|
+
**Principle:** things that belong together look together, and things that do not are kept apart.
|
|
36
|
+
|
|
37
|
+
- [hard] The space between related items is clearly smaller than the space between groups. A label sits closer to its field than to the field above.
|
|
38
|
+
- [soft] Each group is separated by one device: space, a tone step, a box, or a line. Two at once (a boxed card with a divider inside a tinted panel) is noise.
|
|
39
|
+
- [soft] A reader can count the groups on the screen at a glance, and the count matches the sections the brief describes.
|
|
40
|
+
|
|
41
|
+
## 3. Alignment and grid
|
|
42
|
+
|
|
43
|
+
**Principle:** every element sits on a line shared with something else.
|
|
44
|
+
|
|
45
|
+
- [hard] Left edges of text blocks in one column line up. No block is nudged a few pixels off its neighbours.
|
|
46
|
+
- [soft] The screen has a small number of alignment lines (often a column grid). Draw them on the shot: an element that touches none of them needs a reason.
|
|
47
|
+
- [soft] Centred alignment is used for a single moment (an empty state, a hero line), not as the default for whole sections of left-reading content.
|
|
48
|
+
- [soft] Numbers in a column align on the right or on the decimal, so they compare.
|
|
49
|
+
|
|
50
|
+
## 4. Spacing rhythm
|
|
51
|
+
|
|
52
|
+
**Principle:** space comes from a short scale, and bigger gaps mean bigger separations.
|
|
53
|
+
|
|
54
|
+
- [soft] Every gap on the screen comes from the spacing scale in `DESIGN.md`. Measure five gaps at random: all are on the scale.
|
|
55
|
+
- [soft] There are at most three or four distinct gap sizes in one view, and each has a job (inside a component, between items, between groups, between sections).
|
|
56
|
+
- [soft] Nothing touches the edge of its container. Text inside a box has padding at least as large as the gap between its lines.
|
|
57
|
+
- [soft] Dense views stay dense on purpose: a table or list keeps tight rows rather than inheriting marketing-page spacing.
|
|
58
|
+
|
|
59
|
+
## 5. Typography
|
|
60
|
+
|
|
61
|
+
**Principle:** a few sizes, far apart, set for reading.
|
|
62
|
+
|
|
63
|
+
- [soft] The view uses at most five font sizes, and adjacent sizes are clearly different (roughly a 1.2× step or more), not 15, 16 and 17.
|
|
64
|
+
- [soft] Body text runs about 45 to 80 characters per line on desktop. Count one line.
|
|
65
|
+
- [soft] Body line height is visibly looser than heading line height. Headings of two lines do not drift apart.
|
|
66
|
+
- [soft] Weight does the work before size. A label is not set larger to be noticed when bold would do.
|
|
67
|
+
- [hard] No text is clipped, overlapped, or cut mid-word by its container, in any language the product ships.
|
|
68
|
+
|
|
69
|
+
## 6. Colour
|
|
70
|
+
|
|
71
|
+
**Principle:** colour carries meaning, and the meaning stays the same everywhere.
|
|
72
|
+
|
|
73
|
+
- [hard] Body text has a contrast ratio of at least 4.5:1 against its background. Large text (24px, or 18.66px bold, and up) and the visible parts of controls and icons have at least 3:1. When `DESIGN.md` or the design brief sets the level to AAA: 7:1 for body text and 4.5:1 for large text.
|
|
74
|
+
- [hard] Colour is never the only signal. An error, a selected item or a required field also changes shape, weight, an icon or text.
|
|
75
|
+
- [soft] Every colour on the screen is a token in `DESIGN.md`. Pick three at random: each maps to a named token.
|
|
76
|
+
- [hard] A product with more than one theme has one set of colour tokens, with a value for each theme, and passes every check here in each theme. A colour that stays the same when the theme changes, and should not, fails.
|
|
77
|
+
- [soft] The accent colour marks action or state, and is not also used for decoration on the same screen.
|
|
78
|
+
- [soft] Status colours (error, warning, success) are used for status only.
|
|
79
|
+
|
|
80
|
+
## 7. Consistency
|
|
81
|
+
|
|
82
|
+
**Principle:** the same thing looks and behaves the same everywhere.
|
|
83
|
+
|
|
84
|
+
- [hard] One action has one look. Two primary buttons on different screens are the same component, same size and same label case.
|
|
85
|
+
- [soft] Components come from the Figma library or the codebase's components. A one-off that looks like a library component, but is slightly different, fails.
|
|
86
|
+
- [soft] Icons share a style: one stroke weight or one fill style, one corner treatment, one optical size.
|
|
87
|
+
- [soft] The same word means the same thing. "Delete" and "Remove" are not both used for one action.
|
|
88
|
+
|
|
89
|
+
## 8. States
|
|
90
|
+
|
|
91
|
+
**Principle:** every screen is shown in every state a person will meet.
|
|
92
|
+
|
|
93
|
+
- [hard] The screen has a frame for each of empty, loading and error that a person can reach, next to the default. A state nobody can reach is recorded as not needed, with the reason. A reachable state with no frame is a failure, not a later task.
|
|
94
|
+
- [hard] Empty says what goes here and gives the one action that fills it. Error says what went wrong in plain words and how to recover.
|
|
95
|
+
- [hard] Interactive components show hover (pointer surfaces), focus, pressed, disabled, and selected where they apply. Each state is visibly different from default.
|
|
96
|
+
- [soft] Loading keeps the layout's shape (skeleton or reserved space), so content does not jump when it arrives.
|
|
97
|
+
- [soft] Long content is shown: the longest real name, a big number, a two-line title. Short sample text hides overflow.
|
|
98
|
+
|
|
99
|
+
## 9. Affordance and feedback
|
|
100
|
+
|
|
101
|
+
**Principle:** what can be acted on looks like it, and every action visibly answers.
|
|
102
|
+
|
|
103
|
+
- [hard] Every interactive element looks interactive without hovering. Text links are distinct from body text by more than colour alone, unless their position makes them obvious (a nav bar).
|
|
104
|
+
- [hard] Nothing that looks interactive is not. A card that looks clickable is clickable, or loses the look.
|
|
105
|
+
- [soft] Each action has a visible result frame: a saved state, a toast, the item appearing in the list, a progress indicator for anything over a second.
|
|
106
|
+
- [soft] Destructive actions look different from safe ones and are never the default or most prominent option.
|
|
107
|
+
|
|
108
|
+
## 10. Accessibility
|
|
109
|
+
|
|
110
|
+
**Principle:** the screen works for people who see, move and read differently.
|
|
111
|
+
|
|
112
|
+
- [hard] The focused state of every interactive element shows a visible indicator with at least 3:1 contrast against what is around it. Check it in the focus frame.
|
|
113
|
+
- [hard] Targets are at least 24×24 CSS pixels, or have that much space around them (WCAG 2.2 AA). The app list raises this for touch.
|
|
114
|
+
- [hard] Every input has a visible label. A placeholder alone is not a label.
|
|
115
|
+
- [hard] Text is real text, not text in an image, except in logos.
|
|
116
|
+
- [soft] The screen still reads at 200% text size: nothing important is cut off in the zoomed frame.
|
|
117
|
+
|
|
118
|
+
## 11. Copy
|
|
119
|
+
|
|
120
|
+
**Principle:** words do the job of the screen in the product's own voice, made from facts it has.
|
|
121
|
+
|
|
122
|
+
**Dated 2026-11-21. Reviewed each release.**
|
|
123
|
+
|
|
124
|
+
- [hard] No placeholder copy: no lorem ipsum, no "Title", no "Button", no "User Name".
|
|
125
|
+
- [soft] Buttons say what happens: "Send invoice", not "Submit", "OK", "Get started" or "Learn more".
|
|
126
|
+
- [soft] Headings are short. A heading that runs over two lines at its size is a sentence that belongs in the body.
|
|
127
|
+
- [soft] The voice matches `DESIGN.md`. Read three strings aloud: they sound like one product.
|
|
128
|
+
- [soft] No genre filler: unlock, supercharge, seamless, elevate, effortless, all-in-one, and "not just X, it's Y". Sincerity is shown, not claimed ("honest", "simply").
|
|
129
|
+
- [soft] A rhetorical device (a heading in two fragments, "X, not Y", a row of three figures) appears once on a screen, where it lands hardest.
|
|
130
|
+
- [soft] No detail is invented. Every number, name and quote traces to the brief, or is marked as assumed (see the prototype's stand-in marks). A section with nothing true to say is shorter or gone.
|
|
131
|
+
- [soft] Voice test: would this voice suit a product in another trade? If yes, it is not this product's yet.
|
|
132
|
+
|
|
133
|
+
## 12. Imagery
|
|
134
|
+
|
|
135
|
+
**Principle:** pictures show the real thing, or there are none.
|
|
136
|
+
|
|
137
|
+
- [soft] Images show this product's subject, people or interface. A stock scene that fits any product in the category fails.
|
|
138
|
+
- [soft] Where a picture belongs, there is a picture, not a grey box, a gradient or a text block pretending.
|
|
139
|
+
- [soft] Images share one treatment: one crop logic, one colour handling, one corner shape.
|
|
140
|
+
- [hard] Text over an image meets the contrast floor in rule 6 across the whole text area, not only on the darkest part.
|
|
141
|
+
|
|
142
|
+
## 13. Responsive
|
|
143
|
+
|
|
144
|
+
**Principle:** each size is designed, not squeezed.
|
|
145
|
+
|
|
146
|
+
- [hard] At mobile width (360–390px) nothing scrolls sideways, nothing is clipped, and nothing overlaps.
|
|
147
|
+
- [hard] The primary action is reachable at every size without hunting: visible, or one obvious step away.
|
|
148
|
+
- [soft] The layout changes structure between sizes where it should: columns stack, tables become lists or scroll inside their own box, navigation collapses into one control.
|
|
149
|
+
- [soft] Type and spacing scale down a step on mobile, not to illegible sizes. Body text stays at least 16px.
|
|
150
|
+
|
|
151
|
+
## 14. Tells
|
|
152
|
+
|
|
153
|
+
**Dated 2026-11-03. Reviewed each release.** Add new tells, retire ones that stopped being defaults.
|
|
154
|
+
|
|
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
|
+
|
|
157
|
+
- [soft] Purple-to-blue gradients on backgrounds, buttons, glows or headline text.
|
|
158
|
+
- [soft] Translucent blurred panels used on two or more surfaces.
|
|
159
|
+
- [soft] The same soft grey shadow under every card.
|
|
160
|
+
- [soft] A row of three identical feature cards, each an icon in a rounded square, a heading and two lines.
|
|
161
|
+
- [soft] Emoji used as icons or bullets.
|
|
162
|
+
- [soft] A tiny tracked uppercase label above every heading, or a pill badge ("New", "Beta") above the hero line.
|
|
163
|
+
- [soft] One word of a headline singled out in another face, colour or underline.
|
|
164
|
+
- [soft] A cream ground with a terracotta or rust accent, used as a shortcut to "warm".
|
|
165
|
+
- [soft] Decorative monospace labels, index numbering (01 / 02 / 03) as ornament, hairline rules boxing everything, or design-tool marks (crosshairs, crop marks) as decoration.
|
|
166
|
+
- [soft] A fake dashboard made of grey bars and donut charts where a real interface fragment should be.
|
|
167
|
+
- [soft] Invented social proof: logos, quotes, star rows or user counts the product does not have.
|
|
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
|
+
- [soft] One medium corner radius on everything, chosen by default rather than on purpose.
|
|
170
|
+
|
|
171
|
+
Removing tells is not the goal. A screen with none and no idea fails rule 0.
|
|
172
|
+
|
|
173
|
+
## Sites
|
|
174
|
+
|
|
175
|
+
Add these when the brief's surface is a site: the page a person lands on to understand or choose.
|
|
176
|
+
|
|
177
|
+
- [hard] The first screen at mobile and desktop says what this is and who it is for, without scrolling.
|
|
178
|
+
- [soft] Sections follow the order of the argument the brief makes, and each section is composed differently from the one before.
|
|
179
|
+
- [soft] There is one primary call to action, repeated at most at the end, with the same label.
|
|
180
|
+
- [soft] Proof is real (product shots, named customers the product has, numbers it can stand behind) or absent.
|
|
181
|
+
|
|
182
|
+
## Apps
|
|
183
|
+
|
|
184
|
+
Add these when the brief's surface is an app: the tool a person comes back to.
|
|
185
|
+
|
|
186
|
+
- [hard] Touch targets on touch platforms are at least 44×44 pt (Apple) or 48×48 dp (Material), whichever platform it ships on. The web floor in rule 10 still applies.
|
|
187
|
+
- [hard] The person always knows where they are: the current place in navigation is marked, and the screen title matches the nav item.
|
|
188
|
+
- [soft] Density fits repeated use. Lists and tables show enough rows to work, not marketing-sized cards.
|
|
189
|
+
- [soft] Navigation keeps the same place and shape on every screen of the flow.
|
|
190
|
+
- [soft] Frequent actions are one step away. Rare and destructive ones may be further.
|
|
191
|
+
|
|
192
|
+
## Graphics
|
|
193
|
+
|
|
194
|
+
Add these when the brief's surface is a graphic: a poster, a card, a social post, a piece to look at. A piece counts as a screen.
|
|
195
|
+
|
|
196
|
+
- **Applies:** rules 0 to 3, 5, 6, 11, 12 and 14. Rule 4 holds for the margin and the gaps between groups. Rule 7 holds across the pieces of a set.
|
|
197
|
+
- **Does not apply:** rule 8 (states), rule 9 (affordance), the targets, focus and label checks of rule 10, and rule 13 (responsive). A missing state frame is not a finding.
|
|
198
|
+
- [hard] Readable at its distance. Scale the shot to how the piece is seen (a poster read across a street, about 400 px on its long side; a feed post at phone width). The headline and every fact the brief gives still read.
|
|
199
|
+
- [hard] Nothing important in the trim. On a print piece, no word, fact or logo sits in the trim or the safe margin. A picture or a crop that runs off the edge on purpose is not a finding.
|
|
200
|
+
|
|
201
|
+
## Sources
|
|
202
|
+
|
|
203
|
+
Ideas drawn from, in our own words: Gestalt principles of grouping; WCAG 2.2 (contrast 1.4.3 and 1.4.11, focus visible 2.4.7, target size 2.5.8, labels 3.3.2); Refactoring UI practice (Adam Wathan and Steve Schoger); Apple Human Interface Guidelines and Material Design basics (touch targets, navigation, states); and the tells registry of taste-skill by Leonxlnx (MIT).
|
|
@@ -0,0 +1,47 @@
|
|
|
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.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Prototype for a graphic
|
|
2
|
+
|
|
3
|
+
Read when the product brief's surface is a graphic. Everything in `SKILL.md` holds except what is said here. A piece counts as a screen wherever the skill says screen.
|
|
4
|
+
|
|
5
|
+
For a single piece the prototype finishes the chosen piece and nothing else. For a set it also builds the other pieces. Either way `DESIGN.md` is written, short, so `design-figma` and the router work as they do for any project.
|
|
6
|
+
|
|
7
|
+
## First pass
|
|
8
|
+
|
|
9
|
+
1. **Finish the chosen piece.** `first.html` is fixed at the format's size, so `home.html` is the same page at that size, not responsive, and `first.html` stays beside it. Keep the faces loaded at the size and the direction's devices untouched. Spacing options, widths, states and walks do not apply. The facts the direction left for the prototype (a second language, the small print) are placed in the composition's own system. A fact the brief marks missing stays a stand-in, marked, and listed under Still to supply.
|
|
10
|
+
2. **A set.** List the other pieces and their sizes once, and ask "Change the list?" Each is built from the chosen piece: reflowed to its size, never scaled, with the same type, colours, devices and facts. A story is tall, a square is square. Each takes the same touch-up as the first. A piece's own choices (which fact leads when there is less room) are named, never silent. A single piece skips this.
|
|
11
|
+
3. **The self-check.** Capture each piece whole: `--width <w> --clip 0,0,<w>,<h>` at its working size. Then:
|
|
12
|
+
- **Contrast:** `screen-contrast.mjs` as usual.
|
|
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 (see the direction's graphic reference).
|
|
15
|
+
- **Facts:** every fact in the brief is on the piece, spelt as the brief gives it.
|
|
16
|
+
- **Trim:** nothing important sits in the trim or the safe margin.
|
|
17
|
+
|
|
18
|
+
## DESIGN.md
|
|
19
|
+
|
|
20
|
+
Written from the template, once, on their yes. Sections that do not apply say "none" and why.
|
|
21
|
+
|
|
22
|
+
- **Idea, Voice, Colour, Type, Imagery, Accessibility, Still to supply, Decisions:** as written.
|
|
23
|
+
- **Format** goes under Decisions: its size, orientation, print or screen, and the pieces of a set.
|
|
24
|
+
- **Spacing:** the margin and the grid the piece holds, in a line or two. Components: none. Motion: none.
|
|
25
|
+
- A set or a brand that will make more adds components and spacing when a later piece needs them.
|
|
26
|
+
|
|
27
|
+
Then the next step: `design-figma`.
|