@jonandev/longbeard 0.9.0 → 0.10.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 +18 -33
- package/CHANGELOG.md +25 -1
- package/README.md +55 -90
- package/beard.json +137 -198
- package/bin/long-beard.js +53 -21
- package/package.json +3 -2
- package/skills/design/SKILL.md +135 -0
- package/skills/design/references/design-md-template.md +57 -0
- package/skills/design/references/design-rules.md +188 -0
- package/skills/design/scripts/capture.mjs +489 -0
- package/skills/design/scripts/contrast.mjs +27 -0
- package/skills/design-check/SKILL.md +78 -0
- package/skills/design-check/references/design-rules.md +188 -0
- package/skills/{design-reference-hunt → design-check}/scripts/capture.mjs +65 -13
- package/skills/design-direction/SKILL.md +157 -0
- package/skills/{design-reference-hunt → design-direction}/references/sources.md +7 -14
- package/skills/design-direction/scripts/capture.mjs +489 -0
- package/skills/{design-reference-hunt → design-direction}/scripts/contact-sheet.mjs +1 -1
- package/skills/{design-reference-hunt → design-direction}/scripts/moodboard.mjs +7 -9
- package/skills/idea/SKILL.md +103 -0
- package/skills/design-md/SKILL.md +0 -100
- package/skills/design-reference-hunt/SKILL.md +0 -177
- /package/skills/{design-reference-hunt → design-check}/scripts/contrast.mjs +0 -0
- /package/skills/{design-reference-hunt → design-direction}/scripts/dribbble-cards.mjs +0 -0
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: design
|
|
3
|
+
description: >
|
|
4
|
+
Turn a direction into the product's look: prototype the brief's key screens
|
|
5
|
+
in plain HTML, let them pick and iterate, then on approval write DESIGN.md
|
|
6
|
+
in one go and build the screens in Figma from it. Colour, type, spacing and
|
|
7
|
+
copy are chosen here, on rendered screens. Runs when
|
|
8
|
+
design-exploration/<slug>/direction.md exists and there is no approved
|
|
9
|
+
DESIGN.md, or for a feature that needs screens. Figma is required.
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# Design
|
|
13
|
+
|
|
14
|
+
Three things come out, in order: a prototype they approved, `DESIGN.md` (the official look, committed), and the screens in Figma marked **Ready**. Figma is the truth for screens. `DESIGN.md` is the written summary of the rules behind them.
|
|
15
|
+
|
|
16
|
+
Read [design-rules.md](references/design-rules.md) before the first prototype. It is the checklist for every screen here and in `design-check`.
|
|
17
|
+
|
|
18
|
+
## Gate
|
|
19
|
+
|
|
20
|
+
Look at the repo. Do not ask what is there.
|
|
21
|
+
|
|
22
|
+
1. No `docs/brief.md` → `idea` first. Stop.
|
|
23
|
+
2. The brief says no UI → nothing to design. Stop.
|
|
24
|
+
3. No `design-exploration/identity*/direction.md` and no `DESIGN.md` → `design-direction` first. Stop.
|
|
25
|
+
4. `DESIGN.md` exists and an identity `direction.md` is newer than it → a rebrand: **First pass**. On approval its `DESIGN.md` replaces the old one.
|
|
26
|
+
5. `DESIGN.md` exists → **Feature loop**.
|
|
27
|
+
6. Otherwise → **First pass**.
|
|
28
|
+
|
|
29
|
+
The first pass reads the newest `design-exploration/identity*/direction.md` (`identity/`, `identity-2/`), never a one-piece direction.
|
|
30
|
+
|
|
31
|
+
No Figma connection → say Figma is required for UI projects, and stop before the Figma step. The prototype and `DESIGN.md` can still be done.
|
|
32
|
+
|
|
33
|
+
## First pass
|
|
34
|
+
|
|
35
|
+
### 1. Ask first
|
|
36
|
+
|
|
37
|
+
The direction settles the idea, not the values. Colour, type and the rest of the look are chosen here, so they get a say before anything is drawn. Read the brief and `direction.md`, then send one message and wait. Always ask, however the run was set up. Only they can say "go".
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
Before I prototype, a few choices. Skip any with "go" and I'll bring options to react to.
|
|
41
|
+
|
|
42
|
+
1. Colour: light, dark or both? Any colours you already have, want, or refuse?
|
|
43
|
+
2. Type: what should it feel like to read? Any faces you love or refuse?
|
|
44
|
+
3. Anything else you already see: shapes, density, imagery, how it moves?
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Propose from the direction, so they react rather than start from nothing: for each question, offer two or three concrete options that fit it.
|
|
48
|
+
|
|
49
|
+
### 2. Prototype the key screens
|
|
50
|
+
|
|
51
|
+
Read the brief's key screens (2–4) and `direction.md`. Prototype only those, with their main states. Other screens are composed later in Figma from the components.
|
|
52
|
+
|
|
53
|
+
Load Matt's `prototype`, UI branch, and tell it:
|
|
54
|
+
|
|
55
|
+
- **No app.** Sub-shape B, in `design-exploration/<slug>/prototype/`: one `index.html` per key screen, plain HTML and CSS, no build step, no router, no NODE_ENV gate. It runs by opening the file.
|
|
56
|
+
- **2–3 variants per screen** behind `?variant=`, structurally different as its rules say. Build their answers in. Where they left a choice open, variants differ on it: this is where colour and type get chosen.
|
|
57
|
+
- **Hide the switcher when the URL has `capture`** (`?variant=B&capture`), so screenshots show only the design.
|
|
58
|
+
- **Real content, not polish skipped.** Real copy in the voice from `direction.md`, real or properly chosen imagery (local files in `prototype/img/`), the longest real names. No lorem, no grey boxes.
|
|
59
|
+
- **No throwaway branch.** The folder is gitignored. The winner goes into `DESIGN.md`, not into git.
|
|
60
|
+
|
|
61
|
+
The default state is not enough. Each key screen also gets empty, loading and error, as frames in the same file (`?variant=B&state=empty`).
|
|
62
|
+
|
|
63
|
+
### 3. Self-check, then show
|
|
64
|
+
|
|
65
|
+
Screenshot each variant at desktop and mobile:
|
|
66
|
+
|
|
67
|
+
```
|
|
68
|
+
node <skill>/scripts/capture.mjs "file://$PWD/design-exploration/<slug>/prototype/today.html?variant=B&capture" --out <scratch>/today-b.png
|
|
69
|
+
node <skill>/scripts/capture.mjs "file://$PWD/design-exploration/<slug>/prototype/today.html?variant=B&capture" --out <scratch>/today-b-mobile.png --width 390
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Shoot every state of every variant, not only the default. Check them against the rules: Idea first, then hard, then soft. That includes the hard rules about controls: every input has a visible label, focus and pressed exist, and what looks tappable has a stated result. A hard finding after approval reopens an approved screen. Fix what fails before they see it. Then give the paths and the `?variant=` keys, name the colours and faces each variant uses, and ask which leads, what to take from the others, and whether the colour and type are right. Expect "the header from B with the list from C": that is the design. Iterate on the prototype until they say it is right.
|
|
73
|
+
|
|
74
|
+
A pattern can bring a feature the brief does not have. Name it when you show it. If they keep it, that is a product change: `idea`, Change, before `DESIGN.md`.
|
|
75
|
+
|
|
76
|
+
An `ownable` from `direction.md` is unconfirmed until they have seen it rendered. Confirm it or replace it here.
|
|
77
|
+
|
|
78
|
+
A gap no reference covers (a screen, a control) → `design-direction` one-piece mode with its own slug, then back here.
|
|
79
|
+
|
|
80
|
+
### 4. Approve: write `DESIGN.md` in one go
|
|
81
|
+
|
|
82
|
+
Only on their yes to a rendered prototype. Write the whole file from [design-md-template.md](references/design-md-template.md): idea, voice, colour, type, spacing, components, decisions. Write it once, from what was approved. Do not draft it during iteration.
|
|
83
|
+
|
|
84
|
+
- **Contrast first.** Every text and background pair, and every control colour against its ground, goes through `scripts/contrast.mjs` before it is written: 4.5:1 for body text, 3:1 for large text and non-text marks. A failing pair is fixed in the prototype, shown again, then written. Never write a failing pair.
|
|
85
|
+
```
|
|
86
|
+
node <skill>/scripts/contrast.mjs "#1b1b1f on #fafaf7" "#c2410c on #fafaf7:mark"
|
|
87
|
+
```
|
|
88
|
+
- **Ideas, not sources.** `DESIGN.md` is committed and often public. It never names a product, site, studio or designer from the exploration, and never cites a `design-exploration/` path. Turn each into the idea: "a quiet reading page", not whose.
|
|
89
|
+
- **Write down what makes it this design.** Whatever someone would need to rebuild it without the prototype open goes under Components, with values, not adjectives.
|
|
90
|
+
- **Tokens are code names.** Name each colour, type and spacing token as it will be named in code (`color/ink`, `space/md`). Figma variables use the same names, with code syntax `var(--color-ink)`.
|
|
91
|
+
- **Soft rules overridden on purpose** go under Decisions with the reason. Hard rules cannot be overridden.
|
|
92
|
+
|
|
93
|
+
### 5. Figma
|
|
94
|
+
|
|
95
|
+
Load `figma-use`, `figma-generate-library` and `figma-generate-design`, and follow them. This skill adds only what they do not decide.
|
|
96
|
+
|
|
97
|
+
- **One file per product.** A new one if the project has none (`figma-create-new-file`). Put its URL in `DESIGN.md`.
|
|
98
|
+
- **Our tokens, not a kit.** Variables and styles come from `DESIGN.md`. New files may come with community kits attached (Material, Apple, Simple Design System). Their discovery steps tell you to reuse them. Do not: search the file only (no `includeLibraryKeys`), and build what is missing from `DESIGN.md`.
|
|
99
|
+
- **Build, do not capture.** Compose screens from the tokens and components. Do not run `generate_figma_design` on the prototype. It is a throwaway with a switcher. For pictures, create the image frames, then `upload_assets` the prototype's own files with those `nodeIds`.
|
|
100
|
+
- **Pages:** Cover, Foundations, Components; one `Screens — <flow>` page per flow from the brief; `Explorations` for anything kept for later, by date.
|
|
101
|
+
- **Order:** tokens and styles from `DESIGN.md` → only the components the key screens need → the key screens → their states. The library grows with features. It is not built ahead.
|
|
102
|
+
- **States:** every screen has empty, loading and error frames next to the default, named `<screen> — <state>`.
|
|
103
|
+
- **Components have their states too:** focus and pressed for every control, before a screen uses it.
|
|
104
|
+
- **One text style per weight used.** Changing a font on styled text detaches it. A weight `DESIGN.md` does not list is a new style, and a new row there.
|
|
105
|
+
- **Trust the file, not the picture.** Take a screenshot only after the edit has returned, and read text back from the nodes. A cloned variant loses its text property links: wire them again. Swapping an instance can keep old overrides: replace it with a fresh one.
|
|
106
|
+
- **Be faithful to the approved prototype.** It is what they said yes to, and Figma is that design, not a new reading of it. Tokens carry the values, not the whole design, so work with the approved variant open and match it. If something cannot be built the same way, say so and ask. Never simplify it silently.
|
|
107
|
+
- **Check each screen** with `design-check` frame mode before showing it, passing the prototype shot. Fix its hard findings.
|
|
108
|
+
- **Ready:** when they approve a frame, rename it `<screen> — <state> — Ready`. Tickets link Ready frames, and build is checked against them.
|
|
109
|
+
|
|
110
|
+
If a Figma decision changes a rule (a new token, a component variant, a spacing step), update `DESIGN.md` in the same turn and say what changed.
|
|
111
|
+
|
|
112
|
+
### 6. Clean up
|
|
113
|
+
|
|
114
|
+
Offer to delete `design-exploration/<slug>/`. `DESIGN.md` and Figma now carry the result. On no, leave it. It is gitignored either way.
|
|
115
|
+
|
|
116
|
+
Then offer the next stage: architecture (`grill-with-docs`). Tell it to seed `GLOSSARY.md` from the brief and the copy in the Figma screens, and to ask before renaming a term the screens show.
|
|
117
|
+
|
|
118
|
+
## Feature loop
|
|
119
|
+
|
|
120
|
+
A feature with screens, once `DESIGN.md` exists.
|
|
121
|
+
|
|
122
|
+
- **Only existing parts?** Compose the screens in Figma from the library, with their states, and skip the prototype and `design-direction`.
|
|
123
|
+
- **New parts?** Prototype only the new parts, on the real screens around them, in `design-exploration/<feature>/prototype/`, then as above.
|
|
124
|
+
- New page `Screens — <feature>`. Reuse components. New ones are added to Components.
|
|
125
|
+
- `DESIGN.md` gets entries (a token, a component, a decision with date and reason). It is never rewritten in a feature.
|
|
126
|
+
- **Identity changes need their own yes.** A new colour role, a typeface, a change to the idea or the voice: ask for each one separately, after showing it rendered. Two such changes are approved one at a time, never bundled.
|
|
127
|
+
- A rebrand is not a feature: that is `design-direction` again, then a first pass.
|
|
128
|
+
|
|
129
|
+
## Do not
|
|
130
|
+
|
|
131
|
+
- Write `DESIGN.md` before they approve a rendered prototype, or rewrite it during a feature. Only a rebrand's first pass replaces it.
|
|
132
|
+
- Name a reference or a `design-exploration/` path in `DESIGN.md`.
|
|
133
|
+
- Use a community kit's components or variables in Figma.
|
|
134
|
+
- Build the whole component library before the screens need it.
|
|
135
|
+
- Mark a frame Ready that has no empty, loading and error states, or that has open hard findings.
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# DESIGN.md template
|
|
2
|
+
|
|
3
|
+
Write the whole file once, from the approved prototype. A builder follows it without the prototype or the references open. Short lines. Our words, never a reference's name.
|
|
4
|
+
|
|
5
|
+
```markdown
|
|
6
|
+
# Design
|
|
7
|
+
|
|
8
|
+
Figma: <file URL>. Figma is the truth for screens. This file is the rules behind them.
|
|
9
|
+
|
|
10
|
+
## Idea
|
|
11
|
+
<one sentence: what this product's look says>
|
|
12
|
+
- ownable: <the one element made from the product's own identity, as approved on the prototype>
|
|
13
|
+
|
|
14
|
+
## Voice
|
|
15
|
+
- <three adjectives>
|
|
16
|
+
- <one sample line, and one line it would never say>
|
|
17
|
+
|
|
18
|
+
## Colour
|
|
19
|
+
| Token | Value | Use |
|
|
20
|
+
|---|---|---|
|
|
21
|
+
| color/bg | #… | page ground |
|
|
22
|
+
| color/ink | #… | body text |
|
|
23
|
+
| … | | |
|
|
24
|
+
|
|
25
|
+
Contrast (scripts/contrast.mjs):
|
|
26
|
+
- color/ink on color/bg: <ratio> <AA | AAA>
|
|
27
|
+
- <every text, control and focus pair>
|
|
28
|
+
|
|
29
|
+
## Type
|
|
30
|
+
| Token | Face, weight | Size / line height | Use |
|
|
31
|
+
|---|---|---|---|
|
|
32
|
+
| type/heading | … | …/… | screen titles |
|
|
33
|
+
| type/body | … | …/… | body, lists |
|
|
34
|
+
|
|
35
|
+
- Licence: <covers how this ships: web, app bundle>
|
|
36
|
+
|
|
37
|
+
## Spacing
|
|
38
|
+
- Scale: <space/sm 8, space/md 16, …>
|
|
39
|
+
- <how the scale is used: inside components, between items, between groups, between sections>
|
|
40
|
+
- Corner radius: <value, and where>
|
|
41
|
+
|
|
42
|
+
## Components
|
|
43
|
+
- <component>: <what it is for, its variants, its states>
|
|
44
|
+
|
|
45
|
+
## Imagery
|
|
46
|
+
- <what the pictures are and how they are treated, or "none">
|
|
47
|
+
|
|
48
|
+
## Decisions
|
|
49
|
+
- <date>: <what was decided> — <the reason>. <Soft rule overridden, if any: rule number and why>
|
|
50
|
+
|
|
51
|
+
## Do not
|
|
52
|
+
- <what we leave, as ideas: "a bright brand accent", never whose>
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
- Every token name is its code name, and the same name in Figma.
|
|
56
|
+
- Every colour pair in the table has been through `scripts/contrast.mjs`. No FAIL is written.
|
|
57
|
+
- A section with nothing to say is left out, not filled with a guess.
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
# Design rules
|
|
2
|
+
|
|
3
|
+
How a screen is checked. Read by `design` before it prototypes 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.
|
|
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. Then add the site list or the app 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.
|
|
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
|
+
- [soft] The accent colour marks action or state, and is not also used for decoration on the same screen.
|
|
77
|
+
- [soft] Status colours (error, warning, success) are used for status only.
|
|
78
|
+
|
|
79
|
+
## 7. Consistency
|
|
80
|
+
|
|
81
|
+
**Principle:** the same thing looks and behaves the same everywhere.
|
|
82
|
+
|
|
83
|
+
- [hard] One action has one look. Two primary buttons on different screens are the same component, same size and same label case.
|
|
84
|
+
- [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.
|
|
85
|
+
- [soft] Icons share a style: one stroke weight or one fill style, one corner treatment, one optical size.
|
|
86
|
+
- [soft] The same word means the same thing. "Delete" and "Remove" are not both used for one action.
|
|
87
|
+
|
|
88
|
+
## 8. States
|
|
89
|
+
|
|
90
|
+
**Principle:** every screen is shown in every state a person will meet.
|
|
91
|
+
|
|
92
|
+
- [hard] The screen has frames for empty, loading and error, next to the default. A missing state is a failure, not a later task.
|
|
93
|
+
- [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.
|
|
94
|
+
- [hard] Interactive components show hover (pointer surfaces), focus, pressed, disabled, and selected where they apply. Each state is visibly different from default.
|
|
95
|
+
- [soft] Loading keeps the layout's shape (skeleton or reserved space), so content does not jump when it arrives.
|
|
96
|
+
- [soft] Long content is shown: the longest real name, a big number, a two-line title. Short sample text hides overflow.
|
|
97
|
+
|
|
98
|
+
## 9. Affordance and feedback
|
|
99
|
+
|
|
100
|
+
**Principle:** what can be acted on looks like it, and every action visibly answers.
|
|
101
|
+
|
|
102
|
+
- [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).
|
|
103
|
+
- [hard] Nothing that looks interactive is not. A card that looks clickable is clickable, or loses the look.
|
|
104
|
+
- [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.
|
|
105
|
+
- [soft] Destructive actions look different from safe ones and are never the default or most prominent option.
|
|
106
|
+
|
|
107
|
+
## 10. Accessibility
|
|
108
|
+
|
|
109
|
+
**Principle:** the screen works for people who see, move and read differently.
|
|
110
|
+
|
|
111
|
+
- [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.
|
|
112
|
+
- [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.
|
|
113
|
+
- [hard] Every input has a visible label. A placeholder alone is not a label.
|
|
114
|
+
- [hard] Text is real text, not text in an image, except in logos.
|
|
115
|
+
- [soft] The screen still reads at 200% text size: nothing important is cut off in the zoomed frame.
|
|
116
|
+
|
|
117
|
+
## 11. Copy
|
|
118
|
+
|
|
119
|
+
**Principle:** words do the job of the screen in the product's own voice.
|
|
120
|
+
|
|
121
|
+
- [hard] No placeholder copy: no lorem ipsum, no "Title", no "Button", no "User Name".
|
|
122
|
+
- [soft] Buttons say what happens: "Send invoice", not "Submit", "OK", "Get started" or "Learn more".
|
|
123
|
+
- [soft] Headings are short. A heading that runs over two lines at its size is a sentence that belongs in the body.
|
|
124
|
+
- [soft] The voice matches `DESIGN.md`. Read three strings aloud: they sound like one product.
|
|
125
|
+
- [soft] No genre filler: unlock, supercharge, seamless, elevate, effortless, all-in-one, and "not just X, it's Y".
|
|
126
|
+
|
|
127
|
+
## 12. Imagery
|
|
128
|
+
|
|
129
|
+
**Principle:** pictures show the real thing, or there are none.
|
|
130
|
+
|
|
131
|
+
- [soft] Images show this product's subject, people or interface. A stock scene that fits any product in the category fails.
|
|
132
|
+
- [soft] Where a picture belongs, there is a picture, not a grey box, a gradient or a text block pretending.
|
|
133
|
+
- [soft] Images share one treatment: one crop logic, one colour handling, one corner shape.
|
|
134
|
+
- [hard] Text over an image meets the contrast floor in rule 6 across the whole text area, not only on the darkest part.
|
|
135
|
+
|
|
136
|
+
## 13. Responsive
|
|
137
|
+
|
|
138
|
+
**Principle:** each size is designed, not squeezed.
|
|
139
|
+
|
|
140
|
+
- [hard] At mobile width (360–390px) nothing scrolls sideways, nothing is clipped, and nothing overlaps.
|
|
141
|
+
- [hard] The primary action is reachable at every size without hunting: visible, or one obvious step away.
|
|
142
|
+
- [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.
|
|
143
|
+
- [soft] Type and spacing scale down a step on mobile, not to illegible sizes. Body text stays at least 16px.
|
|
144
|
+
|
|
145
|
+
## 14. Tells
|
|
146
|
+
|
|
147
|
+
**Dated 2026-11-03. Reviewed each release.** Add new tells, retire ones that stopped being defaults.
|
|
148
|
+
|
|
149
|
+
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.
|
|
150
|
+
|
|
151
|
+
- [soft] Purple-to-blue gradients on backgrounds, buttons, glows or headline text.
|
|
152
|
+
- [soft] Translucent blurred panels used on two or more surfaces.
|
|
153
|
+
- [soft] The same soft grey shadow under every card.
|
|
154
|
+
- [soft] A row of three identical feature cards, each an icon in a rounded square, a heading and two lines.
|
|
155
|
+
- [soft] Emoji used as icons or bullets.
|
|
156
|
+
- [soft] A tiny tracked uppercase label above every heading, or a pill badge ("New", "Beta") above the hero line.
|
|
157
|
+
- [soft] One word of a headline singled out in another face, colour or underline.
|
|
158
|
+
- [soft] A cream ground with a terracotta or rust accent, used as a shortcut to "warm".
|
|
159
|
+
- [soft] Decorative monospace labels, index numbering (01 / 02 / 03) as ornament, hairline rules boxing everything, or design-tool marks (crosshairs, crop marks) as decoration.
|
|
160
|
+
- [soft] A fake dashboard made of grey bars and donut charts where a real interface fragment should be.
|
|
161
|
+
- [soft] Invented social proof: logos, quotes, star rows or user counts the product does not have.
|
|
162
|
+
- [soft] Every section in the same layout, or the stock order hero, logos, features, testimonial, pricing, call to action, when the argument needs another.
|
|
163
|
+
- [soft] One medium corner radius on everything, chosen by default rather than on purpose.
|
|
164
|
+
|
|
165
|
+
Removing tells is not the goal. A screen with none and no idea fails rule 0.
|
|
166
|
+
|
|
167
|
+
## Sites
|
|
168
|
+
|
|
169
|
+
Add these when the brief's surface is a site: the page a person lands on to understand or choose.
|
|
170
|
+
|
|
171
|
+
- [hard] The first screen at mobile and desktop says what this is and who it is for, without scrolling.
|
|
172
|
+
- [soft] Sections follow the order of the argument the brief makes, and each section is composed differently from the one before.
|
|
173
|
+
- [soft] There is one primary call to action, repeated at most at the end, with the same label.
|
|
174
|
+
- [soft] Proof is real (product shots, named customers the product has, numbers it can stand behind) or absent.
|
|
175
|
+
|
|
176
|
+
## Apps
|
|
177
|
+
|
|
178
|
+
Add these when the brief's surface is an app: the tool a person comes back to.
|
|
179
|
+
|
|
180
|
+
- [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.
|
|
181
|
+
- [hard] The person always knows where they are: the current place in navigation is marked, and the screen title matches the nav item.
|
|
182
|
+
- [soft] Density fits repeated use. Lists and tables show enough rows to work, not marketing-sized cards.
|
|
183
|
+
- [soft] Navigation keeps the same place and shape on every screen of the flow.
|
|
184
|
+
- [soft] Frequent actions are one step away. Rare and destructive ones may be further.
|
|
185
|
+
|
|
186
|
+
## Sources
|
|
187
|
+
|
|
188
|
+
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).
|