@jonandev/longbeard 0.13.0 → 0.15.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 +5 -5
- package/CHANGELOG.md +35 -0
- package/README.md +3 -4
- package/beard.json +6 -17
- package/bin/long-beard.js +2 -2
- package/package.json +1 -1
- package/skills/design/SKILL.md +7 -11
- package/skills/design-brief/SKILL.md +5 -35
- package/skills/design-check/SKILL.md +5 -7
- package/skills/design-check/references/design-rules.md +26 -4
- package/skills/design-check/scripts/rules.mjs +143 -9
- package/skills/design-content/SKILL.md +3 -8
- package/skills/design-direction/SKILL.md +58 -53
- package/skills/design-direction/references/design-floor.md +118 -0
- package/skills/design-direction/references/graphic.md +5 -6
- package/skills/design-direction/references/library.md +7 -7
- package/skills/design-direction/references/screen-template.html +7 -164
- package/skills/design-direction/references/screen.js +163 -0
- package/skills/design-direction/references/subject.md +3 -3
- package/skills/design-direction/references/variants.js +43 -0
- package/skills/design-direction/scripts/canvas.mjs +12 -9
- package/skills/design-direction/scripts/colours.mjs +247 -0
- package/skills/design-direction/scripts/moodboard.mjs +1 -1
- package/skills/design-direction/scripts/rules.mjs +747 -0
- package/skills/design-direction/scripts/sheet.mjs +3 -1
- package/skills/design-figma/SKILL.md +4 -6
- package/skills/design-identity/SKILL.md +12 -14
- package/skills/design-identity/references/design-floor.md +118 -0
- package/skills/design-identity/scripts/colours.mjs +35 -1
- package/skills/design-identity/scripts/sheet.mjs +3 -1
- package/skills/design-moodboard/SKILL.md +11 -11
- package/skills/design-moodboard/references/graphic.md +1 -1
- package/skills/design-moodboard/references/sources.md +1 -1
- package/skills/design-moodboard/scripts/group.mjs +1 -1
- package/skills/design-moodboard/scripts/moodboard.mjs +1 -1
- package/skills/design-prototype/SKILL.md +51 -49
- package/skills/design-prototype/references/design-floor.md +118 -0
- package/skills/design-prototype/references/design-md-template.md +4 -2
- package/skills/design-prototype/references/graphic.md +6 -5
- package/skills/design-prototype/references/variants.js +43 -0
- package/skills/design-prototype/scripts/links.mjs +5 -4
- package/skills/design-prototype/scripts/rules.mjs +143 -9
- package/skills/design-prototype/scripts/sheet.mjs +3 -1
- package/skills/design-wordmark/SKILL.md +9 -8
- package/skills/design-wordmark/scripts/sheet.mjs +3 -1
- package/skills/framework-skills/SKILL.md +3 -5
- package/skills/idea/SKILL.md +7 -9
- package/skills/design-direction/references/design-rules.md +0 -204
- package/skills/design-direction/references/full-build.md +0 -20
- package/skills/design-direction/references/grid.md +0 -97
- package/skills/design-direction/scripts/layout-diff.mjs +0 -118
- package/skills/design-families/SKILL.md +0 -139
- package/skills/design-families/scripts/contact-sheet.mjs +0 -259
- package/skills/design-families/scripts/families.mjs +0 -607
- package/skills/design-families/scripts/measure.mjs +0 -1728
- package/skills/design-families/scripts/moodboard.mjs +0 -609
- package/skills/design-families/scripts/tag.mjs +0 -289
- package/skills/design-prototype/references/design-rules.md +0 -204
- package/skills/design-prototype/references/five-second.md +0 -46
package/AGENTS.md
CHANGED
|
@@ -6,13 +6,13 @@ The project's own code, conventions, and DESIGN.md win. Load only what the task
|
|
|
6
6
|
|---|---|---|---|
|
|
7
7
|
| Idea | No docs/brief.md, or the product changes | idea | docs/brief.md |
|
|
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
|
-
| Architecture | No
|
|
10
|
-
| Plan | A flow or feature |
|
|
11
|
-
| Build | Tickets | implement-spec →
|
|
9
|
+
| Architecture | No stack ADR, or new stack | grill-with-docs → framework-skills | GLOSSARY.md, ADRs |
|
|
10
|
+
| Plan | A flow or feature | grilling → to-spec → to-tickets | specs, tickets, one session |
|
|
11
|
+
| Build | Tickets | implement-spec → design-check | one PR per spec, red-green per slice |
|
|
12
12
|
|
|
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
|
|
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: Plan; new terms: grill-with-docs.
|
|
14
14
|
|
|
15
|
-
UI tickets link their Ready Figma frame. UI work follows DESIGN.md and that frame; a mismatch is a bug.
|
|
15
|
+
UI tickets link their Ready Figma frame. UI work follows DESIGN.md and that frame; a mismatch is a bug. Layout or UI options: design, never prototype.
|
|
16
16
|
|
|
17
17
|
- A hard bug: diagnosing-bugs
|
|
18
18
|
- Handing off, when asked: handoff
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,41 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.15.0 — 2026-11-26
|
|
6
|
+
|
|
7
|
+
- **Motion you can choose.** When your design brief asks for present or leading motion and your board has nothing moving, the moodboard offers a short motion search; you watch each candidate live from its link and like what moves well, and only your likes are recorded. The prototype then shows two or three versions of each key moment, each rebuilt from a moving reference on your board with whatever it needs (a motion library for sequenced or scroll-driven work), and DESIGN.md records the one you pick.
|
|
8
|
+
- **Eight concepts.** Every first screen now develops one liked reference's idea, written out and redrawn for your product, with at most two things borrowed from your other likes. Your lead gets two screens, each a different take; six other likes get one each. Any liked reference can lead a screen, whatever it was made as (a section, an inner page, a poster, an app screen): it keeps its idea and is redrawn for the role this screen plays in your product (a site's opening screen, an app's first screen, or the piece itself for a graphic), so what only worked in its old role stays out.
|
|
9
|
+
- **Lighter design steps.** Each first screen no longer carries a copy of the screen's fixed code (the look from the address, font loading, the live controls): it is one `screen.js` beside the screens, so a round of eight is written with far fewer tokens and in less time. The skill descriptions are shorter, so every session loads less, and `design-brief` and `design-direction` say the same things in fewer words. Nothing to do after `update`.
|
|
10
|
+
|
|
11
|
+
If you already ran `init`: run `npx longbeard update` to take the new design skills. The `AGENTS.md` block is unchanged, and a direction in progress keeps working.
|
|
12
|
+
|
|
13
|
+
## 0.14.0 — 2026-11-25
|
|
14
|
+
|
|
15
|
+
- **Concepts, not only rebuilds.** Of the eight first screens, six still rebuild one of your references; two now develop a concept you liked: the agent writes out what it is and why it works, then redraws it for your content, keeping its devices, type and colour. Before you see one it must be the same concept and not a copy; a screen with no concept behind it goes. The canvas labels them "concept from …". Style still comes only from your board.
|
|
16
|
+
- **A recommendation, and the pick in context.** The direction now names the screen that best does what your design brief asks, and which line it serves; you still choose. Once you pick, it builds that screen's phone view and the hardest key screen in its look, before the identity, so a look that breaks on real content shows while going back is cheap.
|
|
17
|
+
- **Adapted, never copied.** Each first screen keeps its reference's essence and scene and adapts the specifics to your product, as a designer would: your content and pictures, the proportions they need, and where your brief or subject asks, a colour or face of the same character. Every screen must be the same idea and not a copy.
|
|
18
|
+
- **Never a collage.** A screen is its base and at most two moves; the lead's devices (or any reference's) sit on at most two screens beyond its own, so the round does not paste the same pieces everywhere.
|
|
19
|
+
- **Seven references in eight screens.** The two concepts come from likes no other screen stands on, so the first round spreads across your board instead of repeating a few references.
|
|
20
|
+
- **Each screen beside its references.** Before the canvas, the direction looks at each screen beside the pictures it is made from, and fixes any scene or device that no longer reads as it does there.
|
|
21
|
+
- **What you like is taken whole.** A liked reference's scene, and any device borrowed from it, keeps the form, the job and the space it has there: never taken apart, restyled or given another job (a block of colour does not become a button).
|
|
22
|
+
- **A first screen does a first screen's job.** A reference that is a mid-page section, an inner page or a poster lends its system and moves to the first screen; what only works in its own role is left out. And one picture leads: pictures that share a view never compete (a subject laid over the same subject behind it).
|
|
23
|
+
- **You pick the accent.** When your board shows no clear accent and you named none, the direction offers a few with the readings: complementary, split-complementary and analogous to the board's primary, at the board's own lightness and chroma (`colours.mjs --harmony`), plus one from the subject's pictures, each passing contrast on the ground. Unanswered, the eight screens spread them, about two each, so you see them in the design; "3 with 6's accent" mixes. Picking a screen is not picking its accent: `design-identity` asks for it on the chosen screen at every pace, unless you named it or the board leaves no doubt.
|
|
24
|
+
- **Principles.** On your pick, the direction writes three to five principles from your whys ("one loud thing per screen"). Identity and wordmark options say when they break one; the prototype builds every page to them; `DESIGN.md` carries them; `design-check` checks them before any soft rule.
|
|
25
|
+
- **Options on the real page.** When you ask for versions of a part, or layouts for a page, they sit on the real screen, with its header, content and density, instead of a separate sheet. A small bar at the bottom names the reference each one comes from, and ← → flip between them; `?variant=2` links to one.
|
|
26
|
+
- **The floor while building, the rest in review.** `design-direction`, `design-identity` and `design-prototype` now read `design-floor.md` (generated from `design-rules.md`: its opening sections and every hard check), about half the words. The soft rules and tells are `design-check`'s.
|
|
27
|
+
- **The floor while building, and every part from your board.** `design-direction` and `design-prototype` read **Before you build** before they draw. Text you act on must pass contrast and size, fixed inside the concept; display type and composition still keep it. The prototype builds each part (a footer, a form, a menu) from the chosen screen first, then the references you liked that show it, minus what you left out; when none does, it asks and builds a marked stand-in meanwhile.
|
|
28
|
+
- **A craft floor in the design rules.** `design-rules.md` opens with **Before you build**: five checks a screen meets while it is drawn, each pointing to its rule. Text has a floor (12px, 14px on what a person acts on, 16px body) that `rules.mjs` measures; small text the board shows and you kept is a warning with its size (`data-board-size`), not a block. Text you act on keeps the floor inside a liked concept; display type and composition keep the concept. New soft rules: the accent from the board or from harmony with its primary, colour proportion about 60/30/10 (measured on the first screen, reported only), neutrals tinted from the board, and display type set tighter than body.
|
|
29
|
+
- **Your taste travels.** When `DESIGN.md` is written, the prototype offers once to write what the project learned (your whys, leave-outs, and what you turned down and why) where your board lives: a `Learned` frame on a Figma board, `learned.md` in a folder, or `~/.longbeard/taste.md`. `design-moodboard` reads it next time. Your own cards are never changed.
|
|
30
|
+
- **`design-families` is gone.** `design-moodboard` groups a board over about 60 references by eye into headings (`topic:` on each card); its scripts (`measure.mjs`, `tag.mjs`, `families.mjs`) now live in `design-moodboard`. A picture reference is read by eye, measured only for a number the eye cannot read. `npx longbeard update` removes the old skill.
|
|
31
|
+
- **Fixes from the pet-photographer run.** Direction screens set no text under 12px and carry only the text their base's `slots` allow (readings now count its text `blocks`). Every shadow, gradient or effect on a screen names its reference before the checks, or goes. A check that would undo the concept now reaches you as a choice ("keep, or change?") in the message, not only in the canvas. A sheet of screenshots in the prototype's folder is no longer counted as a dead-end page by `links.mjs`.
|
|
32
|
+
- **Plan grills each flow first.** The Plan row is now `grilling → to-spec → to-tickets`, in one session: `to-spec` asks nothing and writes from the conversation, so a spec started cold had only the brief. `to-spec` still asks for `setup-matt-pocock-skills` when a repo has none.
|
|
33
|
+
- **Build says what really runs.** The Build row is `implement-spec → design-check`: `implement-spec` already runs `tdd` on each ticket and `code-review` at the end, and `pr` writes the body whenever a PR is opened. Writes reads "red-green per slice", one test then its code, never all the tests first.
|
|
34
|
+
- **Architecture ends with a stack ADR.** It starts when there is no stack ADR (not when there is no `GLOSSARY.md`, which is written only once a term is settled). `idea` and `design-figma` say what to grill when they offer `/grill-with-docs`: the stack, and the words the brief and the Figma screens use.
|
|
35
|
+
- **Layout or UI options go to `design`, never `prototype`.** Matt's `prototype` still answers logic questions; its UI branch made options of the model's own.
|
|
36
|
+
- **`/retro`** is named in the README for a build that went sideways.
|
|
37
|
+
|
|
38
|
+
If you already ran `init`: run `npx longbeard update`. It writes the new `AGENTS.md` block (the Plan, Build and Architecture rows changed) and removes `design-families`. A direction in progress keeps working.
|
|
39
|
+
|
|
5
40
|
## 0.13.0 — 2026-11-25
|
|
6
41
|
|
|
7
42
|
- **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.
|
package/README.md
CHANGED
|
@@ -18,8 +18,8 @@ It is not an agent runtime or a marketplace, and it does not turn one prompt int
|
|
|
18
18
|
| 1. Idea | The agent grills the idea, each question with its recommendation | `docs/brief.md` |
|
|
19
19
|
| 2. Design | A short brief and your moodboard, then you pick a direction and variants of it. Type, colour and the other screens follow, each on your yes. [How it flows](assets/design-flow.png) | `DESIGN.md` and Figma screens marked Ready |
|
|
20
20
|
| 3. Architecture | The stack and the words the product uses, then skills for that stack, on your yes | `GLOSSARY.md`, decisions |
|
|
21
|
-
| 4. Plan | Each flow becomes a spec
|
|
22
|
-
| 5. Build | One agent per ticket,
|
|
21
|
+
| 4. Plan | Each flow is grilled, then becomes a spec and tickets in the same session | specs and tickets |
|
|
22
|
+
| 5. Build | One agent per ticket, red-green one slice at a time, reviewed, checked against its Figma frame. Type `/retro` after a build that went sideways | one pull request per spec |
|
|
23
23
|
|
|
24
24
|
Each stage writes a file the next one reads, so you can stop anywhere and come back, or join with a project that already has some of them. A CLI, API or library skips Design.
|
|
25
25
|
|
|
@@ -30,7 +30,7 @@ Each stage writes a file the next one reads, so you can stop anywhere and come b
|
|
|
30
30
|
**You are the designer.** An AI has no taste of its own, only an average of what once looked good. So Long Beard follows an art director's process:
|
|
31
31
|
|
|
32
32
|
- **You choose.** You pick references you love, say what you like in each, and choose the result.
|
|
33
|
-
- **The agent does the craft.** It
|
|
33
|
+
- **The agent does the craft.** It adapts your references to your product as a designer would, keeping what makes each work and never copying it, develops the concepts you liked, combines what you took from each, and adds no style that is not on your board.
|
|
34
34
|
|
|
35
35
|
**No board yet?** It searches award-winning and most-liked work, and you mark what you like. **Have a brand?** Your colours, faces and references go in first.
|
|
36
36
|
|
|
@@ -50,7 +50,6 @@ Long Beard's own skills live in [`skills/`](skills/). The others are installed f
|
|
|
50
50
|
| [design](skills/design/SKILL.md) | The way in: suggests which design skill to run next | Long Beard |
|
|
51
51
|
| ↳ [design-brief](skills/design-brief/SKILL.md) | A studio's questions, in one message | Long Beard |
|
|
52
52
|
| ↳ [design-moodboard](skills/design-moodboard/SKILL.md) | Your board, or a search you mark like or no | Long Beard |
|
|
53
|
-
| ↳ [design-families](skills/design-families/SKILL.md) | Optional: sorts a big board into looks | Long Beard |
|
|
54
53
|
| ↳ [design-direction](skills/design-direction/SKILL.md) | First screens from your references; you pick a direction and variants of it | Long Beard |
|
|
55
54
|
| ↳ [design-identity](skills/design-identity/SKILL.md) | Type and colour, refined on the chosen screen | Long Beard |
|
|
56
55
|
| ↳ [design-prototype](skills/design-prototype/SKILL.md) | The key screens and their states, then `DESIGN.md` | Long Beard |
|
package/beard.json
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"name": "Architecture",
|
|
27
|
-
"when": "No
|
|
27
|
+
"when": "No stack ADR, or new stack",
|
|
28
28
|
"skills": [
|
|
29
29
|
"grill-with-docs",
|
|
30
30
|
"framework-skills"
|
|
@@ -35,22 +35,20 @@
|
|
|
35
35
|
"name": "Plan",
|
|
36
36
|
"when": "A flow or feature",
|
|
37
37
|
"skills": [
|
|
38
|
-
"
|
|
38
|
+
"grilling",
|
|
39
39
|
"to-spec",
|
|
40
40
|
"to-tickets"
|
|
41
41
|
],
|
|
42
|
-
"writes": "specs, tickets"
|
|
42
|
+
"writes": "specs, tickets, one session"
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
"name": "Build",
|
|
46
46
|
"when": "Tickets",
|
|
47
47
|
"skills": [
|
|
48
48
|
"implement-spec",
|
|
49
|
-
"
|
|
50
|
-
"design-check",
|
|
51
|
-
"pr"
|
|
49
|
+
"design-check"
|
|
52
50
|
],
|
|
53
|
-
"writes": "
|
|
51
|
+
"writes": "one PR per spec, red-green per slice"
|
|
54
52
|
}
|
|
55
53
|
],
|
|
56
54
|
"shapes": {
|
|
@@ -120,22 +118,13 @@
|
|
|
120
118
|
"why": "Read their board or search; they mark likes. Writes docs/design/design-moodboard.md.",
|
|
121
119
|
"via": "design"
|
|
122
120
|
},
|
|
123
|
-
{
|
|
124
|
-
"name": "design-families",
|
|
125
|
-
"author": "Long Beard",
|
|
126
|
-
"license": "MIT",
|
|
127
|
-
"source": "local",
|
|
128
|
-
"when": "A board over about 60 references",
|
|
129
|
-
"why": "Optional. Sort it into looks, as headings; every reference stays. Writes docs/design/design-families.md.",
|
|
130
|
-
"via": "design"
|
|
131
|
-
},
|
|
132
121
|
{
|
|
133
122
|
"name": "design-direction",
|
|
134
123
|
"author": "Long Beard",
|
|
135
124
|
"license": "MIT",
|
|
136
125
|
"source": "local",
|
|
137
126
|
"when": "A moodboard, no direction",
|
|
138
|
-
"why": "A few pictures of the subject, then eight first screens, each one of your references rebuilt with your content and changed by a move or two borrowed from others
|
|
127
|
+
"why": "A few pictures of the subject, then eight first screens, each one of your references rebuilt with your content and changed by a move or two borrowed from others, nothing off your board; you pick. Writes docs/design/design-direction.md.",
|
|
139
128
|
"via": "design"
|
|
140
129
|
},
|
|
141
130
|
{
|
package/bin/long-beard.js
CHANGED
|
@@ -731,8 +731,8 @@ function generateRouter(items, manifest = curated(), shape = "full") {
|
|
|
731
731
|
: "";
|
|
732
732
|
// A shape says its own two paragraphs: the whole pipeline's name stages and skills it may not have.
|
|
733
733
|
const notes = shapeDef(manifest, shape)?.notes ?? [
|
|
734
|
-
"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
|
|
735
|
-
"UI tickets link their Ready Figma frame. UI work follows DESIGN.md and that frame; a mismatch is a bug.",
|
|
734
|
+
"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: Plan; new terms: grill-with-docs.",
|
|
735
|
+
"UI tickets link their Ready Figma frame. UI work follows DESIGN.md and that frame; a mismatch is a bug. Layout or UI options: design, never prototype.",
|
|
736
736
|
];
|
|
737
737
|
return `# Long Beard
|
|
738
738
|
|
package/package.json
CHANGED
package/skills/design/SKILL.md
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: design
|
|
3
3
|
description: >
|
|
4
|
-
The way into the design-* skills
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
docs/brief.md exists, the brief is a site, an app or a graphic, and there is no approved DESIGN.md,
|
|
8
|
-
or when they ask what to do next on the look.
|
|
4
|
+
The way into the design-* skills: reads the project and suggests the next
|
|
5
|
+
design skill, and why. Runs when a site, app or graphic brief has no
|
|
6
|
+
approved DESIGN.md, or when they ask what next on the look.
|
|
9
7
|
---
|
|
10
8
|
|
|
11
9
|
# Design
|
|
@@ -21,11 +19,10 @@ Each skill's top lines say what it **Needs**, **Uses if there** and **Writes**:
|
|
|
21
19
|
| Skill | Job |
|
|
22
20
|
|---|---|
|
|
23
21
|
| `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-
|
|
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 |
|
|
22
|
+
| `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; a big board is grouped by eye into headings |
|
|
23
|
+
| `design-direction` | Pictures of the subject, then eight first screens, each one of their references adapted to the product as a designer would (never a copy), with a move or two from the others; nothing off the board, nothing they said to leave out. One agent builds them, scripts check contrast and clipped text; they choose, or ask for more or a mix |
|
|
27
24
|
| `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
|
|
25
|
+
| `design-prototype` | The key screens and their states in the chosen screen's frame, each page opening with its own job, checked by script and shown as one set; approved → `DESIGN.md` |
|
|
29
26
|
| `design-figma` | Tokens, the identity board, components and Ready frames |
|
|
30
27
|
| `design-content` | Optional, any time. What each screen says and shows: copy, and the full picture list |
|
|
31
28
|
| `design-wordmark` | Optional, after the identity. A mark made from the chosen type |
|
|
@@ -40,7 +37,7 @@ Look at the repo; do not ask what is there. Read the design brief's `pace` first
|
|
|
40
37
|
1. No `docs/brief.md` → `idea`. The brief says no UI → nothing to design; say so.
|
|
41
38
|
2. No `docs/design/design-brief.md` → `design-brief`.
|
|
42
39
|
3. No moodboard (no `design-moodboard.md`, and no board or folder named) → `design-moodboard`. Never skipped.
|
|
43
|
-
4. **The board's size:**
|
|
40
|
+
4. **The board's size:** under about 8, or a key screen nothing shows → `design-moodboard` for the gap only (at `quick`, three are enough).
|
|
44
41
|
5. No `design-direction.md` → `design-direction`.
|
|
45
42
|
6. No `design-identity.md` → `design-identity`.
|
|
46
43
|
7. No `DESIGN.md` → `design-prototype`.
|
|
@@ -60,5 +57,4 @@ Then stop. They type the skill, or say yes and you load it.
|
|
|
60
57
|
## Do not
|
|
61
58
|
|
|
62
59
|
- Run a skill without their yes, or two at once.
|
|
63
|
-
- Suggest `design-families` for a board they already curated to a few dozen.
|
|
64
60
|
- Write any doc yourself. Each belongs to its skill.
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: design-brief
|
|
3
3
|
description: >
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
One message of questions with suggested answers from the product brief, one
|
|
8
|
-
read-back, and the answers written to docs/design/design-brief.md. Runs after
|
|
9
|
-
docs/brief.md exists and the brief is a site, an app or a graphic, before any other design-* skill,
|
|
10
|
-
or when the feel of the product changes.
|
|
4
|
+
A designer's questions before any looking: what the first screen must do,
|
|
5
|
+
personality, feel, never, apart from, fixed. Writes docs/design/design-
|
|
6
|
+
brief.md. Runs before any other design-* skill, or when the feel changes.
|
|
11
7
|
---
|
|
12
8
|
|
|
13
9
|
# Design brief
|
|
@@ -102,35 +98,9 @@ Give each number as the scale's right end (loud 2 is fairly quiet), so the read-
|
|
|
102
98
|
|
|
103
99
|
**Names stay out.** The sites and brands they love, and the competitors they named, go to `.longbeard/design/brief-loves.md` for `design-moodboard` to search from. Before that first write, add `.longbeard/design/` to `.gitignore` if it is missing, and say why in one line: the names must never be committed. The committed doc describes what those things do ("long editorial pages, one picture at a time"), never who. Owned colours and faces are theirs, so their values are written.
|
|
104
100
|
|
|
105
|
-
|
|
101
|
+
Every line is read by a later step, so nobody asks again and each answer changes something.
|
|
106
102
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
| Line | Read by |
|
|
110
|
-
|---|---|
|
|
111
|
-
| takeaway | `design-direction` (what the screens carry, headlines), `design-prototype` (the five-second check), `design-content` |
|
|
112
|
-
| first seen on | `design-direction` (the size the screens are built at) |
|
|
113
|
-
| pace | `design` and every design skill: quick drops the optional stops |
|
|
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) |
|
|
115
|
-
| apart from, distance | `design-moodboard` (what to search and keep out), `design-direction` (the eye's check), `design-check` (could it be mistaken for one) |
|
|
116
|
-
| fixed | the direction's library (`theirs` entries, dropped grounds), `design-identity` |
|
|
117
|
-
| accessibility | every contrast check (`contrast.mjs --level`, `screen-contrast.mjs --min`), `DESIGN.md`, `design-check` |
|
|
118
|
-
| motion | `design-prototype` (builds those picks and nothing beyond them), `DESIGN.md` (its Motion section), `design-check` (checks against them), `design-moodboard` (the pasted link, and examples only if asked) |
|
|
119
|
-
| dense | `design-prototype`, `DESIGN.md` |
|
|
120
|
-
| voice | headlines, copy, the identity board, `DESIGN.md` |
|
|
121
|
-
| decides | every approval: the direction, the identity board, `DESIGN.md` |
|
|
122
|
-
|
|
123
|
-
## Quick
|
|
124
|
-
|
|
125
|
-
`pace: quick` asks the same questions (they take a minute, and everything after reads them) and changes what follows:
|
|
126
|
-
|
|
127
|
-
- `design-moodboard`: their references as they are (three or more), or one search shown as one contact sheet of about 30, from which they name six to ten; no picker rounds, no gap search, no families.
|
|
128
|
-
- `design-direction`: subject pictures, one round of eight, one vary if they ask; touch-up and five-second check as usual.
|
|
129
|
-
- `design-identity`: the chosen screen's type and colours become the identity as built, contrast-checked; no options, straight to the board.
|
|
130
|
-
- `design-prototype`: as usual. Never quick on states, contrast, or the flows.
|
|
131
|
-
- `design-content` and `design-wordmark` are not offered.
|
|
132
|
-
|
|
133
|
-
They can switch to full at any step; the design brief records it under **Changes**.
|
|
103
|
+
`pace: quick` asks the same questions (they take a minute, and everything after reads them); each later skill says what it skips. They can switch to full at any step; the design brief records it under **Changes**.
|
|
134
104
|
|
|
135
105
|
## Then
|
|
136
106
|
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: design-check
|
|
3
3
|
description: >
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
checks the committed design docs name no reference. Hard
|
|
9
|
-
findings block; soft findings are reported. It reports and never redesigns.
|
|
4
|
+
Checks a Figma frame, a built UI or the design docs against the design
|
|
5
|
+
rules and DESIGN.md, and reports; hard findings block, soft ones are
|
|
6
|
+
reported. Runs after each Figma screen, after implement-spec, or on the
|
|
7
|
+
docs.
|
|
10
8
|
---
|
|
11
9
|
|
|
12
10
|
# design-check
|
|
@@ -34,7 +32,7 @@ One line per finding, hard first:
|
|
|
34
32
|
|
|
35
33
|
## Order
|
|
36
34
|
|
|
37
|
-
1. **Idea** (rule 0): cover the logo. Is it still this product? And, with `docs/design/design-brief.md` open: could it be mistaken for the kind of product its `apart from` names (a soft finding at distance 3, hard at 4–5, none at 1–2, where fitting in was the ask), and does it look like its `never`, or its never word (soft)?
|
|
35
|
+
1. **Idea** (rule 0): cover the logo. Is it still this product? Does it keep every principle in `DESIGN.md` (the direction's, before it exists)? A broken principle comes before any soft rule: the principles are this product's, the soft rules a default. And, with `docs/design/design-brief.md` open: could it be mistaken for the kind of product its `apart from` names (a soft finding at distance 3, hard at 4–5, none at 1–2, where fitting in was the ask), and does it look like its `never`, or its never word (soft)?
|
|
38
36
|
2. **Hard** checks, every section, then the site, app or graphics list from the brief's surface.
|
|
39
37
|
3. **Soft** checks, then the tells (rule 14).
|
|
40
38
|
|
|
@@ -1,14 +1,29 @@
|
|
|
1
1
|
# Design rules
|
|
2
2
|
|
|
3
|
-
How a screen is checked.
|
|
3
|
+
How a screen is checked. `design-check` reads all of it on every frame and build. The skills that build read only the floor (`design-floor.md`: these opening sections and every hard check), so a better model's craft is never held to a textbook while drawing.
|
|
4
4
|
|
|
5
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
6
|
|
|
7
|
+
## Before you build
|
|
8
|
+
|
|
9
|
+
A studio applies these while drawing each screen, not as a check after. Each is the numbered rule's, said there.
|
|
10
|
+
|
|
11
|
+
- One most prominent element and one primary action (rule 1).
|
|
12
|
+
- Contrast where the text sits, over pictures too (rules 6 and 12).
|
|
13
|
+
- One picture leads; pictures that share the screen never compete (rule 12).
|
|
14
|
+
- Text size at its floor (rule 5).
|
|
15
|
+
- One grouping device per group (rule 2).
|
|
16
|
+
- Every screen follows the direction's principles (before the pick, their whys), and reads as the same product as the first.
|
|
17
|
+
|
|
7
18
|
## How to use this
|
|
8
19
|
|
|
9
20
|
- 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
21
|
- 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,
|
|
22
|
+
- **Hard** is the floor: structure, contrast, text size, targets, focus and states. A hard failure blocks the screen. `DESIGN.md` cannot waive it, except for what the person liked or asked for (below).
|
|
23
|
+
- **When the floor meets a liked concept:**
|
|
24
|
+
- Text a person acts on (body, labels, prices, fields, navigation, buttons): the floor wins. The fix comes from inside the concept: its own ink, another crop, a device the board already has. Never by moving the text off the concept or dropping the concept.
|
|
25
|
+
- Display and composition (giant type over a picture, overlaps, crops): the concept wins, and the fault is written down.
|
|
26
|
+
- A colour or a small size the person liked or asked for: kept, reported as a warning with its measure, not a block. Marked `WARN liked, kept` in `DESIGN.md`; on a page, small text is marked `data-board-size`.
|
|
12
27
|
- **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
28
|
- A finding is four things: the rule (number and check), hard or soft, where on the screen, and the fix.
|
|
14
29
|
- 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.
|
|
@@ -20,6 +35,8 @@ These rules decide execution, never the look. The direction and `DESIGN.md` deci
|
|
|
20
35
|
- [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
36
|
- [soft] You can say what the screen is for in one sentence, and the most visible element serves that sentence.
|
|
22
37
|
- [soft] The ownable idea in `DESIGN.md` (or the direction, before `DESIGN.md` exists) shows up somewhere you can point to.
|
|
38
|
+
- [soft] Beside the first screen, with the logo covered, it reads as the same product.
|
|
39
|
+
- [soft] The screen keeps each of the principles in `DESIGN.md` (or the direction, before `DESIGN.md` exists). A finding against a principle comes before any finding against a soft rule here: the principles are this product's, the rules are a default.
|
|
23
40
|
|
|
24
41
|
## 1. Hierarchy
|
|
25
42
|
|
|
@@ -62,7 +79,8 @@ These rules decide execution, never the look. The direction and `DESIGN.md` deci
|
|
|
62
79
|
|
|
63
80
|
- [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
81
|
- [soft] Body text runs about 45 to 80 characters per line on desktop. Count one line.
|
|
65
|
-
- [soft]
|
|
82
|
+
- [soft] Large type is set for its size: display text has tighter line height and tracking than body, and body keeps its reading spacing. Headings of two lines do not drift apart.
|
|
83
|
+
- [hard] At the screen's real size, nothing is under 12px, text a person acts on (links, buttons, labels, fields, prices, navigation) is at least 14px, and body is 16px at every width. Where a reference sets smaller, keep its proportions and scale the step up.
|
|
66
84
|
- [soft] Weight does the work before size. A label is not set larger to be noticed when bold would do.
|
|
67
85
|
- [hard] No text is clipped, overlapped, or cut mid-word by its container, in any language the product ships.
|
|
68
86
|
|
|
@@ -74,7 +92,10 @@ These rules decide execution, never the look. The direction and `DESIGN.md` deci
|
|
|
74
92
|
- [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
93
|
- [soft] Every colour on the screen is a token in `DESIGN.md`. Pick three at random: each maps to a named token.
|
|
76
94
|
- [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.
|
|
95
|
+
- [soft] The accent comes from the board: one it clearly shows, or one the person names. Otherwise it comes from harmony with the board's primary (complementary, split-complementary, analogous, or a colour from the subject's own pictures), matched to the board's lightness and chroma, and the person chooses it.
|
|
77
96
|
- [soft] The accent colour marks action or state, and is not also used for decoration on the same screen.
|
|
97
|
+
- [soft] The ground dominates, the primary supports and the accent stays small: about 60/30/10 of the screen's area. A board that clearly does otherwise wins, with a note.
|
|
98
|
+
- [soft] Neutrals (greys, lines, quiet text) are steps of the board's own ground or primary, never a stock grey.
|
|
78
99
|
- [soft] Status colours (error, warning, success) are used for status only.
|
|
79
100
|
|
|
80
101
|
## 7. Consistency
|
|
@@ -137,6 +158,7 @@ These rules decide execution, never the look. The direction and `DESIGN.md` deci
|
|
|
137
158
|
- [soft] Images show this product's subject, people or interface. A stock scene that fits any product in the category fails.
|
|
138
159
|
- [soft] Where a picture belongs, there is a picture, not a grey box, a gradient or a text block pretending.
|
|
139
160
|
- [soft] Images share one treatment: one crop logic, one colour handling, one corner shape.
|
|
161
|
+
- [soft] One picture leads. Pictures that share a view never compete: a picture laid over another does not cover or repeat the subject of the one behind it.
|
|
140
162
|
- [hard] Text over an image meets the contrast floor in rule 6 across the whole text area, not only on the darkest part.
|
|
141
163
|
|
|
142
164
|
## 13. Responsive
|
|
@@ -146,7 +168,7 @@ These rules decide execution, never the look. The direction and `DESIGN.md` deci
|
|
|
146
168
|
- [hard] At mobile width (360–390px) nothing scrolls sideways, nothing is clipped, and nothing overlaps.
|
|
147
169
|
- [hard] The primary action is reachable at every size without hunting: visible, or one obvious step away.
|
|
148
170
|
- [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,
|
|
171
|
+
- [soft] Type and spacing scale down a step on mobile, never under the size floor in rule 5.
|
|
150
172
|
|
|
151
173
|
## 14. Tells
|
|
152
174
|
|