@uselazuli/cli 0.0.0-stage → 1.0.2
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/CHANGELOG.md +120 -0
- package/LICENSE +21 -0
- package/README.md +202 -2
- package/agents/lazuli-design-reviewer.md +30 -0
- package/agents/lazuli-first-look.md +22 -0
- package/agents/lazuli-task-tester.md +25 -0
- package/bin/lazuli.mjs +747 -0
- package/package.json +11 -4
- package/rules/accessibility/HYPOTHESES.md +8 -0
- package/rules/accessibility/_area.yaml +7 -0
- package/rules/accessibility/operable.yaml +100 -0
- package/rules/accessibility/perceivable.yaml +153 -0
- package/rules/accessibility/robust.yaml +24 -0
- package/rules/accessibility/understandable.yaml +72 -0
- package/rules/color/HYPOTHESES.md +27 -0
- package/rules/color/_area.yaml +10 -0
- package/rules/color/adapt.yaml +183 -0
- package/rules/color/create.yaml +259 -0
- package/rules/color/review.yaml +215 -0
- package/rules/color/signal.yaml +196 -0
- package/rules/content/HYPOTHESES.md +19 -0
- package/rules/content/_area.yaml +8 -0
- package/rules/content/review.yaml +378 -0
- package/rules/content/voice.yaml +144 -0
- package/rules/content/writing.yaml +202 -0
- package/rules/data/HYPOTHESES.md +11 -0
- package/rules/data/_area.yaml +7 -0
- package/rules/data/charts.yaml +189 -0
- package/rules/data/dashboards.yaml +141 -0
- package/rules/data/review.yaml +159 -0
- package/rules/graphic/HYPOTHESES.md +18 -0
- package/rules/graphic/_area.yaml +8 -0
- package/rules/graphic/identity.yaml +141 -0
- package/rules/graphic/pieces.yaml +164 -0
- package/rules/graphic/review.yaml +271 -0
- package/rules/graphic/symbol.yaml +141 -0
- package/rules/motion/HYPOTHESES.md +19 -0
- package/rules/motion/_area.yaml +7 -0
- package/rules/motion/micro.yaml +143 -0
- package/rules/motion/review.yaml +347 -0
- package/rules/motion/transitions.yaml +169 -0
- package/rules/typography/HYPOTHESES.md +12 -0
- package/rules/typography/_area.yaml +8 -0
- package/rules/typography/adapt.yaml +45 -0
- package/rules/typography/create.yaml +126 -0
- package/rules/typography/review.yaml +127 -0
- package/rules/ui/HYPOTHESES.md +23 -0
- package/rules/ui/_area.yaml +9 -0
- package/rules/ui/compose.yaml +246 -0
- package/rules/ui/grid.yaml +75 -0
- package/rules/ui/review.yaml +400 -0
- package/rules/ui/states.yaml +257 -0
- package/rules/ux/HYPOTHESES.md +13 -0
- package/rules/ux/_area.yaml +8 -0
- package/rules/ux/flows.yaml +164 -0
- package/rules/ux/forms.yaml +142 -0
- package/rules/ux/review.yaml +186 -0
- package/skills/lazuli/SKILL.md +183 -0
- package/skills/lazuli/procedures/create.md +29 -0
- package/skills/lazuli/procedures/explain-decisions.md +22 -0
- package/skills/lazuli/procedures/improve.md +30 -0
- package/skills/lazuli/procedures/remember-this.md +41 -0
- package/skills/lazuli/procedures/review-design.md +36 -0
- package/skills/lazuli/procedures/show-options.md +33 -0
- package/skills/lazuli-accessibility-check/SKILL.md +68 -0
- package/skills/lazuli-color-context-and-culture/SKILL.md +53 -0
- package/skills/lazuli-color-context-and-culture/references/sectors.md +26 -0
- package/skills/lazuli-color-palette-by-intent/SKILL.md +54 -0
- package/skills/lazuli-color-palette-by-intent/references/intent-chords.md +51 -0
- package/skills/lazuli-color-screen-review/SKILL.md +51 -0
- package/skills/lazuli-color-states-and-signals/SKILL.md +53 -0
- package/skills/lazuli-content-interface-writing/SKILL.md +53 -0
- package/skills/lazuli-content-voice/SKILL.md +40 -0
- package/skills/lazuli-data-charts-and-dashboards/SKILL.md +59 -0
- package/skills/lazuli-graphic-derived-pieces/SKILL.md +40 -0
- package/skills/lazuli-graphic-derived-pieces/references/piece-template.html +24 -0
- package/skills/lazuli-graphic-identity/SKILL.md +45 -0
- package/skills/lazuli-motion-micro-and-transitions/SKILL.md +49 -0
- package/skills/lazuli-typography-choose-and-pair/SKILL.md +50 -0
- package/skills/lazuli-typography-screen-review/SKILL.md +51 -0
- package/skills/lazuli-ui-composition/SKILL.md +42 -0
- package/skills/lazuli-ui-composition/references/option-template.html +34 -0
- package/skills/lazuli-ui-layout-review/SKILL.md +47 -0
- package/skills/lazuli-ui-states-and-system/SKILL.md +54 -0
- package/skills/lazuli-ux-flows-and-forms/SKILL.md +51 -0
- package/skills/lazuli-ux-task-test/SKILL.md +44 -0
- package/src/browser.mjs +162 -0
- package/src/commands/capture.mjs +313 -0
- package/src/commands/catalog.mjs +37 -0
- package/src/commands/check-design.mjs +463 -0
- package/src/commands/check-goals.mjs +57 -0
- package/src/commands/compare-designs.mjs +160 -0
- package/src/commands/draft-memo.mjs +162 -0
- package/src/commands/hooks.mjs +345 -0
- package/src/commands/install-hooks.mjs +120 -0
- package/src/commands/install.mjs +132 -0
- package/src/commands/list-rules.mjs +49 -0
- package/src/commands/map-page.mjs +594 -0
- package/src/commands/record-answers.mjs +79 -0
- package/src/commands/record-log.mjs +325 -0
- package/src/commands/record-task.mjs +250 -0
- package/src/commands/render-options.mjs +227 -0
- package/src/commands/start-project.mjs +32 -0
- package/src/measure/a11y.mjs +391 -0
- package/src/measure/asset.mjs +206 -0
- package/src/measure/at-rest.mjs +49 -0
- package/src/measure/cases.mjs +566 -0
- package/src/measure/chart-read.mjs +401 -0
- package/src/measure/chart.mjs +264 -0
- package/src/measure/coherence.mjs +145 -0
- package/src/measure/color.mjs +86 -0
- package/src/measure/content.mjs +82 -0
- package/src/measure/cvd.mjs +24 -0
- package/src/measure/extreme.mjs +241 -0
- package/src/measure/forms.mjs +150 -0
- package/src/measure/in-page/a11y.js +522 -0
- package/src/measure/in-page/color.js +348 -0
- package/src/measure/in-page/composition.js +1496 -0
- package/src/measure/in-page/contrast.js +15 -0
- package/src/measure/in-page/cvd.js +173 -0
- package/src/measure/in-page/extreme.js +377 -0
- package/src/measure/in-page/frames.js +781 -0
- package/src/measure/in-page/look.js +28 -0
- package/src/measure/in-page/motion-probe.js +171 -0
- package/src/measure/in-page/style.js +107 -0
- package/src/measure/in-page/svg-strokes.js +112 -0
- package/src/measure/in-page/svg-uses.js +50 -0
- package/src/measure/in-page/symbol.js +123 -0
- package/src/measure/in-page/type.js +269 -0
- package/src/measure/in-page/weight.js +207 -0
- package/src/measure/layout.mjs +100 -0
- package/src/measure/motion.mjs +509 -0
- package/src/measure/piece.mjs +195 -0
- package/src/measure/registry.mjs +253 -0
- package/src/measure/rhythm.mjs +81 -0
- package/src/measure/signature.mjs +65 -0
- package/src/measure/states.mjs +240 -0
- package/src/measure/style.mjs +13 -0
- package/src/measure/symbol.mjs +268 -0
- package/src/measure/terms.mjs +153 -0
- package/src/measure/tiles.mjs +20 -0
- package/src/measure/timeline.mjs +621 -0
- package/src/measure/type.mjs +167 -0
- package/src/measure/weight.mjs +18 -0
- package/src/private-strings.mjs +81 -0
- package/src/project/blind.mjs +70 -0
- package/src/project/edits.mjs +154 -0
- package/src/project/gate.mjs +168 -0
- package/src/project/lazuli-md.mjs +521 -0
- package/src/project/log.mjs +335 -0
- package/src/project/match.mjs +200 -0
- package/src/project/records.mjs +380 -0
- package/src/project/tasks.mjs +153 -0
- package/src/report/evaluate.mjs +27 -0
- package/src/report/evaluators/a11y.mjs +227 -0
- package/src/report/evaluators/chart.mjs +151 -0
- package/src/report/evaluators/coherence.mjs +103 -0
- package/src/report/evaluators/color.mjs +133 -0
- package/src/report/evaluators/content.mjs +112 -0
- package/src/report/evaluators/extreme.mjs +87 -0
- package/src/report/evaluators/forms.mjs +116 -0
- package/src/report/evaluators/layout.mjs +103 -0
- package/src/report/evaluators/motion.mjs +280 -0
- package/src/report/evaluators/piece.mjs +69 -0
- package/src/report/evaluators/rhythm.mjs +99 -0
- package/src/report/evaluators/states.mjs +39 -0
- package/src/report/evaluators/style.mjs +35 -0
- package/src/report/evaluators/symbol.mjs +110 -0
- package/src/report/evaluators/terms.mjs +49 -0
- package/src/report/evaluators/type.mjs +166 -0
- package/src/report/evaluators/weight.mjs +51 -0
- package/src/report/evidence.mjs +4 -0
- package/src/report/finding.mjs +11 -0
- package/src/report/format.mjs +215 -0
- package/src/rules/hypotheses.mjs +28 -0
- package/src/rules/load.mjs +274 -0
- package/src/rules/public-text.mjs +56 -0
- package/src/rules/schema.mjs +220 -0
- package/templates/LAZULI.md +88 -0
|
@@ -0,0 +1,378 @@
|
|
|
1
|
+
# Measured content checks. check-design reads the page at rest for button names and error messages (CR1 to
|
|
2
|
+
# CR4), compares names and spellings across screens when it gets two or more (CR5, CR6), and loads a
|
|
3
|
+
# script-free copy of the page in fresh case pages with longer, Portuguese, empty, single and hundreds of items
|
|
4
|
+
# (CR7 to CR11), reporting only what each case adds. CR1 to CR11 are hypotheses with their own ids in
|
|
5
|
+
# HYPOTHESES.md and give a hint, never a verdict. CR12 and CR13 have no measure: the reviewer judges them in words. The
|
|
6
|
+
# post-edit hook leaves this area out: run check-design --area content after writing copy.
|
|
7
|
+
|
|
8
|
+
- id: CR1
|
|
9
|
+
name: Buttons name an outcome
|
|
10
|
+
area: content
|
|
11
|
+
moment: review
|
|
12
|
+
skill: lazuli-content-interface-writing
|
|
13
|
+
rule: >-
|
|
14
|
+
Check that no button is named only by a word that names no outcome, such as "Submit", "OK" or "Enviar" (CW1). Links are also read by AU2.
|
|
15
|
+
why: >-
|
|
16
|
+
A button named only by a generic word makes the person read the screen around it to know what pressing it does. (our claim)
|
|
17
|
+
origin: hypothesis
|
|
18
|
+
status: hypothesis
|
|
19
|
+
hypothesis: H1
|
|
20
|
+
source: >-
|
|
21
|
+
Our claim, a hint only (H1): the phrase list is rule data, written before any page was read; the H1 row says how and lists what was observed afterwards, which is not evidence.
|
|
22
|
+
measure: content.generic-labels
|
|
23
|
+
threshold:
|
|
24
|
+
phrases: [submit, send, ok, okay, go, click, click here, button, enviar, submeter, ir, clique, clique aqui, botão]
|
|
25
|
+
when_to_break: >-
|
|
26
|
+
A word that is the outcome in this product ("Send" in a mail app), declared with break-a-rule first.
|
|
27
|
+
break_effect: >-
|
|
28
|
+
A shorter label where the outcome is plain from the screen, at the cost of meaning when the control is read alone.
|
|
29
|
+
test: >-
|
|
30
|
+
check-design reads every button the composition walk keeps (a link painted as a button counts, input buttons too) by its accessible name. Hint when a whole name, normalized, is one of the phrases, naming each one; pass when none is; nothing when the page shows no button. A name that holds a generic word next to an outcome is not listed, and meaning is not judged.
|
|
31
|
+
example: >-
|
|
32
|
+
"Send message" and "Book a first visit".
|
|
33
|
+
counterexample: >-
|
|
34
|
+
"Submit" under a booking form and "OK" closing a payment.
|
|
35
|
+
|
|
36
|
+
- id: CR2
|
|
37
|
+
name: Button labels stay short
|
|
38
|
+
area: content
|
|
39
|
+
moment: review
|
|
40
|
+
skill: lazuli-content-interface-writing
|
|
41
|
+
rule: >-
|
|
42
|
+
Check that no button name uses more words than the cutoff of H2 (CW3).
|
|
43
|
+
why: >-
|
|
44
|
+
A long button name is read slowly and wraps in narrow layouts; the words that carry the meaning get lost among the rest. (our claim)
|
|
45
|
+
origin: hypothesis
|
|
46
|
+
status: hypothesis
|
|
47
|
+
hypothesis: H2
|
|
48
|
+
source: >-
|
|
49
|
+
Our claim: the cutoff is the round starting value of H2, set before any page was measured; the H2 row says how and lists what was observed afterwards, which is not evidence.
|
|
50
|
+
measure: content.label-length
|
|
51
|
+
threshold: { maxWords: 5 }
|
|
52
|
+
when_to_break: >-
|
|
53
|
+
A label that needs more words to be exact (a payment that cannot be undone), declared with break-a-rule first.
|
|
54
|
+
break_effect: >-
|
|
55
|
+
The label carries the whole consequence, at the cost of a slower scan.
|
|
56
|
+
test: >-
|
|
57
|
+
check-design counts the words of every button's accessible name (a word keeps an inner hyphen, period or apostrophe, so "e-mail" is one word). Hint when one uses more words than the cutoff, naming each with its count; pass when every one is within it; nothing when the page shows no button. Portuguese needs more words than English for the same label, and a short name that says nothing passes here (CR1 reads that).
|
|
58
|
+
example: >-
|
|
59
|
+
"Download the report".
|
|
60
|
+
counterexample: >-
|
|
61
|
+
"Create my free account now today please".
|
|
62
|
+
|
|
63
|
+
- id: CR3
|
|
64
|
+
name: One capitalization style
|
|
65
|
+
area: content
|
|
66
|
+
moment: review
|
|
67
|
+
skill: lazuli-content-interface-writing
|
|
68
|
+
rule: >-
|
|
69
|
+
Check that the buttons of a page share one capitalization style (CW5).
|
|
70
|
+
why: >-
|
|
71
|
+
Mixed styles make controls look as if they came from different products. (our claim)
|
|
72
|
+
origin: hypothesis
|
|
73
|
+
status: hypothesis
|
|
74
|
+
hypothesis: H3
|
|
75
|
+
source: >-
|
|
76
|
+
Our claim, a hint only (H3): no number is used as a cutoff; the H3 row says how a style is read.
|
|
77
|
+
measure: content.label-case
|
|
78
|
+
when_to_break: >-
|
|
79
|
+
A single control in capitals as part of the brand, declared with break-a-rule first.
|
|
80
|
+
break_effect: >-
|
|
81
|
+
One control stands apart on purpose, at the cost of reading as louder than the rest.
|
|
82
|
+
test: >-
|
|
83
|
+
check-design reads each button's style from its text-transform, else from its source text (uppercase, lowercase, title or sentence; a name of one word has none). Hint when the buttons mix styles, listing each style in order of first appearance; pass when every button with a readable style shares one; nothing when fewer than two have a style. A proper noun in a sentence-case label reads as title case, and a brand name in capitals reads as uppercase.
|
|
84
|
+
example: >-
|
|
85
|
+
"Book a visit", "See plans" and "Contact us".
|
|
86
|
+
counterexample: >-
|
|
87
|
+
"Book A Visit" beside "See plans" and "SAVE DRAFT".
|
|
88
|
+
|
|
89
|
+
- id: CR4
|
|
90
|
+
name: Error messages carry their parts
|
|
91
|
+
area: content
|
|
92
|
+
moment: review
|
|
93
|
+
skill: lazuli-content-interface-writing
|
|
94
|
+
rule: >-
|
|
95
|
+
Check that no visible error message is a generic phrase or a code alone, and that each one tied to a field names that field (CW4). Where the message sits and how it is tied are XM5 and XR5.
|
|
96
|
+
why: >-
|
|
97
|
+
A message that only says something failed leaves the person to find the field and guess the fix. (our claim)
|
|
98
|
+
origin: hypothesis
|
|
99
|
+
status: hypothesis
|
|
100
|
+
hypothesis: H4
|
|
101
|
+
source: >-
|
|
102
|
+
Our claim, a hint only (H4): the phrase list is rule data, written before any page was read; the H4 row says what counts as naming the field and lists what was observed afterwards, which is not evidence.
|
|
103
|
+
measure: content.errors
|
|
104
|
+
threshold:
|
|
105
|
+
phrases: [error, invalid, invalid value, invalid input, something went wrong, an error occurred, oops, try again, erro, inválido, invalido, valor inválido, campo inválido, algo deu errado, ocorreu um erro, tente novamente, ops]
|
|
106
|
+
when_to_break: >-
|
|
107
|
+
A message that cannot say more without exposing data (a failed sign in), declared with break-a-rule first.
|
|
108
|
+
break_effect: >-
|
|
109
|
+
The account stays private, at the cost of a less specific message.
|
|
110
|
+
test: >-
|
|
111
|
+
check-design reads the messages shown on this render: the error text tied to each invalid field and each visible alert. Hint when one is a phrase of the list, a code alone (no lowercase letter and a digit) or a field message that does not name its field, with the reasons; pass when none is; nothing when no message is shown, with a note to stage an error state. The CLI never submits a form, so only messages already on the page are read; the fix part is read by the reviewer; text the composition walk does not keep is not read.
|
|
112
|
+
example: >-
|
|
113
|
+
"Enter your full name as it appears on your ID" under the name field.
|
|
114
|
+
counterexample: >-
|
|
115
|
+
"Invalid" under the name field and "ERR_422" as an alert.
|
|
116
|
+
|
|
117
|
+
- id: CR5
|
|
118
|
+
name: One destination, one name
|
|
119
|
+
area: content
|
|
120
|
+
moment: review
|
|
121
|
+
skill: lazuli-content-interface-writing
|
|
122
|
+
rule: >-
|
|
123
|
+
Check that each destination linked from navigation keeps one name across the screens checked (CW2).
|
|
124
|
+
why: >-
|
|
125
|
+
A page with two names in navigation reads as two pages. (our claim)
|
|
126
|
+
origin: hypothesis
|
|
127
|
+
status: hypothesis
|
|
128
|
+
hypothesis: H5
|
|
129
|
+
source: >-
|
|
130
|
+
Our claim, a hint only (H5): no number is used as a cutoff; the H5 row says what one destination is and lists what was observed afterwards, which is not evidence.
|
|
131
|
+
measure: terms.same-target
|
|
132
|
+
when_to_break: >-
|
|
133
|
+
A name that changes on purpose with the person's progress, declared with break-a-rule first.
|
|
134
|
+
break_effect: >-
|
|
135
|
+
The name follows the state of the thing, at the cost of one more name to learn.
|
|
136
|
+
test: >-
|
|
137
|
+
This rule runs only when check-design gets two or more screens (--site or several targets). check-design reads the links in navigation regions of every screen; one name inside another is the same name, and a link named only by an image or an aria-label is not a name. Hint when one destination carries two names, naming the destination and the screens; pass when every destination linked more than once keeps one; nothing when no destination is linked more than once.
|
|
138
|
+
example: >-
|
|
139
|
+
"Plans" in the header of every screen and in the footer.
|
|
140
|
+
counterexample: >-
|
|
141
|
+
"Plans" in the header and "Pricing" in the footer, both to the same page.
|
|
142
|
+
|
|
143
|
+
- id: CR6
|
|
144
|
+
name: One term, one spelling
|
|
145
|
+
area: content
|
|
146
|
+
moment: review
|
|
147
|
+
skill: lazuli-content-interface-writing
|
|
148
|
+
rule: >-
|
|
149
|
+
Check that no term is written two ways across the screens checked, such as "E-mail" and "Email" or "Log in" and "Login" (CW2).
|
|
150
|
+
why: >-
|
|
151
|
+
One term written two ways makes the person wonder whether it is two things. (our claim)
|
|
152
|
+
origin: hypothesis
|
|
153
|
+
status: hypothesis
|
|
154
|
+
hypothesis: H6
|
|
155
|
+
source: >-
|
|
156
|
+
Our claim, a hint only (H6): no number is used as a cutoff; the H6 row says how spellings are compared and lists what was observed afterwards, which is not evidence.
|
|
157
|
+
measure: terms.spelling
|
|
158
|
+
when_to_break: >-
|
|
159
|
+
A spelling fixed by a brand or a quoted name, declared with break-a-rule first.
|
|
160
|
+
break_effect: >-
|
|
161
|
+
The brand keeps its own spelling, at the cost of a second form on the screen.
|
|
162
|
+
test: >-
|
|
163
|
+
This rule runs only when check-design gets two or more screens (--site or several targets). check-design compares the words and adjacent word pairs of every screen with separators removed and accents and apostrophes kept, so "você" and "voce" stay apart and numbers never form a term. Hint when a term is written two ways, listing the forms; pass when none is.
|
|
164
|
+
example: >-
|
|
165
|
+
"E-mail" on the sign up form and on the contact page.
|
|
166
|
+
counterexample: >-
|
|
167
|
+
"E-mail" on the sign up form and "Email" on the contact page.
|
|
168
|
+
|
|
169
|
+
- id: CR7
|
|
170
|
+
name: Text that grows does not break the layout
|
|
171
|
+
area: content
|
|
172
|
+
moment: review
|
|
173
|
+
skill: lazuli-content-interface-writing
|
|
174
|
+
rule: >-
|
|
175
|
+
Check that the page keeps working when every text grows by the factor of H7, as when the language changes (CW7).
|
|
176
|
+
why: >-
|
|
177
|
+
Text laid out to fit in one language breaks when a translation arrives longer. (our claim)
|
|
178
|
+
origin: hypothesis
|
|
179
|
+
status: hypothesis
|
|
180
|
+
hypothesis: H7
|
|
181
|
+
source: >-
|
|
182
|
+
Our claim: the factor is the round starting value of H7, set before any page was measured; the H7 row says how and lists what was observed afterwards, which is not evidence.
|
|
183
|
+
measure: extreme.growth
|
|
184
|
+
threshold: { growth: 1.3 }
|
|
185
|
+
declared_by: [UC1]
|
|
186
|
+
when_to_break: >-
|
|
187
|
+
A page that will never be translated and whose text is fixed by the product, declared with break-a-rule first.
|
|
188
|
+
break_effect: >-
|
|
189
|
+
Tighter boxes where the text cannot change, at the cost of a fix if it ever does.
|
|
190
|
+
test: >-
|
|
191
|
+
The cases run on a script-free copy of the page and report only what the case adds: at each width check-design loads the copy untouched and with every visible text grown, and compares them. Hint when the grown copy adds a sideways scroll, a text that spills out of its box, a text cut or cut away, or a pair of texts that overlap, naming each; pass when it adds none; nothing when the case did not run. Text the composition walk does not keep (a box under a clipping parent that is not its containing block, content below an app shell's scroll area) is never tested; inline elements moved by position relative or negative margins inside one block are never compared for overlap; text hidden from assistive technology (aria-hidden) is neither changed nor read; for overlap, each line box is clamped to its computed line-height, so texts of two blocks that touch only through tight leading are not reported; a visible layer behind the text can form overlap pairs when the text grows over it. What the case adds is grouped by element, one line each, marked (bleeds at rest) when its box already crossed the left or right edge of the viewport in the untouched copy, on a page that does not scroll sideways at rest (the gate of the layout bleeds); a page whose html or body hides horizontal overflow does not scroll, so there the case says how much further text runs past the clipped right edge instead of a sideways scroll; for either, the texts past the right edge that were not past it at rest, or run further past it, are named. With UC1 followed or broken for the piece, the hint becomes declared only when every element that breaks already bleeds at rest and a sideways scroll or text past the clipped right edge is named by one of them; otherwise it stays a hint and names the elements that do not bleed at rest; on a page where no text bleeds at rest the move is not measured.
|
|
192
|
+
example: >-
|
|
193
|
+
Buttons that wrap a longer label onto two lines and keep all of it.
|
|
194
|
+
counterexample: >-
|
|
195
|
+
A tab bar that cuts a longer tab name in a box sized for the English one.
|
|
196
|
+
|
|
197
|
+
- id: CR8
|
|
198
|
+
name: Long Portuguese text breaks nothing
|
|
199
|
+
area: content
|
|
200
|
+
moment: review
|
|
201
|
+
skill: lazuli-content-interface-writing
|
|
202
|
+
rule: >-
|
|
203
|
+
Check that the page keeps working with long Portuguese text in every label, heading and paragraph, one very long word included (CW7).
|
|
204
|
+
why: >-
|
|
205
|
+
Real names, headings and descriptions arrive longer than the sample, and Portuguese takes more room than English. (our claim)
|
|
206
|
+
origin: hypothesis
|
|
207
|
+
status: hypothesis
|
|
208
|
+
hypothesis: H8
|
|
209
|
+
source: >-
|
|
210
|
+
Our claim, a hint only (H8): no number is used as a cutoff; the three samples were written before any page was measured, and the H8 row lists what was observed afterwards, which is not evidence.
|
|
211
|
+
measure: extreme.long-text
|
|
212
|
+
declared_by: [UC1]
|
|
213
|
+
when_to_break: >-
|
|
214
|
+
A page whose text is fixed and never arrives from content, declared with break-a-rule first.
|
|
215
|
+
break_effect: >-
|
|
216
|
+
Boxes sized to the fixed text, at the cost of a fix if the text ever changes.
|
|
217
|
+
test: >-
|
|
218
|
+
The cases run on a script-free copy of the page and report only what the case adds: at each width check-design loads the copy untouched and with the long samples in labels, headings and the other text, and compares them. Hint when the case adds a sideways scroll, a spill, a cut, a text cut away or an overlap, naming each; pass when it adds none; nothing when the case did not run. Inputs, placeholders and text drawn in images, canvas or SVG are not filled; text the composition walk does not keep (a box under a clipping parent that is not its containing block, content below an app shell's scroll area) is never tested; inline elements moved by position relative or negative margins inside one block are never compared for overlap; text hidden from assistive technology (aria-hidden) is neither changed nor read; for overlap, each line box is clamped to its computed line-height, so texts of two blocks that touch only through tight leading are not reported; a visible layer behind the text can form overlap pairs when the text grows over it; absolutely positioned labels that receive long text overlap every neighbour they reach, and those pairs are true by definition; text in a fixed or sticky box can form pairs with the text that moves under it. What the case adds is grouped by element, one line each, marked (bleeds at rest) when its box already crossed the left or right edge of the viewport in the untouched copy, on a page that does not scroll sideways at rest (the gate of the layout bleeds); a page whose html or body hides horizontal overflow does not scroll, so there the case says how much further text runs past the clipped right edge instead of a sideways scroll; for either, the texts past the right edge that were not past it at rest, or run further past it, are named. With UC1 followed or broken for the piece, the hint becomes declared only when every element that breaks already bleeds at rest and a sideways scroll or text past the clipped right edge is named by one of them; otherwise it stays a hint and names the elements that do not bleed at rest; on a page where no text bleeds at rest the move is not measured.
|
|
219
|
+
example: >-
|
|
220
|
+
A card whose title wraps "Informações completas sobre atendimento" and pushes the link below it down.
|
|
221
|
+
counterexample: >-
|
|
222
|
+
A card with a fixed height that cuts its description and hides its "See details" link.
|
|
223
|
+
|
|
224
|
+
- id: CR9
|
|
225
|
+
name: An empty list breaks nothing
|
|
226
|
+
area: content
|
|
227
|
+
moment: review
|
|
228
|
+
skill: lazuli-content-interface-writing
|
|
229
|
+
rule: >-
|
|
230
|
+
Check that the page keeps working when every list is emptied (CW8).
|
|
231
|
+
why: >-
|
|
232
|
+
The first real account has no items, and a layout that leans on the list collapses without it. (our claim)
|
|
233
|
+
origin: hypothesis
|
|
234
|
+
status: hypothesis
|
|
235
|
+
hypothesis: H9
|
|
236
|
+
source: >-
|
|
237
|
+
Our claim, a hint only (H9): no number is used as a cutoff; how lists are found was fixed before any page was measured, and the H9 row lists what was observed afterwards, which is not evidence.
|
|
238
|
+
measure: extreme.empty
|
|
239
|
+
when_to_break: >-
|
|
240
|
+
A list whose length is fixed by the product, declared with break-a-rule first.
|
|
241
|
+
break_effect: >-
|
|
242
|
+
No empty case to design, since it cannot happen.
|
|
243
|
+
test: >-
|
|
244
|
+
The cases run on a script-free copy of the page and report only what the case adds: at each width check-design loads the copy untouched and with every list emptied, and compares them. Hint when the case adds a break, naming each; pass when it adds none; nothing when no list was found or the case did not run, with a note. What the empty list says to the person is read by the reviewer (CW8): a list rendered by script shows no empty state in the copy. A slow page may leave the list cases unchecked, with a note; text the composition walk does not keep (a box under a clipping parent that is not its containing block, content below an app shell's scroll area) is never tested; inline elements moved by position relative or negative margins inside one block are never compared for overlap; text hidden from assistive technology (aria-hidden) is neither changed nor read; for overlap, each line box is clamped to its computed line-height, so texts of two blocks that touch only through tight leading are not reported; a visible layer behind the text can form overlap pairs; list items are block-level: a child whose computed display is inline, inline-block, inline-flex or inline-grid is never an item, so the inline word or letter spans of a heading are never a list (a flex or grid heading's word spans are blockified and can still be read as a list) and an inline chip row is not tested with many items.
|
|
245
|
+
example: >-
|
|
246
|
+
A results section that keeps its heading and footer in place with no item under it.
|
|
247
|
+
counterexample: >-
|
|
248
|
+
A footer that rides up over the heading when the grid above it is empty.
|
|
249
|
+
|
|
250
|
+
- id: CR10
|
|
251
|
+
name: One item breaks nothing
|
|
252
|
+
area: content
|
|
253
|
+
moment: review
|
|
254
|
+
skill: lazuli-content-interface-writing
|
|
255
|
+
rule: >-
|
|
256
|
+
Check that the page keeps working when every list holds one item (CW8).
|
|
257
|
+
why: >-
|
|
258
|
+
A layout made for a full row can stretch or misplace a single item. (our claim)
|
|
259
|
+
origin: hypothesis
|
|
260
|
+
status: hypothesis
|
|
261
|
+
hypothesis: H9
|
|
262
|
+
source: >-
|
|
263
|
+
Our claim, a hint only (H9): no number is used as a cutoff; how lists are found was fixed before any page was measured, and the H9 row lists what was observed afterwards, which is not evidence.
|
|
264
|
+
measure: extreme.one
|
|
265
|
+
when_to_break: >-
|
|
266
|
+
A list that always holds several items, declared with break-a-rule first.
|
|
267
|
+
break_effect: >-
|
|
268
|
+
No single-item case to design, since it cannot happen.
|
|
269
|
+
test: >-
|
|
270
|
+
The cases run on a script-free copy of the page and report only what the case adds: at each width check-design loads the copy untouched and with one item in every list, and compares them. Hint when the case adds a break, naming each; pass when it adds none; nothing when no list was found or the case did not run, with a note. Whether one item looks broken is also judged by the reviewer (CW8). A slow page may leave the list cases unchecked, with a note; text the composition walk does not keep (a box under a clipping parent that is not its containing block, content below an app shell's scroll area) is never tested; inline elements moved by position relative or negative margins inside one block are never compared for overlap; text hidden from assistive technology (aria-hidden) is neither changed nor read; for overlap, each line box is clamped to its computed line-height, so texts of two blocks that touch only through tight leading are not reported; a visible layer behind the text can form overlap pairs; list items are block-level: a child whose computed display is inline, inline-block, inline-flex or inline-grid is never an item, so the inline word or letter spans of a heading are never a list (a flex or grid heading's word spans are blockified and can still be read as a list) and an inline chip row is not tested with many items.
|
|
271
|
+
example: >-
|
|
272
|
+
A single card that keeps its width in the grid.
|
|
273
|
+
counterexample: >-
|
|
274
|
+
A single card stretched across the whole row with its text running past the image.
|
|
275
|
+
|
|
276
|
+
- id: CR11
|
|
277
|
+
name: Hundreds of items break nothing
|
|
278
|
+
area: content
|
|
279
|
+
moment: review
|
|
280
|
+
skill: lazuli-content-interface-writing
|
|
281
|
+
rule: >-
|
|
282
|
+
Check that the page keeps working when every list holds hundreds of items (CW8).
|
|
283
|
+
why: >-
|
|
284
|
+
The busiest account has hundreds of items, and a box sized for a handful cuts them or pushes the page sideways. (our claim)
|
|
285
|
+
origin: hypothesis
|
|
286
|
+
status: hypothesis
|
|
287
|
+
hypothesis: H9
|
|
288
|
+
source: >-
|
|
289
|
+
Our claim, a hint only (H9): no number is used as a cutoff; the size of the case is a definition fixed before any page was measured, and the H9 row lists what was observed afterwards, which is not evidence.
|
|
290
|
+
measure: extreme.many
|
|
291
|
+
when_to_break: >-
|
|
292
|
+
A list whose length is fixed and short, declared with break-a-rule first.
|
|
293
|
+
break_effect: >-
|
|
294
|
+
No large case to design, since it cannot happen.
|
|
295
|
+
test: >-
|
|
296
|
+
The cases run on a script-free copy of the page and report only what the case adds: at each width check-design loads the copy untouched and with every list filled with copies of its items, and compares them. Hint when the case adds a break, naming each; pass when it adds none; nothing when no list was found or the case did not run, with a note. A list that already hides some of its items (a carousel) is not judged for cut items; whether hundreds stay usable (search, filter or pages) is judged by the reviewer (CW8). A slow page may leave the list cases unchecked, with a note; text the composition walk does not keep (a box under a clipping parent that is not its containing block, content below an app shell's scroll area) is never tested; inline elements moved by position relative or negative margins inside one block are never compared for overlap; text hidden from assistive technology (aria-hidden) is neither changed nor read; for overlap, each line box is clamped to its computed line-height, so texts of two blocks that touch only through tight leading are not reported; a visible layer behind the text can form overlap pairs; list items are block-level: a child whose computed display is inline, inline-block, inline-flex or inline-grid is never an item, so the inline word or letter spans of a heading are never a list (a flex or grid heading's word spans are blockified and can still be read as a list) and an inline chip row is not tested with many items.
|
|
297
|
+
example: >-
|
|
298
|
+
A list in a scroll box that keeps every item reachable.
|
|
299
|
+
counterexample: >-
|
|
300
|
+
A list in a box of fixed height with hidden overflow, whose later items are cut away.
|
|
301
|
+
|
|
302
|
+
- id: CR12
|
|
303
|
+
name: The copy passes the swap test
|
|
304
|
+
area: content
|
|
305
|
+
moment: review
|
|
306
|
+
skill: lazuli-content-voice
|
|
307
|
+
rule: >-
|
|
308
|
+
Judge, from the capture and the page text, whether the headlines and lead sentences hold only for this product (CV2).
|
|
309
|
+
why: >-
|
|
310
|
+
The award level of the kit author's internal product plan for content is text only that product could have, with a recognizable voice; no count can tell that. (our claim)
|
|
311
|
+
origin: hypothesis
|
|
312
|
+
status: hypothesis
|
|
313
|
+
hypothesis: H10
|
|
314
|
+
source: >-
|
|
315
|
+
Our claim: the award row of the kit author's internal product plan for content (default "generic sentences that would serve any company", award "text only that product could have, with a recognizable voice"). Judged in words by the reviewer (H10).
|
|
316
|
+
when_to_break: >-
|
|
317
|
+
A page whose wording is fixed by law or a regulator, declared with break-a-rule first and logged with record-decision.
|
|
318
|
+
break_effect: >-
|
|
319
|
+
The fixed wording stays exact, at the cost of a generic sentence where it sits.
|
|
320
|
+
test: >-
|
|
321
|
+
The reviewer runs the swap test: a fresh agent that did not write the copy reads the capture and the page text, replaces the product name with a competitor's in each headline and lead sentence, and lists the ones that still hold, in words. This rule has no measure: the CLI never says copy has a voice, is clear or fits the audience.
|
|
322
|
+
example: >-
|
|
323
|
+
A review that lists the two headlines that still hold with a competitor's name and the fact each could be rewritten around.
|
|
324
|
+
counterexample: >-
|
|
325
|
+
A review that calls the copy on brand without swapping a single name.
|
|
326
|
+
|
|
327
|
+
- id: CR13
|
|
328
|
+
name: Every number, scarcity line and claim shows its source
|
|
329
|
+
area: content
|
|
330
|
+
moment: review
|
|
331
|
+
skill: lazuli-content-voice
|
|
332
|
+
rule: >-
|
|
333
|
+
Check that every number, scarcity line and result claim has its source on the page. Numbers and statistics say where they come from, next to them or in a note the page links to. A discount matches the page's own prices: the old price, the new price and the discount agree wherever they appear. A scarcity or deadline line (a countdown, "few left", "offer ends today") is true for every visitor, not generated from the date of the visit or a random stock. A health, income or result claim names the study, the data or the condition it rests on, and a testimonial with a result is one people can generally expect, or the page says next to it what result a typical buyer gets; a results-not-typical line alone is not a source. In regulated sectors (food supplements, health, finance) a person who knows the local regulation reviews the claims; the kit does not.
|
|
334
|
+
why: >-
|
|
335
|
+
A number, a deadline or a result claim with nothing behind it misleads the person who acts on it, and the advertiser has to be able to prove it (Law 8.078/1990, article 38; FTC Health Products Compliance Guidance, section II.A). A discount that does not add up with the page's own prices, or a countdown that starts again on every visit, shows as soon as the person checks, and every other claim of the page loses weight with it. (our claim, the second sentence)
|
|
336
|
+
origin: source
|
|
337
|
+
status: active
|
|
338
|
+
source: >-
|
|
339
|
+
Brazil, Law 8.078/1990 (Consumer Defense Code), Section III "Da Publicidade", articles 36 to 38, https://www.planalto.gov.br/ccivil_03/leis/l8078compilado.htm, opened 2026-11-27: the advertiser keeps in its possession, for those with a legitimate interest, the factual, technical and scientific data that support the message (article 36, sole paragraph); advertising that is wholly or partly false, or that misleads even by omission about the nature, characteristics, quality, quantity, properties, origin, price or any other data of a product or service, is misleading and prohibited (article 37, paragraphs 1 and 3); the burden of proving that the advertising is true and correct falls on whoever sponsors it (article 38). US Federal Trade Commission, Health Products Compliance Guidance, https://www.ftc.gov/business-guidance/resources/health-products-compliance-guidance, opened 2026-11-27: before disseminating an ad, advertisers must have adequate substantiation for all objective product claims, and health claims need competent and reliable scientific evidence (section II.A); the same principles apply to any health-related product (section I); testimonials that report results more dramatic than users can generally expect are likely to be deceptive, and a "Results not typical" line does not cure that (section III.C.1). Neither text says the source must be shown on the page, and neither names countdowns or "few left" lines: showing the source on the page, and reading a generated deadline or stock line as false data about quantity or price, are our claim. Neither text is the law of every country, and the kit gives no legal opinion.
|
|
340
|
+
when_to_break: >-
|
|
341
|
+
Never for numbers, prices, discounts and health or financial claims. A tone of urgency is allowed only when the deadline is real (a sale that ends on a stated date for everyone), and then the date is shown.
|
|
342
|
+
break_effect: >-
|
|
343
|
+
Numbers and health or financial claims have no break. A real deadline told with urgency helps people who already wanted to act, at the cost of pressure on those who did not. (our claim)
|
|
344
|
+
test: >-
|
|
345
|
+
No measure: the agent checks it while writing and the reviewer walks it as a checklist, one line per claim on the page: the claim as written, its kind (number, discount, scarcity or deadline, health, income or result), and where its source is shown on the page (next to it, in a note, on a linked page) or "no source on the page". A discount line also names the prices it was checked against, and a deadline line says whether it changes between two visits or two days. A claim with no source on the page is a finding. The CLI never says a claim is true, legal or proven: the reviewer says where the source is shown, and a person who knows the local regulation judges a regulated claim.
|
|
346
|
+
example: >-
|
|
347
|
+
"Rated 4.8 by 1,200 buyers" with the reviews below it, and "From 120 to 90, 25% off" with both prices the same in the cart.
|
|
348
|
+
counterexample: >-
|
|
349
|
+
"Only a few left, offer ends today" with today's date on every visit, and a food supplement page that says it cures a disease with no study named.
|
|
350
|
+
|
|
351
|
+
# CR14 reads the large images of a page (the size of AP6) for the filter and blend treatments that recolor them. The
|
|
352
|
+
# filter list is the kit author's claim (H11); a person judges whether a treated image is proof.
|
|
353
|
+
- id: CR14
|
|
354
|
+
name: Proof images keep the look of the original
|
|
355
|
+
area: content
|
|
356
|
+
moment: review
|
|
357
|
+
skill: lazuli-content-voice
|
|
358
|
+
rule: >-
|
|
359
|
+
Check that an image that serves as proof (a customer photo, a result, the product as received) is shown close to the original: not recolored by a filter (grayscale, sepia, saturate, hue-rotate, invert, contrast, brightness, url) or by a blend mode. Name each large image shown recolored and ask, for each, whether it is proof. Keep proof close to the original, or declare the treatment.
|
|
360
|
+
why: >-
|
|
361
|
+
A customer photo in duotone or high contrast can read as stock or staged, so the proof it was there to give weakens. (our claim)
|
|
362
|
+
origin: hypothesis
|
|
363
|
+
status: hypothesis
|
|
364
|
+
hypothesis: H11
|
|
365
|
+
source: >-
|
|
366
|
+
Our claim, not verified yet. No page was opened for it; the filter list and the blend rule are our claim, and the H11 row says how they were fixed and what the measure leaves out. Whether a treated image is proof is a judgment for the reviewer.
|
|
367
|
+
measure: a11y.image-treatment
|
|
368
|
+
threshold: { filters: [grayscale, sepia, saturate, hue-rotate, invert, contrast, brightness, url], blends: true }
|
|
369
|
+
when_to_break: >-
|
|
370
|
+
A treatment that is the idea of the design (a duotone applied to every photo of a campaign, with the originals shown elsewhere), declared with break-a-rule first.
|
|
371
|
+
break_effect: >-
|
|
372
|
+
The images share one look and the page feels designed; the photos may stop reading as evidence of real people or a real product.
|
|
373
|
+
test: >-
|
|
374
|
+
check-design lists the visible img elements that are large (the size of AP6) and reads, for each, the color-changing filter functions of the image or of an ancestor up to its nearest section, article or body, and its mix-blend-mode when not normal; a function at its identity value (grayscale(0), sepia(0), invert(0), saturate(1), contrast(1), brightness(1), hue-rotate(0deg)) leaves the image as it is and is not counted, while url() always counts. Hint naming the images shown recolored; pass when none is; when the page has more large images than are read, the message says how many were read. The reviewer asks, for each treated image, whether it is proof. With no large image there is no finding. Background images, svg and canvas are not read.
|
|
375
|
+
example: >-
|
|
376
|
+
A testimonial portrait in its own colors, with a duotone only on the decorative hero photo.
|
|
377
|
+
counterexample: >-
|
|
378
|
+
Four customer portraits in grayscale with a multiply blend, on a page whose offer rests on what those customers got.
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
# Voice. How the product speaks: its declared voice, the words it uses and avoids, the tone by moment, plain
|
|
2
|
+
# words for the audience, and copy only this product could have. These rules are for the moment the copy is
|
|
3
|
+
# written. Whether the copy has a voice, and whether it could belong to any company, is judged by the
|
|
4
|
+
# reviewer in words; the CLI never says copy has a voice.
|
|
5
|
+
|
|
6
|
+
- id: CV1
|
|
7
|
+
name: The voice is declared as three traits
|
|
8
|
+
area: content
|
|
9
|
+
moment: create
|
|
10
|
+
skill: lazuli-content-voice
|
|
11
|
+
rule: >-
|
|
12
|
+
Declare the voice in `## Voice` of LAZULI.md before writing copy: three traits, each written as "this, not that", each with a sample sentence in that voice. Every piece of copy is written and reviewed against those lines.
|
|
13
|
+
why: >-
|
|
14
|
+
A voice that is not written down drifts with each writer and each screen; a trait with its opposite and a sample can be checked, a single adjective cannot. (our claim)
|
|
15
|
+
origin: hypothesis
|
|
16
|
+
source: >-
|
|
17
|
+
Our claim: the three-trait form comes from the kit author's internal product plan. Related reading, not the source of the rule: Mailchimp Content Style Guide, Voice and Tone, https://styleguide.mailchimp.com/voice-and-tone/ (section "Voice", opened 2026-11-26) describes its voice in pairs such as smart but not snobbish.
|
|
18
|
+
when_to_break: >-
|
|
19
|
+
A product with no copy of its own (a tool whose every word is fixed by a platform), declared with break-a-rule first.
|
|
20
|
+
break_effect: >-
|
|
21
|
+
No voice to declare, since nothing is written in it.
|
|
22
|
+
test: >-
|
|
23
|
+
The reviewer reads `## Voice` and checks for three traits, each with its opposite and a sample sentence; a missing part is a finding.
|
|
24
|
+
example: >-
|
|
25
|
+
"Direct, not curt: 'Your order ships tomorrow.'"
|
|
26
|
+
counterexample: >-
|
|
27
|
+
"Friendly, innovative and professional." with no opposite and no sample.
|
|
28
|
+
|
|
29
|
+
- id: CV2
|
|
30
|
+
name: Text only this product could have
|
|
31
|
+
area: content
|
|
32
|
+
moment: create
|
|
33
|
+
skill: lazuli-content-voice
|
|
34
|
+
rule: >-
|
|
35
|
+
Write text only this product could have. Run the swap test on every headline and lead sentence: replace the product name with a competitor's; a sentence that still holds is rewritten around a fact only this product has (a place, a number it owns, a way of working, a person). How the test is run is the hypothesis H10 in `HYPOTHESES.md` of this area.
|
|
36
|
+
why: >-
|
|
37
|
+
Generic sentences that would serve any company are the default level of copy; text that only this product could say is what makes it recognizable. (our claim)
|
|
38
|
+
origin: hypothesis
|
|
39
|
+
status: hypothesis
|
|
40
|
+
hypothesis: H10
|
|
41
|
+
source: >-
|
|
42
|
+
Our claim: the test comes from the kit author's internal product plan (content row, award level: text only that product could have, with a recognizable voice; default level: generic sentences that would serve any company). No page opened on 2026-11-26 states it.
|
|
43
|
+
when_to_break: >-
|
|
44
|
+
A legal or regulatory sentence whose wording is fixed, declared with break-a-rule first.
|
|
45
|
+
break_effect: >-
|
|
46
|
+
The fixed wording stays exact, at the cost of a generic sentence where it sits.
|
|
47
|
+
test: >-
|
|
48
|
+
The reviewer runs the swap test: a fresh agent that did not write the copy replaces the product name with a competitor's in each headline and lead sentence and lists the ones that still hold (CR12). It is judged in words; the CLI never says copy has a voice.
|
|
49
|
+
example: >-
|
|
50
|
+
"We fit your glasses in the shop on Rua Diamantina while you wait, with the lab behind the counter."
|
|
51
|
+
counterexample: >-
|
|
52
|
+
"We offer innovative solutions with quality and commitment."
|
|
53
|
+
|
|
54
|
+
- id: CV3
|
|
55
|
+
name: Words to use and words to avoid
|
|
56
|
+
area: content
|
|
57
|
+
moment: create
|
|
58
|
+
skill: lazuli-content-voice
|
|
59
|
+
rule: >-
|
|
60
|
+
List the words the product always uses and the ones it avoids in `## Voice` of LAZULI.md, with the word to use in place of each avoided one, and take every screen's words from there. The names of things chosen for CW2 go on the same list.
|
|
61
|
+
why: >-
|
|
62
|
+
A shared list keeps the same idea in the same word across writers and screens, and keeps out the words the audience reads as cold, vague or foreign. (our claim)
|
|
63
|
+
origin: hypothesis
|
|
64
|
+
source: >-
|
|
65
|
+
Our claim: no page opened on 2026-11-26 sets this as a rule for a product. Related reading, not the source of the rule: GOV.UK, A to Z style guide, https://guidance.publishing.service.gov.uk/writing-to-gov-uk-standards/style-guides/a-to-z-style-guide/ (entry "Words to avoid", opened 2026-11-26) keeps such a list, each avoided word with the word to use instead.
|
|
66
|
+
when_to_break: >-
|
|
67
|
+
Never needed: a product that has no word to avoid writes an empty list and says so.
|
|
68
|
+
break_effect: >-
|
|
69
|
+
None to buy: the list costs nothing to keep.
|
|
70
|
+
test: >-
|
|
71
|
+
The reviewer reads the list in `## Voice` and searches the copy of every screen for the avoided words; each one found is a finding.
|
|
72
|
+
example: >-
|
|
73
|
+
"Use: appointment. Avoid: slot. Use: plan. Avoid: package."
|
|
74
|
+
counterexample: >-
|
|
75
|
+
The same booking called "appointment", "slot" and "session" on three screens, with no list behind it.
|
|
76
|
+
|
|
77
|
+
- id: CV4
|
|
78
|
+
name: The tone moves with the moment, the voice stays
|
|
79
|
+
area: content
|
|
80
|
+
moment: create
|
|
81
|
+
skill: lazuli-content-voice
|
|
82
|
+
rule: >-
|
|
83
|
+
The voice stays the same everywhere; the tone moves with the moment. Plainer and calmer for errors, money and loss; warmer for success and empty states (our claim). Write in `## Voice` how the tone changes in errors, empty states and success.
|
|
84
|
+
why: >-
|
|
85
|
+
The same voice keeps the product recognizable, and a tone that fits the moment keeps it from joking at someone who just lost their work. The pairing of moments with tones is our claim.
|
|
86
|
+
origin: source
|
|
87
|
+
source: >-
|
|
88
|
+
Mailchimp Content Style Guide, Voice and Tone, https://styleguide.mailchimp.com/voice-and-tone/ (sections "Voice" and "Tone", opened 2026-11-26): you have the same voice all the time, but your tone changes; it is always more important to be clear than entertaining. Which tone goes with errors, money, loss, success and empty states is our claim.
|
|
89
|
+
when_to_break: >-
|
|
90
|
+
A product whose every moment is serious (a medical result, a legal notice) keeps one calm tone, declared with break-a-rule first.
|
|
91
|
+
break_effect: >-
|
|
92
|
+
One steady tone, at the cost of warmth in the few good moments.
|
|
93
|
+
test: >-
|
|
94
|
+
The reviewer reads the error, empty and success messages side by side against `## Voice` and says whether each tone fits its moment and the voice is the same in all three.
|
|
95
|
+
example: >-
|
|
96
|
+
Error: "We could not charge your card. Nothing was taken; try another card." Success: "Done. Your first plan starts today."
|
|
97
|
+
counterexample: >-
|
|
98
|
+
Error: "Oops! Something went wrong" with a joke, for a failed payment.
|
|
99
|
+
|
|
100
|
+
- id: CV5
|
|
101
|
+
name: Plain words of the declared audience
|
|
102
|
+
area: content
|
|
103
|
+
moment: create
|
|
104
|
+
skill: lazuli-content-voice
|
|
105
|
+
rule: >-
|
|
106
|
+
Write in the plain words of the audience declared in `## Audience` of LAZULI.md (reading that section is our claim): no internal jargon, no term only the team uses. In delegate mode, when the kit explains its choices to the owner, no design jargon either (our claim).
|
|
107
|
+
why: >-
|
|
108
|
+
Plain words let the audience act without stopping to translate. The two audiences of the kit (the people who use the product, and the owner in delegate mode) are our claim from the kit author's internal product plan.
|
|
109
|
+
origin: source
|
|
110
|
+
source: >-
|
|
111
|
+
GOV.UK, A to Z style guide, https://guidance.publishing.service.gov.uk/writing-to-gov-uk-standards/style-guides/a-to-z-style-guide/ (entries "plain English" and "Words to avoid", opened 2026-11-26): content should be written in plain English, with a list of words to avoid and the plain word to use instead. Reading the declared audience and the delegate mode is our claim.
|
|
112
|
+
when_to_break: >-
|
|
113
|
+
An audience that uses a technical term every day (clinicians, accountants) may read it plainly, named under `## Audience` and declared with break-a-rule first.
|
|
114
|
+
break_effect: >-
|
|
115
|
+
The audience's own term is exact for them, at the cost of anyone outside it.
|
|
116
|
+
test: >-
|
|
117
|
+
The reviewer reads the copy as the person in `## Audience` and marks every word that person would not use; in delegate mode the reviewer also marks design terms in the explanations.
|
|
118
|
+
example: >-
|
|
119
|
+
"Your order ships tomorrow" for shoppers, and "The button is larger so it is easier to tap" for the owner.
|
|
120
|
+
counterexample: >-
|
|
121
|
+
"Fulfilment SLA pending" for shoppers, and "Increased the hit area to meet the target size heuristic" for the owner.
|
|
122
|
+
|
|
123
|
+
- id: CV6
|
|
124
|
+
name: Specific over superlative
|
|
125
|
+
area: content
|
|
126
|
+
moment: create
|
|
127
|
+
skill: lazuli-content-voice
|
|
128
|
+
rule: >-
|
|
129
|
+
Say something specific instead of a superlative: a number, a name, a place or a fact the product owns in place of "best", "innovative", "leading" or "solutions".
|
|
130
|
+
why: >-
|
|
131
|
+
A superlative is claimed by everyone and checked by no one; a specific fact can be believed and only fits this product. (our claim)
|
|
132
|
+
origin: hypothesis
|
|
133
|
+
source: >-
|
|
134
|
+
Our claim: no page opened on 2026-11-26 states this as a rule. Related reading: Mailchimp Content Style Guide, Voice and Tone, https://styleguide.mailchimp.com/voice-and-tone/ (section "Voice", opened 2026-11-26) prefers the subtle over the noisy.
|
|
135
|
+
when_to_break: >-
|
|
136
|
+
A superlative that is a checked fact with its source next to it (an award, a ranking), declared with break-a-rule first.
|
|
137
|
+
break_effect: >-
|
|
138
|
+
A claim that can be believed, since its proof is next to it.
|
|
139
|
+
test: >-
|
|
140
|
+
The reviewer marks every superlative and vague word in the copy and asks for the fact behind it; one with no fact is a finding.
|
|
141
|
+
example: >-
|
|
142
|
+
"Open since 1998 on the same corner, with the same baker."
|
|
143
|
+
counterexample: >-
|
|
144
|
+
"The best bakery in town, with innovative solutions for you."
|