@jonandev/longbeard 0.12.2 → 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 +24 -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 +233 -93
- package/skills/design-families/SKILL.md +16 -15
- package/skills/design-families/scripts/moodboard.mjs +233 -93
- 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/moodboard.mjs +233 -93
- 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
package/AGENTS.md
CHANGED
|
@@ -8,14 +8,13 @@ The project's own code, conventions, and DESIGN.md win. Load only what the task
|
|
|
8
8
|
| Design | A site, app or graphic brief, no DESIGN.md | design → figma-generate-library → figma-generate-design | docs/design/, DESIGN.md, Ready Figma frames |
|
|
9
9
|
| Architecture | No GLOSSARY.md, or new stack | grill-with-docs → framework-skills | GLOSSARY.md, ADRs |
|
|
10
10
|
| Plan | A flow or feature | setup-matt-pocock-skills → to-spec → to-tickets | specs, tickets |
|
|
11
|
-
| Build | Tickets | implement-spec → design-check → pr | one PR per spec |
|
|
11
|
+
| Build | Tickets | implement-spec → tdd → design-check → pr | failing tests first, then one PR per spec |
|
|
12
12
|
|
|
13
13
|
Each stage offers the next; start it on yes. A skill you can't load: they type /<name>. No UI: skip Design. A graphic ends at Figma. A feature with a brief: grill-with-docs for new terms, else grilling, then Plan.
|
|
14
14
|
|
|
15
15
|
UI tickets link their Ready Figma frame. UI work follows DESIGN.md and that frame; a mismatch is a bug.
|
|
16
16
|
|
|
17
17
|
- A hard bug: diagnosing-bugs
|
|
18
|
-
- Test-first, when asked: tdd
|
|
19
18
|
- Handing off, when asked: handoff
|
|
20
19
|
- Before any use_figma call: figma-use
|
|
21
20
|
- A Figma link to build: figma-design-to-code
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,30 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.13.0 — 2026-11-25
|
|
6
|
+
|
|
7
|
+
- **Build is test-first by default.** The router's Build row is now `implement-spec → tdd → design-check → pr`: each ticket's acceptance criteria become failing tests before its code. The old "Test-first, when asked" line is gone. Run `npx longbeard update` to get the new `AGENTS.md` block.
|
|
8
|
+
- **Screens that hang together.** A reference you like from a site or app now keeps up to four of that product's other screens (`also:` on its card). `design-prototype` lays out each key screen from the closest source first: the screen the direction already built for it, then the base's own product, then its family, and only then any reference, so the home, the list and the form no longer come from three unrelated products.
|
|
9
|
+
- **The hardest screen, before the yes.** Once the first screen is yours, the direction builds one more in its look: the brief's key screen that is hardest for it (the densest list, a form). If the look breaks on real data, you see it while going back to another pick is cheap. The quick rounds stay first-screen only.
|
|
10
|
+
- **Parts, when you ask.** On the favourite, and on any prototype screen, "Open any part?" shows three or four versions of one part (the menu, the headline, a card) in place, each from a reference that shows it. "Find more" searches your own board first, then outside.
|
|
11
|
+
- **One set, measured.** The prototype's screens are shown together, desktop and phone, and `drift.mjs` lists any face or colour not in the identity and the type sizes, radii and spacing steps only one screen uses.
|
|
12
|
+
- **A board you look at, not a form.** The moodboard shows each picture at its own proportions in a masonry, with a small badge for Lead, Like or No; the notes of the card you open sit in a side panel, with its product's other screens. Keys: L, K, N, the arrows and Esc.
|
|
13
|
+
- **The direction's canvas** replaces its sheet: every screen in a strip (rounds, parts and the hardest screen each in a row), the one you open large, and beside it what it is made from: the base and each move, with the reference and your words. "Beside its base" shows the two together; the buttons write the line for the chat.
|
|
14
|
+
- **The design flow graphic is redrawn** as six line illustrations, one per step, with what you decide at each.
|
|
15
|
+
- **Every reference is on the direction's board.** Families are headings, never a filter: a reference you like can come from any family, and `design-families` no longer asks you to take one or two. The board is the moodboard's own cards, so your likes and notes come with them, each placed under its family (`moodboard.mjs --topics`), with one Lead on the whole board (`--one-lead`). It says how many cards it left out for a missing shot.
|
|
16
|
+
- **The board's top bar stays one line.** Only the jump bar sticks, and with many families it scrolls sideways instead of wrapping into rows that pushed the board down.
|
|
17
|
+
- **Leave out.** Each card on the board has a Leave out box for what you don't want from a reference you otherwise like (the drop shadow, the all-caps menu). It is never on a screen built on that reference, never borrowed from it, and its role is filled from another of your references when the composition needs it. A card's `avoid:` line fills it.
|
|
18
|
+
- **Likes are asked once.** A card you liked on the picker starts liked on the direction's board, with your words; the direction asks only for the Lead and anything new.
|
|
19
|
+
- **Far fewer agents in the direction.** Every round is quick, "more of" and mixes included: one agent per screen and one judge per round. The full build runs once, on the screen you settle on, with one critic and one fixer. A "more of 3" used to start about 24 agents; it now starts 4.
|
|
20
|
+
- **The five-second check runs once,** in `design-prototype`, where the same three strangers see the first screen and every key screen. `DESIGN.md` records the first screen's result as its `five seconds:` line.
|
|
21
|
+
- **The live controls moved to `design-identity`,** into its one refinement round, on the pairing and palette you picked. A stop fewer in the direction.
|
|
22
|
+
- **Shorter skills and shorter stops.** `design-direction` (with its `grid.md`), `design-prototype` and `design-moodboard` are 35 to 40% shorter, with the same rules, and `design` is a quarter shorter. Every design step says what is new and its one question in up to five lines, and the direction's sheet gets one line per screen instead of a table.
|
|
23
|
+
- **Galleries for single parts of a site:** Footer Design and CTA Gallery for a footer or a call to action, and Recent's motion listing, launch videos and Codrops demos for motion, only when the brief asks for motion examples. Recent's other listings too: interface, app screenshots and app icons for an app; branding, posters and print for the far reference and for graphics; social images for a post; illustration for imagery. `sources.md` says how to read each one's cards and what to keep. Behance stays out of the picker: it refuses scripts.
|
|
24
|
+
- **A tell for a default face.** `design-check` and the direction now flag a face that is the platform's or framework's default (Inter, Roboto, the system UI stack) when no reference brought it.
|
|
25
|
+
- **The identity board names no working folder.** `docs/design/design-identity.html` no longer carries a comment pointing into `.longbeard/`.
|
|
26
|
+
|
|
27
|
+
If you already ran `init`: run `npx longbeard update`. A direction in progress keeps working: a run that already took families simply shows every card next time its board is built.
|
|
28
|
+
|
|
5
29
|
## 0.12.2 — 2026-11-21
|
|
6
30
|
|
|
7
31
|
- **A shot can be a picture's URL.** `moodboard.mjs` shows an `https://` shot from that address instead of dropping it as missing, and `families.mjs --board` writes it into `board.md` as it is (it was turned into `https:/…`). A library exported with its pins' addresses makes a moodboard with no pictures copied.
|
package/beard.json
CHANGED
|
@@ -46,10 +46,11 @@
|
|
|
46
46
|
"when": "Tickets",
|
|
47
47
|
"skills": [
|
|
48
48
|
"implement-spec",
|
|
49
|
+
"tdd",
|
|
49
50
|
"design-check",
|
|
50
51
|
"pr"
|
|
51
52
|
],
|
|
52
|
-
"writes": "one PR per spec"
|
|
53
|
+
"writes": "failing tests first, then one PR per spec"
|
|
53
54
|
}
|
|
54
55
|
],
|
|
55
56
|
"shapes": {
|
|
@@ -125,7 +126,7 @@
|
|
|
125
126
|
"license": "MIT",
|
|
126
127
|
"source": "local",
|
|
127
128
|
"when": "A board over about 60 references",
|
|
128
|
-
"why": "Optional. Sort it into looks
|
|
129
|
+
"why": "Optional. Sort it into looks, as headings; every reference stays. Writes docs/design/design-families.md.",
|
|
129
130
|
"via": "design"
|
|
130
131
|
},
|
|
131
132
|
{
|
|
@@ -209,10 +210,6 @@
|
|
|
209
210
|
"skill": "diagnosing-bugs",
|
|
210
211
|
"when": "A hard bug"
|
|
211
212
|
},
|
|
212
|
-
{
|
|
213
|
-
"skill": "tdd",
|
|
214
|
-
"when": "Test-first, when asked"
|
|
215
|
-
},
|
|
216
213
|
{
|
|
217
214
|
"skill": "handoff",
|
|
218
215
|
"when": "Handing off, when asked"
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jonandev/longbeard",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Designs like an Art director. Codes like a
|
|
3
|
+
"version": "0.13.0",
|
|
4
|
+
"description": "Designs like an Art director. Codes like a Senior Engineer.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
package/skills/design/SKILL.md
CHANGED
|
@@ -10,69 +10,55 @@ description: >
|
|
|
10
10
|
|
|
11
11
|
# Design
|
|
12
12
|
|
|
13
|
-
The design work is a family of small skills. Each does one job, reads
|
|
13
|
+
The design work is a family of small skills. Each does one job, reads its inputs from files, writes one doc, and ends by naming the next step, so each can start in a fresh session. This skill only reads the project and suggests.
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
This is a designer's process, a few short steps with their choice at each, and never one prompt to a finished page. It ends in work they can deliver: `DESIGN.md`, and a Figma file of their own (variables, styles, the identity board, components, every key screen with its states) that they keep changing by hand or with their agent. Say so in one line the first time you suggest a step in a project with no design docs. Never again after that.
|
|
15
|
+
It ends in work they can deliver: `DESIGN.md`, and a Figma file of their own (variables, styles, the identity board, components, every key screen with its states). Say so in one line the first time you suggest a step in a project with no design docs, never again.
|
|
18
16
|
|
|
19
17
|
## The family
|
|
20
18
|
|
|
21
|
-
Each skill
|
|
19
|
+
Each skill's top lines say what it **Needs**, **Uses if there** and **Writes**: read those, not this table, to see what a skill is missing.
|
|
22
20
|
|
|
23
21
|
| Skill | Job |
|
|
24
22
|
|---|---|
|
|
25
|
-
| `design-brief` | The questions a designer asks before looking: what the first screen must do, feel and never-feel,
|
|
26
|
-
| `design-moodboard` |
|
|
27
|
-
| `design-families` | Optional. Sort a big board
|
|
28
|
-
| `design-direction` |
|
|
29
|
-
| `design-identity` | The type
|
|
30
|
-
| `design-prototype` | The key screens and their states
|
|
23
|
+
| `design-brief` | The questions a designer asks before looking: what the first screen must do, feel and never-feel, who to stand apart from, what is fixed |
|
|
24
|
+
| `design-moodboard` | Read their board and fill its gaps, or find references they mark like or no; each like keeps its product's other screens |
|
|
25
|
+
| `design-families` | Optional. Sort a big board into looks, the headings the direction's board shows |
|
|
26
|
+
| `design-direction` | Pictures of the subject, then eight first screens, each one of their references rebuilt with the product's content and changed by a move or two from the others; nothing off the board, nothing they said to leave out. They choose, open parts if they want, and see it on the hardest screen; a light touch-up |
|
|
27
|
+
| `design-identity` | The chosen screen's type and colours, refined on it from rendered options and a few bounded controls; the identity board |
|
|
28
|
+
| `design-prototype` | The key screens and their states, laid out from the base's own product first and checked as one set, and the five-second check; approved → `DESIGN.md` |
|
|
31
29
|
| `design-figma` | Tokens, the identity board, components and Ready frames |
|
|
32
30
|
| `design-content` | Optional, any time. What each screen says and shows: copy, and the full picture list |
|
|
33
|
-
| `design-wordmark` | Optional, after the identity. A mark made from the chosen type
|
|
31
|
+
| `design-wordmark` | Optional, after the identity. A mark made from the chosen type |
|
|
34
32
|
| `design-check` | Checks a screen against the rules and `DESIGN.md` |
|
|
35
33
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
- **`docs/design/`** is committed and kept up to date: the design docs above. They describe the style ("a condensed grotesk at a fifth of the width, cropped at the right edge"), never a source: no brand, site, studio, designer or person, no link, and no path into `.longbeard/`. A doc that needs a reference to make sense is written again until it does not.
|
|
39
|
-
- **`.longbeard/design/`** is the agents' working folder, gitignored: captured references, Figma crops, pickers, contact sheets, profiles, direction screens, sketches, prototypes. Nobody needs to open it; when there is something to look at, the skill gives the path. It may not survive (a cloud session, a clean checkout): the docs carry the meaning, and a skill that needs a reference again captures it again or says it cannot.
|
|
40
|
-
|
|
41
|
-
On the first write of either, add `.longbeard/design/` to `.gitignore` if it is missing, and say why in one line. A project with an older `design-exploration/` folder keeps it: nothing writes there any more.
|
|
34
|
+
**Two folders.** `docs/design/` is committed: the docs describe the style, never a source (no brand, site, person, link, or path into `.longbeard/`). `.longbeard/design/` is the agents' working folder, gitignored, and may not survive; the docs carry the meaning. On the first write of either, add `.longbeard/design/` to `.gitignore` if it is missing, and say why in one line. An older `design-exploration/` folder is left alone.
|
|
42
35
|
|
|
43
36
|
## What to suggest
|
|
44
37
|
|
|
45
|
-
Look at the repo
|
|
38
|
+
Look at the repo; do not ask what is there. Read the design brief's `pace` first: at `quick`, skip what is marked optional and say so. Then say in up to four lines where the project stands and the one next step, with the reason.
|
|
46
39
|
|
|
47
|
-
1. No `docs/brief.md` → `idea
|
|
48
|
-
2. No `docs/design/design-brief.md` → `design-brief`.
|
|
49
|
-
3. No moodboard (no `design-moodboard.md`, and
|
|
50
|
-
4. **The board's size
|
|
51
|
-
- Over about 60 references, or a search that came back that big, unsorted → offer `design-families` once: "Your board has 240 references. Sort it into families before choosing?" (Not at `pace: quick`.)
|
|
52
|
-
- About 8 to 60 → no sorting. A board this size is already chosen.
|
|
53
|
-
- Under about 8, or a key screen nothing on the board shows → `design-moodboard` for the gap only. At `pace: quick`, three or more references are enough: go on.
|
|
40
|
+
1. No `docs/brief.md` → `idea`. The brief says no UI → nothing to design; say so.
|
|
41
|
+
2. No `docs/design/design-brief.md` → `design-brief`.
|
|
42
|
+
3. No moodboard (no `design-moodboard.md`, and no board or folder named) → `design-moodboard`. Never skipped.
|
|
43
|
+
4. **The board's size:** over about 60 references, unsorted → offer `design-families` once ("Your board has 240 references. Sort it into families, so the board you choose from has headings?"; not at `quick`). About 8 to 60 → no sorting. Under about 8, or a key screen nothing shows → `design-moodboard` for the gap only (at `quick`, three are enough).
|
|
54
44
|
5. No `design-direction.md` → `design-direction`.
|
|
55
45
|
6. No `design-identity.md` → `design-identity`.
|
|
56
|
-
7.
|
|
46
|
+
7. No `DESIGN.md` → `design-prototype`.
|
|
57
47
|
8. `DESIGN.md` and no Ready frames → `design-figma`.
|
|
58
|
-
9. `DESIGN.md` exists → a feature: `design-prototype` (feature loop). A rebrand starts again at `design-direction
|
|
59
|
-
|
|
60
|
-
A graphic (the brief's surface) takes the same steps and ends at its exported Figma frame, so never offer Architecture; its other pieces are `design-prototype`.
|
|
48
|
+
9. `DESIGN.md` exists → a feature: `design-prototype` (feature loop). A rebrand starts again at `design-direction`.
|
|
61
49
|
|
|
62
|
-
|
|
63
|
-
- `design-content`, when they ask about copy or imagery, or the key screens need more pictures than the three or four `design-direction` found.
|
|
64
|
-
- `design-wordmark`, once the identity is chosen and the name is only set in the display face. Offered once; a no stands. No mark is a fine answer: the name in the right face is often the brand, and not every screen needs to show it.
|
|
50
|
+
A graphic takes the same steps and ends at its exported Figma frame; never offer Architecture.
|
|
65
51
|
|
|
66
|
-
|
|
52
|
+
Offered once, never pushed, not at `quick`: `design-content` when they ask about copy or imagery or need more pictures than the direction found; `design-wordmark` once the identity is chosen and the name is only set in the display face. A no stands.
|
|
67
53
|
|
|
68
54
|
> You have a brief, a design brief and a moodboard of 34 references. Next: **design-direction**, eight first screens built from them. Your board is small enough to skip sorting.
|
|
69
55
|
|
|
70
56
|
Then stop. They type the skill, or say yes and you load it.
|
|
71
57
|
|
|
72
|
-
**A `DESIGN.md` they bring** has no token tables of ours (rows like `color/ink`)
|
|
58
|
+
**A `DESIGN.md` they bring** has no token tables of ours (rows like `color/ink`). Until `design-prototype` writes ours, steps 7 to 9 treat it as none: say so once, and offer it as the identity's starting point, every value in it kept unless they change it.
|
|
73
59
|
|
|
74
60
|
## Do not
|
|
75
61
|
|
|
76
|
-
- Run a skill
|
|
62
|
+
- Run a skill without their yes, or two at once.
|
|
77
63
|
- Suggest `design-families` for a board they already curated to a few dozen.
|
|
78
64
|
- Write any doc yourself. Each belongs to its skill.
|
|
@@ -17,6 +17,8 @@ description: >
|
|
|
17
17
|
|
|
18
18
|
One doc comes out, `docs/design/design-brief.md`, committed. Every other design skill reads it, so nobody is asked the same question twice. It records what they want the look to do, in words. It chooses no look: no layout, colour, typeface or style name.
|
|
19
19
|
|
|
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
|
+
|
|
20
22
|
## Gate
|
|
21
23
|
|
|
22
24
|
1. No `docs/brief.md` → `idea` first. Stop.
|
|
@@ -106,7 +108,7 @@ So nobody asks again, and so each answer changes something:
|
|
|
106
108
|
|
|
107
109
|
| Line | Read by |
|
|
108
110
|
|---|---|
|
|
109
|
-
| takeaway | `design-direction` (what the screens carry, headlines
|
|
111
|
+
| takeaway | `design-direction` (what the screens carry, headlines), `design-prototype` (the five-second check), `design-content` |
|
|
110
112
|
| first seen on | `design-direction` (the size the screens are built at) |
|
|
111
113
|
| pace | `design` and every design skill: quick drops the optional stops |
|
|
112
114
|
| words, personality, feel, never | `design-moodboard` (queries and picks), `design-families` (the sliders), `design-direction` (the against-the-brief column), `design-identity` (options and their notes) |
|
|
@@ -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
|
|
|
@@ -24,6 +24,8 @@ Comes out:
|
|
|
24
24
|
- **`docs/design/design-content.md`**, committed: per key screen, what it says and shows.
|
|
25
25
|
- New stand-ins join `.longbeard/design/pictures/` (gitignored), with `credits.tsv`.
|
|
26
26
|
|
|
27
|
+
**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.
|
|
28
|
+
|
|
27
29
|
## Gate
|
|
28
30
|
|
|
29
31
|
1. No `docs/design/design-brief.md` → `design-brief` first. Stop.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: design-direction
|
|
3
3
|
description: >
|
|
4
|
-
Find the direction: a quick
|
|
4
|
+
Find the direction: a quick round of eight screens, each one of their
|
|
5
5
|
references rebuilt faithfully with the product's real content and pictures,
|
|
6
6
|
then changed by one or two things borrowed from their other references.
|
|
7
7
|
Nothing on a screen that is not on their board. They pick on a rendered
|
|
8
|
-
|
|
9
|
-
a light touch-up fixes contrast, anything missing and anything
|
|
10
|
-
broken, never the composition. Writes
|
|
8
|
+
canvas, ask for more of one or a mix; the one they settle on is built in
|
|
9
|
+
full, then a light touch-up fixes contrast, anything missing and anything
|
|
10
|
+
plainly broken, never the composition. Writes
|
|
11
11
|
docs/design/design-direction.md. Runs after design-brief and
|
|
12
12
|
design-moodboard; design-identity then refines its type and colour.
|
|
13
13
|
---
|
|
@@ -18,12 +18,11 @@ description: >
|
|
|
18
18
|
**Uses if there:** `docs/design/design-families.md`, `docs/design/design-content.md`
|
|
19
19
|
**Writes:** `docs/design/design-direction.md`
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
**Work from the references the way a designer works from a board.** Each reference is a finished design whose sizes, spacing, type and colours work together. A screen is one reference rebuilt faithfully with the product's content, plus one or two things borrowed from others. **They are the designer:** they pick the references, say what they like in each and what to leave out, and choose. The agent makes a borrowed move fit its base and adds nothing: every face, colour, element and effect comes from their board (the subject is a card on it).
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
Writes `docs/design/design-direction.md` (committed) and works in `.longbeard/design/direction/` (gitignored): `library.json`, `screens/<n>.html`, `screens.json`, `prototype/first.html`, captures and the canvas.
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
- **`.longbeard/design/direction/`**, gitignored: `library.json` (the readings), `screens/<n>.html` and `screens.json`, `prototype/first.html` (the chosen screen), the captures and sheets.
|
|
25
|
+
**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.
|
|
27
26
|
|
|
28
27
|
## Gate
|
|
29
28
|
|
|
@@ -32,108 +31,84 @@ Comes out:
|
|
|
32
31
|
|
|
33
32
|
A graphic (the brief's surface): read [graphic.md](references/graphic.md) first.
|
|
34
33
|
|
|
35
|
-
**At `pace: quick
|
|
34
|
+
**At `pace: quick`:** one round of eight; more only when they ask.
|
|
36
35
|
|
|
37
36
|
## 0. Pictures of the subject
|
|
38
37
|
|
|
39
|
-
|
|
38
|
+
Three or four pictures of what the product is about, not other designs: theirs, or a few licensed stand-ins from `pictures.mjs`, one query per picture. Every screen uses them, and their colours are one more palette. How: [subject.md](references/subject.md). Show them on a contact sheet with step 1's message; do not stop to ask.
|
|
40
39
|
|
|
41
40
|
## 1. The content and the references, in one message
|
|
42
41
|
|
|
43
|
-
**What
|
|
44
|
-
- **The headline** says the takeaway.
|
|
45
|
-
- **The small slots** take real content in a fixed order: the primary action, then the status (open now, in stock), then the thing the product shows (today's bakes, the balance, the ownable). Each screen takes as many as its base has, from the top, and stops.
|
|
46
|
-
- **At most one extra** small element, only where the reference's own system gives it a place.
|
|
47
|
-
- **The rest** (the second action, the full list, how to reach it) is written down for `design-prototype`, which fits it with options where it forks.
|
|
42
|
+
**What a screen carries.** As much text as its base carries, filled in order: the headline (the takeaway), then the small slots: the primary action, the status (open now, in stock), the thing the product shows. At most one extra small element, where the base's system has room. The rest is listed for `design-prototype`.
|
|
48
43
|
|
|
49
|
-
**
|
|
44
|
+
**Headlines and the ownable.** Three or four headlines that say the takeaway outright, in the voice, and the ownable: one thing only this product would show (a stamp, a live count, a mark).
|
|
50
45
|
|
|
51
|
-
**
|
|
46
|
+
**Their board, every reference on it.** Copy the moodboard's `board.md` to `.longbeard/design/direction/board.md`, every card, plus the subject as a card (its contact sheet as the shot, `part: subject`, `screen: no`). With families, `--topics` puts each card under its family: a heading, never a filter.
|
|
52
47
|
|
|
53
48
|
```
|
|
54
|
-
node <skill>/scripts/moodboard.mjs .longbeard/design/direction/board.md --out .longbeard/design/direction/board.html
|
|
49
|
+
node <skill>/scripts/moodboard.mjs .longbeard/design/direction/board.md --one-lead [--topics .longbeard/design/families/board.md] --out .longbeard/design/direction/board.html
|
|
55
50
|
```
|
|
56
51
|
|
|
57
|
-
|
|
52
|
+
It says how many cards it left out for a missing shot: capture those again first. **Likes are asked once:** a card with a `like:` line starts liked, with their words.
|
|
58
53
|
|
|
59
|
-
|
|
54
|
+
> Fill order: <primary> · <status> · <what it shows>; later: <list>. Headline: 1 "…" · 2 "…" · 3 "…". Ownable: <…>. Pick or rewrite.
|
|
55
|
+
> Then open the board (your likes are marked): **Lead** the one whose composition sets the tone, Like any more, and for each new like say what you like and why ("the orange dot: the only contrast on a quiet page"). Anything you don't want from a reference goes in its **Leave out** box. Paste the copy-out.
|
|
60
56
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
**A like against the design brief.** When a like asks for what the brief rules out ("gold on deep green" when the brief says light only), the brief wins, and say it before building, once. The brief rules out only what it names: a lesson from a past site rules out what went wrong there, not every element that site had. Say it:
|
|
67
|
-
|
|
68
|
-
> Your like for <reference> names <what>, and the brief says <what it fixes>. I'll keep the brief and carry <what> by its role (the gold on a light ground). Or change the brief?
|
|
69
|
-
|
|
70
|
-
Their answer stands, or goes under **Changes** in the design brief, with why.
|
|
57
|
+
- **What they like** is what is borrowed; **why** is where it may go. A like without a why: ask once.
|
|
58
|
+
- **What they leave out is never on a screen:** dropped, or its role filled from another of their references, and never borrowed.
|
|
59
|
+
- **Spread:** the lead is the base of two screens, every like of at least one. With fewer than 6 references, say once that the eight will look alike. The subject's card lends moves, never a base.
|
|
60
|
+
- **A like the design brief rules out** ("gold on deep green", brief: light only): the brief wins, the like is carried by its role. Say it once before building; a change goes under **Changes** in the design brief.
|
|
71
61
|
|
|
72
62
|
## 2. Read the references
|
|
73
63
|
|
|
74
|
-
|
|
64
|
+
For the lead and every like, a reading complete enough to rebuild it at screen size, measured where it can be (`measure.mjs <link>`, or `measure.mjs <picture> --lines` and `fonts.mjs --shape`), with their likes and leave-outs, into `library.json`. Add the subject with its palette from `subject-colours.mjs`. How: [library.md](references/library.md).
|
|
75
65
|
|
|
76
66
|
## 3. Build the screens
|
|
77
67
|
|
|
78
|
-
Eight screens
|
|
68
|
+
Eight screens from [screen-template.html](references/screen-template.html), recorded in `screens.json` with base, moves, `build` and `state`. Five principles decide every case: the base stands unless a move names it; every measure is a share of the screen and is kept; a borrowed thing keeps its geometry and its why; a move changes only what it names; nothing from outside the board. How, with the checks: [grid.md](references/grid.md).
|
|
79
69
|
|
|
80
|
-
|
|
70
|
+
**Every round is quick:** one fresh agent per screen, built once, then one not-a-copy judge for the round. Check the plan's spread before building. Contrast blocks the canvas (a liked colour kept with a warning). The canvas is drawn only when every screen has a `state`; wait for every helper, never leave one running. Judges run on the smallest model that sees well enough (`haiku` for not-a-copy, `sonnet` for the critic, where the agent lets you choose); builders on the session's. With no fresh agents, do each job in turn and say the round is weaker.
|
|
81
71
|
|
|
82
|
-
**
|
|
72
|
+
**Show the canvas,** with every screen captured (grid.md):
|
|
83
73
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
**Judges run small.** A judge only looks and answers: the not-a-copy check, the critic, the five-second viewers, the flow walkers. Start each on the smallest model that sees pictures well enough for its job, where your agent lets you choose one (in Claude Code, the Agent tool's `model`: `haiku` for not-a-copy and the five-second viewers, `sonnet` for the critic). Builders and fixers run on the session's model. Where you cannot choose, every agent runs on the session's model, and nothing else changes.
|
|
89
|
-
|
|
90
|
-
Show the sheet, each screen marked rough or full and beside its base, and a table: each number, its base and its moves in plain words, every visible choice that came from their likes (with the like: "black and white photos: your like for <reference>"), and any fault you could not fix. Never say which you prefer.
|
|
74
|
+
```
|
|
75
|
+
node <skill>/scripts/canvas.mjs .longbeard/design/direction/screens.json --board .longbeard/design/direction/board.md --shots .longbeard/design/direction/grid --out .longbeard/design/direction/canvas.html
|
|
76
|
+
```
|
|
91
77
|
|
|
92
|
-
|
|
78
|
+
It shows every screen in a strip, rounds and parts in rows, and the one they open large beside what it is made from: its base and each move, with the reference and their words. Give its path, and one line per screen only for a fault or what sits against the brief (its never, words, personality, or could be mistaken for what it must stand apart from). Never say which you prefer.
|
|
93
79
|
|
|
94
|
-
> Which
|
|
80
|
+
> Which is closest? Name it and it's built in full. Or "more", "more of 3", "3 with 6's colours".
|
|
95
81
|
|
|
96
82
|
## 4. More, mix, choose
|
|
97
83
|
|
|
98
|
-
- **More of
|
|
99
|
-
- **A mix
|
|
100
|
-
- **More
|
|
101
|
-
|
|
102
|
-
**A screen shown again** (more of it, a mix, a fix) goes beside the version they last saw to a fresh critic: what got worse? A change that breaks something they liked is undone. Any earlier version stays theirs to take.
|
|
103
|
-
|
|
104
|
-
**The pick decides, the why guides.** When they pick a screen that breaks a why they gave, record it and ask once whether the why still holds; the screen is never blocked by it.
|
|
105
|
-
|
|
106
|
-
**Their favourite, alone.** Before the yes, build in full the one they lean to if it is still rough, then show it at full size on its own, as a visitor meets it. Iterate until one screen is theirs, read it back in one line, read its base's motion unless the design brief's is none ([library.md](references/library.md)), and on their yes copy it to `.longbeard/design/direction/prototype/first.html` and note its number in `screens.json` (`"chosen": n`). A rough screen never becomes `first.html`.
|
|
84
|
+
- **More of 3:** three more on 3's base with other moves, quick, one judge, on the canvas beside 3.
|
|
85
|
+
- **A mix** ("4 with 7's colours"): quick.
|
|
86
|
+
- **More:** a fresh round of eight, new pairings. After two rounds with nothing taken, ask once what is missing (`design-moodboard`).
|
|
107
87
|
|
|
108
|
-
|
|
88
|
+
Every version stays theirs. A pick that breaks a why they gave: ask once whether the why still holds; never block it.
|
|
109
89
|
|
|
110
|
-
**
|
|
90
|
+
**Their favourite.** When they name one, build it in full ([full-build.md](references/full-build.md)) and show it at full size beside the quick version. Iterate on it until it is theirs. Then two short things, before the yes:
|
|
111
91
|
|
|
112
|
-
|
|
92
|
+
- **Parts, if they want.** Name its parts in one line (the menu, the headline, the primary action, a card or row, the pictures, the footer: what it has) and ask: "Open any part?" None is a fine answer. For a part they open: three or four versions of that part only, on the favourite with everything else frozen, each from a reference that shows that part (a card's `part`, or its `also` shots), quick, one agent each, in `screens.json` as `"of": <n>, "part": "<name>"`. "Find more" for a part is `design-moodboard`'s one piece: their board first, then outside. They take one, mix, or keep the original.
|
|
93
|
+
- **The hardest screen.** One more screen in the favourite's look: the brief's key screen that is hardest for it (the densest list, a form, a table), its layout from the base's `also` shot of that kind if it has one, else from a reference that shows that kind, built in full, in `screens.json` as `"of": <n>, "test": true`. It tests the look; it is not designed here. Show it beside the favourite on the canvas, and if the look breaks on it, say where in one line: they keep it, go back to another pick, or mix. A graphic skips it.
|
|
113
94
|
|
|
114
|
-
On the
|
|
95
|
+
On their yes, read it back in one line, read its base's motion unless the brief's is none ([library.md](references/library.md)), copy it to `prototype/first.html`, and set `"chosen": n` in `screens.json`. Look at it at the other width yourself, and say one line only if the composition breaks there. When the brief's `decides` names someone else, they confirm it first.
|
|
115
96
|
|
|
116
|
-
|
|
97
|
+
## 5. The touch-up
|
|
117
98
|
|
|
118
|
-
|
|
119
|
-
- **Contrast where text sits.** Text under 4.5:1 (3:1 large) on what is actually behind it (`screen-contrast.mjs`; with the design brief's accessibility at AAA, `--min 7 --large 4.5`): fixed with the text's colour, a weight, or a scrim the size of the text, never by moving the text off the picture.
|
|
120
|
-
- **Something missing.** A slot's item, the primary action, or a button the screen needs that is not there or cannot be found: added inside its zone, in the look's own controls. What waits for the prototype is not missing.
|
|
121
|
-
- **Something plainly off.** A clipped word, text hidden where it cannot be read, a control that looks tappable and is not, the same line twice.
|
|
122
|
-
- **Rank, only when inverted.** The headline outranked by smaller text: the smaller one is brought down, not the headline restyled.
|
|
99
|
+
On the chosen screen only. It repairs; it never redesigns. Text over pictures, collisions, crops, giant type, overlaps, wide empty space are the look: never tidied.
|
|
123
100
|
|
|
124
|
-
|
|
101
|
+
It fixes only, with colour, weight, size within a step or spacing inside a zone:
|
|
102
|
+
- **Contrast where text sits** (`screen-contrast.mjs`; at AAA `--min 7 --large 4.5`), never by moving text off the picture.
|
|
103
|
+
- **Something missing:** a slot's item or the primary action, inside its zone.
|
|
104
|
+
- **Something plainly off:** a clipped word, unreadable text, a dead control, a line twice.
|
|
105
|
+
- **Rank, only when inverted:** bring the smaller text down.
|
|
125
106
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
Make the fixes on `first.html`, keep the screen before them, capture both side by side, and list each change in one line. Nothing to fix is a fine result. Then:
|
|
107
|
+
When unsure, leave it and ask in one line. Keep the before, capture both side by side, one line per change:
|
|
129
108
|
|
|
130
109
|
> Keep all, or turn any off?
|
|
131
110
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
**Then the five-second check** on the touched-up screen: three fresh agents who know nothing of the product say what it is, who it is for, what they would do first, and how it feels, and that is set against the takeaway. How, and what a miss allows: [five-second.md](references/five-second.md). Its fixes are the touch-up's own, shown before and after like them.
|
|
135
|
-
|
|
136
|
-
Record the result in `first.html` itself, its `LOOK` and its CSS, never as a query string: `design-identity` and `design-prototype` open it as it is.
|
|
111
|
+
Record it in `first.html` itself (`LOOK` and CSS), never a query string. The five-second check runs later, in `design-prototype`.
|
|
137
112
|
|
|
138
113
|
## Write `docs/design/design-direction.md`
|
|
139
114
|
|
|
@@ -142,26 +117,25 @@ Record the result in `first.html` itself, its `LOOK` and its CSS, never as a que
|
|
|
142
117
|
|
|
143
118
|
- takeaway: <from the design brief>
|
|
144
119
|
- headline: "<the one they picked>"
|
|
145
|
-
- carries: <what the chosen screen holds, in
|
|
146
|
-
- for the prototype: <everything else the first screen needs
|
|
120
|
+
- carries: <what the chosen screen holds, in fill order>
|
|
121
|
+
- for the prototype: <everything else the first screen needs>
|
|
147
122
|
- ownable: <what, from the product's world>
|
|
148
|
-
- five seconds: <what it is n of 3, what to do n of 3, feel words; people's answers when given; "not run" and why otherwise>
|
|
149
123
|
|
|
150
124
|
## Composition
|
|
151
125
|
<The chosen first screen in words, complete enough to rebuild with no picture: where everything sits, what overlaps or runs off, how much is empty, how big type is against the rest.>
|
|
152
126
|
|
|
153
127
|
- navigation: <one sentence>
|
|
154
|
-
- zones: <
|
|
155
|
-
- holds across screens: <
|
|
128
|
+
- zones: <one line each>
|
|
129
|
+
- holds across screens: <how empty, type scale, picture share, margin, radius, edges, density>
|
|
156
130
|
- pictures: <how they are treated>
|
|
157
|
-
- motion: <what moves,
|
|
158
|
-
- finish: <
|
|
131
|
+
- motion: <what moves, trigger, ms, easing, within the brief's pick; or "none">
|
|
132
|
+
- finish: <a pasteable recipe; or "none">
|
|
159
133
|
|
|
160
134
|
## Hierarchy
|
|
161
135
|
1. <first read> 2. <second> 3. <the rest>. Primary action: <what, where>.
|
|
162
136
|
|
|
163
137
|
## Voice
|
|
164
|
-
<from the design brief,
|
|
138
|
+
<from the design brief, with the headline as its sample>
|
|
165
139
|
|
|
166
140
|
## Look, as built
|
|
167
141
|
Proposal; `design-identity` refines it.
|
|
@@ -169,17 +143,17 @@ Proposal; `design-identity` refines it.
|
|
|
169
143
|
- colours: ground <#…>, ink <#…>, accent <#… or none>
|
|
170
144
|
```
|
|
171
145
|
|
|
172
|
-
No reference names, links or paths
|
|
173
|
-
|
|
174
|
-
> Change anything, or take this into the identity (type and colour, refined on this screen)?
|
|
146
|
+
No reference names, links or paths. Then the direction in up to five lines:
|
|
175
147
|
|
|
176
|
-
|
|
148
|
+
> Change anything, or go on to the identity?
|
|
177
149
|
|
|
178
150
|
## Do not
|
|
179
151
|
|
|
180
152
|
- Rank the screens, or say which you prefer.
|
|
181
|
-
-
|
|
182
|
-
-
|
|
183
|
-
- Fit more content
|
|
184
|
-
-
|
|
153
|
+
- Add anything their board does not have, or anything they wrote to leave out.
|
|
154
|
+
- Hide a reference because of its family.
|
|
155
|
+
- Fit more content than the base carries, or polish beyond its references.
|
|
156
|
+
- Build in full anything but their favourite and its hardest screen, or show the canvas before every screen has a state.
|
|
157
|
+
- Open a part they did not ask to open.
|
|
158
|
+
- In the touch-up: move a zone, change the layout, add a section, or tidy what the references do on purpose.
|
|
185
159
|
- Take a reference's content, pictures or words.
|
|
@@ -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,19 +1,20 @@
|
|
|
1
1
|
# The full build
|
|
2
2
|
|
|
3
|
-
Read by `design-direction` once they
|
|
3
|
+
Read by `design-direction` once they settle on one screen: the jobs that take a quick screen to a full one. It runs once in the step, on that screen only. The principles, the moves and the round's checks are in [grid.md](grid.md).
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
One agent that builds and judges defends its own choices, so the critic is a fresh agent with only what it needs. That is two agents in all: one critic, one fixer.
|
|
6
6
|
|
|
7
|
-
**
|
|
7
|
+
**1. Critique (one fresh agent, pictures only).** It gets: the base reference (cropped to its screen), the screen, `layout-diff.mjs`'s `side.png` and `overlay.png` for it (`--mirror` when the layout turned) and the lines its `diff.json` marks off, the translation's capture, 3× crops of every small device, rule, tight gap and edge beside the same crops of the source (made for it: it runs no scripts), each move's source picture, the moves in words, what they wrote to leave out, and the contrast report. No rules, no brief, no session; only what the product is, in one line. It answers:
|
|
8
8
|
- **Where is this screen less finished than its reference?** Every spot, small ones included (a gap, an edge, a size, a weight, a colour, a picture, text that cannot be read), each with the place in the reference that shows how it should be. The reference is the standard: what it does on purpose is never a fault.
|
|
9
9
|
- **What changed from the translation that no move names?**
|
|
10
10
|
- **In one line, what made the reference work, and does the screen keep it?**
|
|
11
|
-
- **Anything on the screen that no reference has?**
|
|
11
|
+
- **Anything on the screen that no reference has, or that they wrote to leave out?**
|
|
12
12
|
- **What on this screen exists only because of this product?** Not its words or pictures but a thing: its ownable, a mark, a number, a form. An empty answer is a fault, listed like any other: a screen as right for another trade has borrowed and added nothing.
|
|
13
13
|
|
|
14
14
|
It lists; it never redesigns.
|
|
15
15
|
|
|
16
|
-
**
|
|
16
|
+
**2. Fix (one fresh agent), once.** It gets the critic's list, the screen's file and the same pictures, and changes only the spots listed, each toward what the reference does, with what the screen and its references already have; an empty answer to the last question is fixed with the ownable or a thing from the subject's card. The fix is a new version (`<n>-a.html`); the quick version stays theirs to take. Then capture, `layout-diff.mjs` and contrast again, and look at the two side by side yourself: a change that breaks something they liked is undone. No second critic.
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
A spot left is a known fault, said beside the screen, never hidden. A stand-in picture is never a spot: it is listed under what they still supply. When every spot the critic lists is small (within the 15% principle 2 keeps, shows only in a 3× crop and never at the screen's own size, and breaks nothing the reference does on purpose), skip the fix; an empty answer to the product question is never small.
|
|
19
19
|
|
|
20
|
+
Then the round's checks ([grid.md](grid.md)) on the new version: contrast and faults.
|