vc-extras 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (249) hide show
  1. package/README.md +128 -71
  2. package/agent-install.mjs +159 -0
  3. package/agents/tester.md +23 -23
  4. package/install-extras.mjs +41 -109
  5. package/install-menu.mjs +22 -43
  6. package/install-skills.mjs +112 -112
  7. package/package.json +72 -28
  8. package/plugin-registry.mjs +73 -0
  9. package/plugins/config-ui/index.ts +159 -159
  10. package/plugins/config-ui/lib/arguments.mjs +24 -24
  11. package/plugins/config-ui/lib/documents.mjs +67 -67
  12. package/plugins/config-ui/lib/frontmatter.mjs +91 -91
  13. package/plugins/config-ui/lib/open.mjs +16 -16
  14. package/plugins/config-ui/lib/ownership.mjs +99 -99
  15. package/plugins/config-ui/lib/page.mjs +11 -11
  16. package/plugins/config-ui/lib/patch.mjs +35 -35
  17. package/plugins/config-ui/lib/paths.mjs +14 -14
  18. package/plugins/config-ui/lib/plugin-fields.mjs +86 -86
  19. package/plugins/config-ui/lib/plugin-validation.mjs +28 -28
  20. package/plugins/config-ui/lib/redaction.mjs +8 -8
  21. package/plugins/config-ui/lib/registry.mjs +282 -282
  22. package/plugins/config-ui/lib/secrets.mjs +44 -44
  23. package/plugins/config-ui/lib/server.mjs +250 -250
  24. package/plugins/config-ui/lib/sources.mjs +96 -96
  25. package/plugins/config-ui/lib/state.mjs +156 -156
  26. package/plugins/config-ui/lib/themes.mjs +113 -113
  27. package/plugins/config-ui/lib/writer.mjs +690 -690
  28. package/plugins/config-ui/project-local-owner.ts +106 -106
  29. package/plugins/config-ui/vc-extras.plugin.json +13 -0
  30. package/plugins/config-ui/web/app.mjs +997 -997
  31. package/plugins/config-ui/web/index.html +342 -342
  32. package/plugins/pi-blackhole/vc-extras.plugin.json +12 -0
  33. package/plugins/pi-btw/vc-extras.plugin.json +12 -0
  34. package/plugins/pi-claude-code/vc-extras.plugin.json +12 -0
  35. package/plugins/pi-fff/vc-extras.plugin.json +12 -0
  36. package/plugins/pi-jev-auto-mode/vc-extras.plugin.json +12 -0
  37. package/plugins/pi-mcp-adapter/vc-extras.plugin.json +12 -0
  38. package/plugins/pi-web-access/vc-extras.plugin.json +12 -0
  39. package/plugins/vc-ask/claude-hook.mjs +37 -0
  40. package/plugins/vc-ask/codex-native.mjs +28 -0
  41. package/plugins/vc-ask/host-channel.mjs +75 -0
  42. package/plugins/vc-ask/index.ts +57 -0
  43. package/plugins/vc-ask/native-questions.mjs +33 -0
  44. package/plugins/vc-ask/package.json +10 -0
  45. package/plugins/vc-ask/payload.ts +170 -0
  46. package/plugins/vc-ask/questionnaire/LICENSE.ask-user-question +21 -0
  47. package/plugins/vc-ask/questionnaire/UPSTREAM.md +104 -0
  48. package/plugins/vc-ask/questionnaire/answer-channel.ts +135 -0
  49. package/plugins/vc-ask/questionnaire/config.ts +180 -0
  50. package/plugins/vc-ask/questionnaire/events.ts +154 -0
  51. package/plugins/vc-ask/questionnaire/execute.ts +688 -0
  52. package/plugins/vc-ask/questionnaire/i18n.ts +73 -0
  53. package/plugins/vc-ask/questionnaire/inline-entry.ts +312 -0
  54. package/plugins/vc-ask/questionnaire/locales/de.json +43 -0
  55. package/plugins/vc-ask/questionnaire/locales/en.json +42 -0
  56. package/plugins/vc-ask/questionnaire/locales/es.json +43 -0
  57. package/plugins/vc-ask/questionnaire/locales/fr.json +43 -0
  58. package/plugins/vc-ask/questionnaire/locales/pt-BR.json +43 -0
  59. package/plugins/vc-ask/questionnaire/locales/pt.json +43 -0
  60. package/plugins/vc-ask/questionnaire/locales/ru.json +43 -0
  61. package/plugins/vc-ask/questionnaire/locales/uk.json +43 -0
  62. package/plugins/vc-ask/questionnaire/locales/zh.json +46 -0
  63. package/plugins/vc-ask/questionnaire/presentation.ts +11 -0
  64. package/plugins/vc-ask/questionnaire/question-preview.ts +6 -0
  65. package/plugins/vc-ask/questionnaire/rpc.ts +221 -0
  66. package/plugins/vc-ask/questionnaire/session-timeout.ts +67 -0
  67. package/plugins/vc-ask/questionnaire/state/build-questionnaire.ts +144 -0
  68. package/plugins/vc-ask/questionnaire/state/external-editor.ts +62 -0
  69. package/plugins/vc-ask/questionnaire/state/geometry.ts +131 -0
  70. package/plugins/vc-ask/questionnaire/state/key-router.ts +382 -0
  71. package/plugins/vc-ask/questionnaire/state/panel-router.ts +32 -0
  72. package/plugins/vc-ask/questionnaire/state/questionnaire-session.ts +642 -0
  73. package/plugins/vc-ask/questionnaire/state/row-intent.ts +143 -0
  74. package/plugins/vc-ask/questionnaire/state/selectors/contract.ts +24 -0
  75. package/plugins/vc-ask/questionnaire/state/selectors/derivations.ts +40 -0
  76. package/plugins/vc-ask/questionnaire/state/selectors/focus.ts +17 -0
  77. package/plugins/vc-ask/questionnaire/state/selectors/projections.ts +99 -0
  78. package/plugins/vc-ask/questionnaire/state/state-reducer.ts +455 -0
  79. package/plugins/vc-ask/questionnaire/state/state.ts +90 -0
  80. package/plugins/vc-ask/questionnaire/state/vertical.ts +158 -0
  81. package/plugins/vc-ask/questionnaire/timeout.ts +59 -0
  82. package/plugins/vc-ask/questionnaire/tool/external-answer.ts +103 -0
  83. package/plugins/vc-ask/questionnaire/tool/format-answer.ts +24 -0
  84. package/plugins/vc-ask/questionnaire/tool/normalize-params.ts +37 -0
  85. package/plugins/vc-ask/questionnaire/tool/response-envelope.ts +75 -0
  86. package/plugins/vc-ask/questionnaire/tool/types.ts +74 -0
  87. package/plugins/vc-ask/questionnaire/tool/validate-questionnaire.ts +75 -0
  88. package/plugins/vc-ask/questionnaire/view/card-theme.ts +245 -0
  89. package/plugins/vc-ask/questionnaire/view/components/inline-input.ts +66 -0
  90. package/plugins/vc-ask/questionnaire/view/components/multi-select-view.ts +177 -0
  91. package/plugins/vc-ask/questionnaire/view/components/option-list-view.ts +65 -0
  92. package/plugins/vc-ask/questionnaire/view/components/preview/markdown-content-cache.ts +101 -0
  93. package/plugins/vc-ask/questionnaire/view/components/preview/preview-block-renderer.ts +130 -0
  94. package/plugins/vc-ask/questionnaire/view/components/preview/preview-box-renderer.ts +86 -0
  95. package/plugins/vc-ask/questionnaire/view/components/preview/preview-layout-decider.ts +204 -0
  96. package/plugins/vc-ask/questionnaire/view/components/preview/preview-pane.ts +257 -0
  97. package/plugins/vc-ask/questionnaire/view/components/submit-picker.ts +65 -0
  98. package/plugins/vc-ask/questionnaire/view/components/tab-bar.ts +57 -0
  99. package/plugins/vc-ask/questionnaire/view/components/wrapping-select.ts +269 -0
  100. package/plugins/vc-ask/questionnaire/view/dialog-builder.ts +319 -0
  101. package/plugins/vc-ask/questionnaire/view/document-theme.ts +53 -0
  102. package/plugins/vc-ask/questionnaire/view/document-view.ts +306 -0
  103. package/plugins/vc-ask/questionnaire/view/panel-chrome.ts +133 -0
  104. package/plugins/vc-ask/questionnaire/view/props-adapter.ts +77 -0
  105. package/plugins/vc-ask/questionnaire/view/stateful-view.ts +24 -0
  106. package/plugins/vc-ask/questionnaire/view/tab-components.ts +16 -0
  107. package/plugins/vc-ask/questionnaire/view/tab-content-strategy.ts +280 -0
  108. package/plugins/vc-ask/questionnaire/view/vertical-view.ts +218 -0
  109. package/plugins/vc-ask/user-input-events.ts +34 -0
  110. package/plugins/vc-ask/vc-extras.plugin.json +18 -0
  111. package/plugins/vc-footer/agents/claude-code/adapter.mjs +29 -0
  112. package/plugins/vc-footer/agents/claude-code/cli.mjs +23 -0
  113. package/plugins/vc-footer/agents/claude-code/renderer.mjs +1 -0
  114. package/plugins/vc-footer/agents/claude-code/types.d.ts +38 -0
  115. package/plugins/vc-footer/agents/codex/adapter.mjs +13 -0
  116. package/plugins/vc-footer/agents/codex/mcp.mjs +45 -0
  117. package/plugins/vc-footer/agents/codex/native.mjs +19 -0
  118. package/plugins/vc-footer/agents/codex/renderer.mjs +2 -0
  119. package/plugins/vc-footer/agents/pi/adapter.mjs +23 -0
  120. package/plugins/vc-footer/agents/pi/index.js +84 -0
  121. package/plugins/vc-footer/agents/pi/project-local-owner.mjs +97 -0
  122. package/plugins/vc-footer/agents/pi/renderer.mjs +5 -0
  123. package/plugins/vc-footer/core/data.mjs +218 -0
  124. package/plugins/vc-footer/core/render.mjs +291 -0
  125. package/plugins/vc-footer/core/types.d.ts +29 -0
  126. package/plugins/vc-footer/package.json +22 -0
  127. package/plugins/vc-footer/vc-extras.plugin.json +32 -0
  128. package/skills/animate/LICENSE +21 -21
  129. package/skills/animate/RECIPES.md +324 -324
  130. package/skills/animate/SKILL.md +208 -208
  131. package/skills/animate/UPSTREAM.md +19 -19
  132. package/skills/animation-performance/LICENSE +21 -21
  133. package/skills/animation-performance/SKILL.md +223 -223
  134. package/skills/animation-performance/UPSTREAM.md +19 -19
  135. package/skills/answer-me-with-html/SKILL.md +174 -174
  136. package/skills/answer-me-with-html/scripts/am.mjs +12896 -12896
  137. package/skills/apple-design/LICENSE +21 -21
  138. package/skills/apple-design/SKILL.md +291 -291
  139. package/skills/apple-design/UPSTREAM.md +19 -19
  140. package/skills/bad-smell/SKILL.md +44 -44
  141. package/skills/commit/SKILL.md +90 -90
  142. package/skills/emil-design-eng/LICENSE +21 -21
  143. package/skills/emil-design-eng/SKILL.md +677 -677
  144. package/skills/emil-design-eng/UPSTREAM.md +19 -19
  145. package/skills/find-the-truth/SKILL.md +38 -38
  146. package/skills/find-the-truth/references/trace-method.md +48 -48
  147. package/skills/find-the-truth/references/truth-method.md +39 -39
  148. package/skills/gestures/LICENSE +21 -21
  149. package/skills/gestures/SKILL.md +107 -107
  150. package/skills/gestures/UPSTREAM.md +19 -19
  151. package/skills/humanizer-zh/LICENSE +21 -21
  152. package/skills/humanizer-zh/SKILL.md +409 -409
  153. package/skills/humanizer-zh/UPSTREAM.md +7 -7
  154. package/skills/impeccable/LICENSE +191 -191
  155. package/skills/impeccable/NOTICE.md +11 -11
  156. package/skills/impeccable/SKILL.md +89 -89
  157. package/skills/impeccable/licenses/modern-screenshot-MIT.txt +8 -8
  158. package/skills/impeccable/licenses/platform-design-skills-MIT.txt +21 -21
  159. package/skills/impeccable/reference/adapt.md +318 -318
  160. package/skills/impeccable/reference/adapt.native.md +58 -58
  161. package/skills/impeccable/reference/android.md +46 -46
  162. package/skills/impeccable/reference/animate.md +89 -89
  163. package/skills/impeccable/reference/audit.md +139 -139
  164. package/skills/impeccable/reference/audit.native.md +139 -139
  165. package/skills/impeccable/reference/bolder.md +33 -33
  166. package/skills/impeccable/reference/clarify.md +94 -94
  167. package/skills/impeccable/reference/colorize.md +86 -86
  168. package/skills/impeccable/reference/component-review.md +63 -63
  169. package/skills/impeccable/reference/craft-floor.md +44 -44
  170. package/skills/impeccable/reference/craft.md +5 -5
  171. package/skills/impeccable/reference/critique.md +819 -819
  172. package/skills/impeccable/reference/degraded/asset-producer.md +41 -41
  173. package/skills/impeccable/reference/degraded/documenter.md +23 -23
  174. package/skills/impeccable/reference/degraded/finish-reviewer.md +37 -37
  175. package/skills/impeccable/reference/degraded/manual-edit-applier.md +92 -92
  176. package/skills/impeccable/reference/delight.md +70 -70
  177. package/skills/impeccable/reference/distill.md +111 -111
  178. package/skills/impeccable/reference/doctor.md +54 -54
  179. package/skills/impeccable/reference/document.md +416 -416
  180. package/skills/impeccable/reference/extract.md +69 -69
  181. package/skills/impeccable/reference/generate.md +101 -101
  182. package/skills/impeccable/reference/harden.md +362 -362
  183. package/skills/impeccable/reference/hooks.md +114 -114
  184. package/skills/impeccable/reference/init.md +131 -131
  185. package/skills/impeccable/reference/ios.md +51 -51
  186. package/skills/impeccable/reference/layout.md +84 -84
  187. package/skills/impeccable/reference/live-setup.md +104 -104
  188. package/skills/impeccable/reference/live.md +327 -327
  189. package/skills/impeccable/reference/mode-operate.md +21 -21
  190. package/skills/impeccable/reference/mode-persuade.md +19 -19
  191. package/skills/impeccable/reference/mode-read.md +21 -21
  192. package/skills/impeccable/reference/new-work.md +152 -152
  193. package/skills/impeccable/reference/onboard.md +234 -234
  194. package/skills/impeccable/reference/operate.md +61 -61
  195. package/skills/impeccable/reference/optimize.md +257 -257
  196. package/skills/impeccable/reference/overdrive.md +127 -127
  197. package/skills/impeccable/reference/polish.md +105 -105
  198. package/skills/impeccable/reference/quieter.md +99 -99
  199. package/skills/impeccable/reference/region-map.md +26 -26
  200. package/skills/impeccable/reference/routing.md +24 -24
  201. package/skills/impeccable/reference/shape.md +59 -59
  202. package/skills/impeccable/reference/typeset.md +90 -90
  203. package/skills/impeccable/reference/visualize.md +47 -47
  204. package/skills/impeccable/scripts/VERSION +1 -1
  205. package/skills/impeccable/scripts/command-metadata.json +98 -98
  206. package/skills/impeccable/scripts/data/font-index-failures.json +120 -120
  207. package/skills/impeccable/scripts/engine-checksums.txt +9 -9
  208. package/skills/impeccable/scripts/impeccable +249 -249
  209. package/skills/impeccable/scripts/impeccable.cmd +278 -278
  210. package/skills/impeccable/scripts/live-browser-dom.js +320 -320
  211. package/skills/impeccable/scripts/live-browser-ignores.js +246 -246
  212. package/skills/impeccable/scripts/live-browser-session.js +183 -183
  213. package/skills/impeccable/scripts/live-browser.js +13862 -13862
  214. package/skills/impeccable/scripts/modern-screenshot.umd.js +14 -14
  215. package/skills/improve-animations/AUDIT.md +115 -115
  216. package/skills/improve-animations/LICENSE +21 -21
  217. package/skills/improve-animations/PLAN-TEMPLATE.md +73 -73
  218. package/skills/improve-animations/SKILL.md +110 -110
  219. package/skills/improve-animations/UPSTREAM.md +19 -19
  220. package/skills/pick-ui-library/LICENSE +21 -21
  221. package/skills/pick-ui-library/SKILL.md +85 -85
  222. package/skills/pick-ui-library/UPSTREAM.md +19 -19
  223. package/skills/review-animations/LICENSE +21 -21
  224. package/skills/review-animations/SKILL.md +120 -120
  225. package/skills/review-animations/STANDARDS.md +187 -187
  226. package/skills/review-animations/UPSTREAM.md +19 -19
  227. package/skills/test/SKILL.md +29 -29
  228. package/skills/test/references/test-method.md +60 -60
  229. package/skills/write-doc/SKILL.md +115 -115
  230. package/skills/write-doc/examples/result-report.md +53 -53
  231. package/skills/write-doc/examples/task-summary.md +45 -45
  232. package/skills/write-doc/references/terminology.md +147 -147
  233. package/specs/ask-host-protocol-v1.md +58 -0
  234. package/specs/design-demo.md +1102 -1102
  235. package/specs/frontend-immersive.md +28 -28
  236. package/specs/plugin-install-v2.md +123 -0
  237. package/specs/plugin-install.md +38 -0
  238. package/specs/web-modes/explore.md +31 -31
  239. package/specs/web-modes/risk.md +15 -15
  240. package/specs/web-modes/verify.md +16 -16
  241. package/vc-extras.mjs +46 -62
  242. package/plugins/essrj/context.ts +0 -47
  243. package/plugins/essrj/data.ts +0 -190
  244. package/plugins/essrj/index.ts +0 -139
  245. package/plugins/essrj/package.json +0 -12
  246. package/plugins/essrj/project-local-owner.ts +0 -106
  247. package/plugins/essrj/render.ts +0 -217
  248. package/plugins/essrj/types.ts +0 -40
  249. package/plugins.json +0 -38
@@ -1,99 +1,99 @@
1
- Quiet design is harder than bold design. Subtlety needs precision. Reduce visual intensity in designs that are too loud, aggressive, or overstimulating without losing personality or making the result generic.
2
-
3
- ---
4
-
5
- ## Visitor mode
6
-
7
- Persuade + Experience: "quieter" means more restrained palette, more whitespace, more typographic air. Drama is reduced, not eliminated; the POV stays intact.
8
-
9
- Operate + Read: "quieter" means reducing visual noise. Fewer background accents, flatter cards, less color, less motion. The tool should disappear more completely into the task.
10
-
11
- ---
12
-
13
- ## Assess Current State
14
-
15
- Analyze what makes the design feel too intense:
16
-
17
- 1. **Identify intensity sources**:
18
- - **Color saturation**: Overly bright or saturated colors
19
- - **Contrast extremes**: Too much high-contrast juxtaposition
20
- - **Visual weight**: Too many bold, heavy elements competing
21
- - **Animation excess**: Too much motion or overly dramatic effects
22
- - **Complexity**: Too many visual elements, patterns, or decorations
23
- - **Scale**: Everything is large and loud with no hierarchy
24
-
25
- 2. **Understand the context**:
26
- - What's the purpose? (Marketing vs tool vs reading experience)
27
- - Who's the audience? (Some contexts need energy)
28
- - What's working? (Don't throw away good ideas)
29
- - What's the core message? (Preserve what matters)
30
-
31
- If any of these are unclear from the codebase, do not guess. Ask the user directly to clarify what you cannot infer.
32
-
33
- "Quieter" means refined and easier on the eyes, not generic. Generic quiet looks like gray text on white, one sans at a uniform weight, and a grid of identical cards; restraint still needs a point of view.
34
-
35
- ## Plan Refinement
36
-
37
- Create a strategy to reduce intensity while maintaining impact:
38
-
39
- - **Color approach**: Desaturate or shift to more restrained tones?
40
- - **Hierarchy approach**: Which elements should stay bold (very few), which should recede?
41
- - **Simplification approach**: What can be removed entirely?
42
- - **Sophistication approach**: How can we signal quality through restraint?
43
-
44
- Subtlety requires precision. Quiet without intent collapses to generic.
45
-
46
- ## Refine the Design
47
-
48
- Systematically reduce intensity across these dimensions:
49
-
50
- ### Color Refinement
51
- - **Reduce saturation**: Shift from fully saturated to 70-85% saturation
52
- - **Soften palette**: Replace bright colors with muted tones
53
- - **Reduce color variety**: Use fewer colors more thoughtfully
54
- - **Neutral dominance**: Let neutrals do more work, use color as accent (10% rule)
55
- - **Gentler contrasts**: High contrast only where it matters most
56
- - **Tinted grays**: Use warm or cool tinted grays instead of pure gray. Adds depth without loudness
57
- - **Never gray on color**: If you have gray text on a colored background, use a darker shade of that color or transparency instead
58
-
59
- ### Visual Weight Reduction
60
- - **Typography**: Reduce font weights (900 → 600, 700 → 500), decrease sizes where appropriate
61
- - **Hierarchy through subtlety**: Use weight, size, and space instead of color and boldness
62
- - **White space**: Increase breathing room, reduce density
63
- - **Borders & lines**: Reduce thickness, decrease opacity, or remove entirely
64
-
65
- ### Simplification
66
- - **Remove decorative elements**: Gradients, shadows, patterns, textures that don't serve purpose
67
- - **Simplify shapes**: Reduce border radius extremes, simplify custom shapes
68
- - **Reduce layering**: Flatten visual hierarchy where possible
69
- - **Clean up effects**: Reduce or remove blur effects, glows, multiple shadows
70
-
71
- ### Motion Reduction
72
- - **Reduce animation intensity**: Shorter distances (10-20px instead of 40px), gentler easing
73
- - **Remove decorative animations**: Keep functional motion, remove flourishes
74
- - **Subtle micro-interactions**: Replace dramatic effects with gentle feedback
75
- - **Refined easing**: Use ease-out-quart for smooth, understated motion. Never bounce or elastic
76
- - **Remove animations entirely** if they're not serving a clear purpose
77
-
78
- ### Composition Refinement
79
- - **Reduce scale jumps**: Smaller contrast between sizes creates calmer feeling
80
- - **Align to grid**: Bring rogue elements back into systematic alignment
81
- - **Even out spacing**: Replace extreme spacing variations with consistent rhythm
82
-
83
- **Avoid**:
84
- - Make everything the same size/weight (hierarchy still matters)
85
- - Remove all color (quiet ≠ grayscale)
86
- - Eliminate all personality (maintain character through refinement)
87
- - Sacrifice usability for aesthetics (functional elements still need clear affordances)
88
- - Make everything small and light (some anchors needed)
89
-
90
- ## Verify Quality
91
-
92
- Ensure refinement maintains quality:
93
-
94
- - **Still functional**: Can users still accomplish tasks easily?
95
- - **Still distinctive**: Does it have character, or is it generic now?
96
- - **Better reading**: Is text easier to read for extended periods?
97
- - **Restrained, not absent**: Does the POV survive the cuts?
98
-
99
- When the result feels right, hand off to `/impeccable polish` for the final pass.
1
+ Quiet design is harder than bold design. Subtlety needs precision. Reduce visual intensity in designs that are too loud, aggressive, or overstimulating without losing personality or making the result generic.
2
+
3
+ ---
4
+
5
+ ## Visitor mode
6
+
7
+ Persuade + Experience: "quieter" means more restrained palette, more whitespace, more typographic air. Drama is reduced, not eliminated; the POV stays intact.
8
+
9
+ Operate + Read: "quieter" means reducing visual noise. Fewer background accents, flatter cards, less color, less motion. The tool should disappear more completely into the task.
10
+
11
+ ---
12
+
13
+ ## Assess Current State
14
+
15
+ Analyze what makes the design feel too intense:
16
+
17
+ 1. **Identify intensity sources**:
18
+ - **Color saturation**: Overly bright or saturated colors
19
+ - **Contrast extremes**: Too much high-contrast juxtaposition
20
+ - **Visual weight**: Too many bold, heavy elements competing
21
+ - **Animation excess**: Too much motion or overly dramatic effects
22
+ - **Complexity**: Too many visual elements, patterns, or decorations
23
+ - **Scale**: Everything is large and loud with no hierarchy
24
+
25
+ 2. **Understand the context**:
26
+ - What's the purpose? (Marketing vs tool vs reading experience)
27
+ - Who's the audience? (Some contexts need energy)
28
+ - What's working? (Don't throw away good ideas)
29
+ - What's the core message? (Preserve what matters)
30
+
31
+ If any of these are unclear from the codebase, do not guess. Ask the user directly to clarify what you cannot infer.
32
+
33
+ "Quieter" means refined and easier on the eyes, not generic. Generic quiet looks like gray text on white, one sans at a uniform weight, and a grid of identical cards; restraint still needs a point of view.
34
+
35
+ ## Plan Refinement
36
+
37
+ Create a strategy to reduce intensity while maintaining impact:
38
+
39
+ - **Color approach**: Desaturate or shift to more restrained tones?
40
+ - **Hierarchy approach**: Which elements should stay bold (very few), which should recede?
41
+ - **Simplification approach**: What can be removed entirely?
42
+ - **Sophistication approach**: How can we signal quality through restraint?
43
+
44
+ Subtlety requires precision. Quiet without intent collapses to generic.
45
+
46
+ ## Refine the Design
47
+
48
+ Systematically reduce intensity across these dimensions:
49
+
50
+ ### Color Refinement
51
+ - **Reduce saturation**: Shift from fully saturated to 70-85% saturation
52
+ - **Soften palette**: Replace bright colors with muted tones
53
+ - **Reduce color variety**: Use fewer colors more thoughtfully
54
+ - **Neutral dominance**: Let neutrals do more work, use color as accent (10% rule)
55
+ - **Gentler contrasts**: High contrast only where it matters most
56
+ - **Tinted grays**: Use warm or cool tinted grays instead of pure gray. Adds depth without loudness
57
+ - **Never gray on color**: If you have gray text on a colored background, use a darker shade of that color or transparency instead
58
+
59
+ ### Visual Weight Reduction
60
+ - **Typography**: Reduce font weights (900 → 600, 700 → 500), decrease sizes where appropriate
61
+ - **Hierarchy through subtlety**: Use weight, size, and space instead of color and boldness
62
+ - **White space**: Increase breathing room, reduce density
63
+ - **Borders & lines**: Reduce thickness, decrease opacity, or remove entirely
64
+
65
+ ### Simplification
66
+ - **Remove decorative elements**: Gradients, shadows, patterns, textures that don't serve purpose
67
+ - **Simplify shapes**: Reduce border radius extremes, simplify custom shapes
68
+ - **Reduce layering**: Flatten visual hierarchy where possible
69
+ - **Clean up effects**: Reduce or remove blur effects, glows, multiple shadows
70
+
71
+ ### Motion Reduction
72
+ - **Reduce animation intensity**: Shorter distances (10-20px instead of 40px), gentler easing
73
+ - **Remove decorative animations**: Keep functional motion, remove flourishes
74
+ - **Subtle micro-interactions**: Replace dramatic effects with gentle feedback
75
+ - **Refined easing**: Use ease-out-quart for smooth, understated motion. Never bounce or elastic
76
+ - **Remove animations entirely** if they're not serving a clear purpose
77
+
78
+ ### Composition Refinement
79
+ - **Reduce scale jumps**: Smaller contrast between sizes creates calmer feeling
80
+ - **Align to grid**: Bring rogue elements back into systematic alignment
81
+ - **Even out spacing**: Replace extreme spacing variations with consistent rhythm
82
+
83
+ **Avoid**:
84
+ - Make everything the same size/weight (hierarchy still matters)
85
+ - Remove all color (quiet ≠ grayscale)
86
+ - Eliminate all personality (maintain character through refinement)
87
+ - Sacrifice usability for aesthetics (functional elements still need clear affordances)
88
+ - Make everything small and light (some anchors needed)
89
+
90
+ ## Verify Quality
91
+
92
+ Ensure refinement maintains quality:
93
+
94
+ - **Still functional**: Can users still accomplish tasks easily?
95
+ - **Still distinctive**: Does it have character, or is it generic now?
96
+ - **Better reading**: Is text easier to read for extended periods?
97
+ - **Restrained, not absent**: Does the POV survive the cuts?
98
+
99
+ When the result feels right, hand off to `/impeccable polish` for the final pass.
@@ -1,26 +1,26 @@
1
- # Region map
2
-
3
- A region map names what is actually visible in the approved comp before asset production. It is not a page build or an asset approval.
4
-
5
- 1. Run `.pi/skills/impeccable/scripts/impeccable comp-spec --comp <comp.png> --grid` and open the original and gridded images.
6
- 2. Run `.pi/skills/impeccable/scripts/impeccable comp-spec --schema` for the JSON fields. Write `regions.json` with a `regions` array. Each region needs a stable `id`, `kind`, `note`, and exactly one of `pixelBox`, normalized `box`, or `grid`. Use the original comp’s dimensions.
7
- 3. Run `.pi/skills/impeccable/scripts/impeccable comp-spec --comp <comp.png> --regions regions.json --inspect-map`. The output points to a report, overlay, exact crops and `COMPARE` sheets of masked references. The default prints findings; `--json` prints the entire report, with sheet paths in `comparisonSheets`.
8
- 4. Open the comparison sheets first to inspect affected crops together, then open individual crops where more detail is needed. Compare their bounds with the original. Inspect excluded foreground pixels as well as geometry errors. Every overlapping non-container code box is masked in full, including empty space inside it. Bound separate text elements separately so artwork in the gaps stays visible; a container describes their layout extent and never replaces its children. Correct the map and inspect again; use a new output directory each time. Zero errors does not certify crop accuracy. Coverage warnings are hints, not proof of completeness.
9
-
10
- If the request ends at mapping, stop with the map, inspection report and unresolved findings. To continue a build, measure the inspected map with `comp-spec --comp <comp.png> --regions regions.json` and follow [new-work.md](new-work.md).
11
-
12
- `--auto` produces horizontal band scaffolding, not element identification. It is optional and does not replace authoring a map.
13
-
14
- ## Containment
15
-
16
- `parentId` identifies an enclosing `container: true` region. Parent and children keep separate IDs and crops. Containment never transfers approval.
17
-
18
- ## What varies independently
19
-
20
- Split regions by what varies independently: content the site swaps (room photos, products, people), moving parts (anything a hover or the signature interaction moves), and structure (frames, surrounds, ornament). A window with open shutters onto a room is three kinds of region: the surround as a plate with a transparent opening, the room as an image region beneath it, and each shutter as its own plate. Overlapping regions are composited in the page. `comp-spec` flags a raster region whose note names a frame and the view it opens onto (`baked-composite`), and the plan and asset review shows it to the user first.
21
-
22
- ## Painted material
23
-
24
- When measuring, `comp-spec` flags a `text`, `control` or `chrome` region, containers included, whose crop looks painted (`painted-pixels`: many colours, soft gradients) and lists it in its summary. The plan and asset review shows flagged regions, and those marked `codeDrawn` (painted material you chose to draw in code), to the user first. Do not leave the catch to them: if a region is painted material (a figure, a photograph, a metal or paper surface), classify it `plate`, `image` or `texture` now.
25
-
26
- Comp crops are reference evidence only, never production assets. The map inspector marks its PNGs as comp-derived.
1
+ # Region map
2
+
3
+ A region map names what is actually visible in the approved comp before asset production. It is not a page build or an asset approval.
4
+
5
+ 1. Run `.pi/skills/impeccable/scripts/impeccable comp-spec --comp <comp.png> --grid` and open the original and gridded images.
6
+ 2. Run `.pi/skills/impeccable/scripts/impeccable comp-spec --schema` for the JSON fields. Write `regions.json` with a `regions` array. Each region needs a stable `id`, `kind`, `note`, and exactly one of `pixelBox`, normalized `box`, or `grid`. Use the original comp’s dimensions.
7
+ 3. Run `.pi/skills/impeccable/scripts/impeccable comp-spec --comp <comp.png> --regions regions.json --inspect-map`. The output points to a report, overlay, exact crops and `COMPARE` sheets of masked references. The default prints findings; `--json` prints the entire report, with sheet paths in `comparisonSheets`.
8
+ 4. Open the comparison sheets first to inspect affected crops together, then open individual crops where more detail is needed. Compare their bounds with the original. Inspect excluded foreground pixels as well as geometry errors. Every overlapping non-container code box is masked in full, including empty space inside it. Bound separate text elements separately so artwork in the gaps stays visible; a container describes their layout extent and never replaces its children. Correct the map and inspect again; use a new output directory each time. Zero errors does not certify crop accuracy. Coverage warnings are hints, not proof of completeness.
9
+
10
+ If the request ends at mapping, stop with the map, inspection report and unresolved findings. To continue a build, measure the inspected map with `comp-spec --comp <comp.png> --regions regions.json` and follow [new-work.md](new-work.md).
11
+
12
+ `--auto` produces horizontal band scaffolding, not element identification. It is optional and does not replace authoring a map.
13
+
14
+ ## Containment
15
+
16
+ `parentId` identifies an enclosing `container: true` region. Parent and children keep separate IDs and crops. Containment never transfers approval.
17
+
18
+ ## What varies independently
19
+
20
+ Split regions by what varies independently: content the site swaps (room photos, products, people), moving parts (anything a hover or the signature interaction moves), and structure (frames, surrounds, ornament). A window with open shutters onto a room is three kinds of region: the surround as a plate with a transparent opening, the room as an image region beneath it, and each shutter as its own plate. Overlapping regions are composited in the page. `comp-spec` flags a raster region whose note names a frame and the view it opens onto (`baked-composite`), and the plan and asset review shows it to the user first.
21
+
22
+ ## Painted material
23
+
24
+ When measuring, `comp-spec` flags a `text`, `control` or `chrome` region, containers included, whose crop looks painted (`painted-pixels`: many colours, soft gradients) and lists it in its summary. The plan and asset review shows flagged regions, and those marked `codeDrawn` (painted material you chose to draw in code), to the user first. Do not leave the catch to them: if a region is painted material (a figure, a photograph, a metal or paper surface), classify it `plate`, `image` or `texture` now.
25
+
26
+ Comp crops are reference evidence only, never production assets. The map inspector marks its PNGs as comp-derived.
@@ -1,24 +1,24 @@
1
- # Command guidance
2
-
3
- ## Workflow questions
4
-
5
- Give advice without executing commands; the menu below is only for bare invocations. Consult relevant command references as needed for prerequisites and scope. Link to the [docs](https://impeccable.style/docs/) for the broader workflow guide. If the user also requests execution, follow that request.
6
-
7
- ## No-argument routing: the context-aware menu
8
-
9
- Read this when the user invokes `/impeccable` with no argument. They are asking "what should I do?" Make the menu context-aware instead of static.
10
-
11
- Setup has already run `impeccable context`. If that reported `NO_PRODUCT_MD`, the project has no captured context yet: lead the menu with `/impeccable init` as the top recommendation (one line on why) and still show the rest below; don't silently jump into init. Otherwise run `.pi/skills/impeccable/scripts/impeccable signals` once and read its JSON, then lead with the **2-3 highest-value next commands**, each with a one-line reason pulled from the signals, followed by the full menu (the Commands table in SKILL.md, grouped by category). **Never auto-run a command; the recommendation is a suggestion the user confirms.**
12
-
13
- Reason over the signals; there is no score to obey:
14
-
15
- - `setup.hasDesign` false while `setup.hasCode` true → `document` (capture the visual system).
16
- - `critique.latest` is `null` → the project has never been critiqued; for a set-up project with a real surface, offering `/impeccable critique <surface>` is a strong default.
17
- - `critique.latest` with a low `score` or non-zero `p0` / `p1` → `polish` (it reads that snapshot as its backlog and closes it when stale or cleared).
18
- - `git.changedFiles` pointing at one surface → scope `audit` or `polish` to those files specifically, naming them.
19
- - `devServer.running` true → `live` is available for in-browser iteration, and `generate` for one-shot variant runs on a named element; if false, don't lead with either. **`live`, `generate`, and the bundled `impeccable detect` are web-only.** If `setup.platform` is `ios`, `android`, or `adaptive`, don't lead with any of them; the browser overlay and the HTML rule engine don't apply to native app code.
20
- - Otherwise group by intent (build new / improve what's there / iterate visually), tailored to the current surface and `setup.platform`.
21
-
22
- **If `scan.targets` is non-empty and `setup.platform` is not `ios`/`android`/`adaptive`, run `.pi/skills/impeccable/scripts/impeccable detect --json <scan.targets joined by spaces>` once** (the bundled detector over local files: no network, no npx; it reads HTML/CSS, so skip it for native projects). `scan.via` tells you what they are: `git-changes` (the markup/style files in your dirty tree, the most relevant set), `source-dir` (e.g. `src`, `app`), `html`, or `root`. Fold the hits into your picks: many quality / contrast hits → `audit` or `polish`; a specific slop family → the matching command (gradient text or eyebrows → `quieter` / `typeset`, flat or gray palette → `colorize`, and so on). It's a real, current signal that beats guessing. If detect errors or the tree is large and slow, skip it and recommend the user run `audit` themselves; never block the suggestion on it.
23
-
24
- Keep it to 2-3 pointed picks with the exact command to type. The menu stays the fallback; the recommendation is the lede.
1
+ # Command guidance
2
+
3
+ ## Workflow questions
4
+
5
+ Give advice without executing commands; the menu below is only for bare invocations. Consult relevant command references as needed for prerequisites and scope. Link to the [docs](https://impeccable.style/docs/) for the broader workflow guide. If the user also requests execution, follow that request.
6
+
7
+ ## No-argument routing: the context-aware menu
8
+
9
+ Read this when the user invokes `/impeccable` with no argument. They are asking "what should I do?" Make the menu context-aware instead of static.
10
+
11
+ Setup has already run `impeccable context`. If that reported `NO_PRODUCT_MD`, the project has no captured context yet: lead the menu with `/impeccable init` as the top recommendation (one line on why) and still show the rest below; don't silently jump into init. Otherwise run `.pi/skills/impeccable/scripts/impeccable signals` once and read its JSON, then lead with the **2-3 highest-value next commands**, each with a one-line reason pulled from the signals, followed by the full menu (the Commands table in SKILL.md, grouped by category). **Never auto-run a command; the recommendation is a suggestion the user confirms.**
12
+
13
+ Reason over the signals; there is no score to obey:
14
+
15
+ - `setup.hasDesign` false while `setup.hasCode` true → `document` (capture the visual system).
16
+ - `critique.latest` is `null` → the project has never been critiqued; for a set-up project with a real surface, offering `/impeccable critique <surface>` is a strong default.
17
+ - `critique.latest` with a low `score` or non-zero `p0` / `p1` → `polish` (it reads that snapshot as its backlog and closes it when stale or cleared).
18
+ - `git.changedFiles` pointing at one surface → scope `audit` or `polish` to those files specifically, naming them.
19
+ - `devServer.running` true → `live` is available for in-browser iteration, and `generate` for one-shot variant runs on a named element; if false, don't lead with either. **`live`, `generate`, and the bundled `impeccable detect` are web-only.** If `setup.platform` is `ios`, `android`, or `adaptive`, don't lead with any of them; the browser overlay and the HTML rule engine don't apply to native app code.
20
+ - Otherwise group by intent (build new / improve what's there / iterate visually), tailored to the current surface and `setup.platform`.
21
+
22
+ **If `scan.targets` is non-empty and `setup.platform` is not `ios`/`android`/`adaptive`, run `.pi/skills/impeccable/scripts/impeccable detect --json <scan.targets joined by spaces>` once** (the bundled detector over local files: no network, no npx; it reads HTML/CSS, so skip it for native projects). `scan.via` tells you what they are: `git-changes` (the markup/style files in your dirty tree, the most relevant set), `source-dir` (e.g. `src`, `app`), `html`, or `root`. Fold the hits into your picks: many quality / contrast hits → `audit` or `polish`; a specific slop family → the matching command (gradient text or eyebrows → `quieter` / `typeset`, flat or gray palette → `colorize`, and so on). It's a real, current signal that beats guessing. If detect errors or the tree is large and slow, skip it and recommend the user run `audit` themselves; never block the suggestion on it.
23
+
24
+ Keep it to 2-3 pointed picks with the exact command to type. The menu stays the fallback; the recommendation is the lede.
@@ -1,59 +1,59 @@
1
- # Shape
2
-
3
- Discover what should be made and how it should work, then return a confirmed design brief without code.
4
-
5
- ## Phase 1: Discovery interview
6
-
7
- Do not write code or choose visual direction yet.
8
-
9
- ### Cadence
10
-
11
- - Use the structured question tool when available; otherwise ask and stop.
12
- - Ask two or three related questions per round, then wait. One round is the default; add a second only when the answers expose a material gap.
13
- - Do not dump a questionnaire, repeat settled facts, or turn obvious facts into menus. Assert the likely reading and invite correction.
14
- - A sparse prompt requires at least one answer round. A precise prompt may need only a compact confirmation.
15
-
16
- ### Round 1: purpose, people, and outcome
17
-
18
- Choose the two or three questions that most change the result:
19
-
20
- - What is this surface or feature for, and what problem must it solve?
21
- - Who specifically reaches it, in what situation and state of mind?
22
- - What is the primary thing they must understand or do? What would success look like?
23
- - What is uniquely true here that a neighboring product or generic template could not claim?
24
-
25
- ### Round 2: material, behavior, and boundaries
26
-
27
- Run only for material unresolved decisions:
28
-
29
- - What real content, evidence, data, and assets must the experience carry? What are realistic minimum, typical, and maximum ranges?
30
- - Which states and transitions matter: first-run, empty, loading, error, success, permissions, overflow, or expert use?
31
- - What is the intended fidelity, breadth, and interactivity: exploration, production-ready screen, full flow, or broader surface?
32
- - What must remain untouched? What would make the result feel wrong even if it looked polished?
33
- - Which platform, framework, performance, accessibility, localization, or delivery constraints are binding?
34
-
35
- Never ask for CSS values or canned aesthetic lanes. New-work owns visual-world and concept choices.
36
-
37
- ## Phase 2: Resolve the design direction
38
-
39
- For new surfaces, brand expansion, or replacement, follow [new-work.md](new-work.md) through visual authority, any world workshop, and concept choice. Reuse discovery, then return before its contract, persistence, or implementation. Inside an established world, use its concept process only when composition or interaction remains materially open.
40
-
41
- ## Phase 3: Write the brief
42
-
43
- Write the smallest useful brief:
44
-
45
- 1. **Job and audience:** who arrives, their context, need, and visitor mode.
46
- 2. **Outcome and proof:** primary task/action, success, real evidence, and product-specific truth.
47
- 3. **Selected direction:** visual authority, structural/interaction thesis, sequence, focal moment, and implementation consequence.
48
- 4. **Scope and boundaries:** fidelity, breadth, interactivity, named target, what remains untouched, and explicit anti-goals.
49
- 5. **States and ranges:** realistic content/data ranges and material states.
50
- 6. **Interaction and layout:** hierarchy, topology, responsiveness, affordances, feedback, and transitions; intent, not CSS.
51
- 7. **Constraints and open decisions:** platform, delivery, accessibility, localization, reusable components, and choices a builder must not invent.
52
-
53
- Use three to five bullets when the task is settled; use the full structure only for ambiguous, multi-screen, or standalone planning. Do not restate the conversation.
54
-
55
- ## Confirm and stop
56
-
57
- Present the brief for explicit confirmation or one correction round, then stop: shape never writes code or a direction contract.
58
-
59
- When no human or structured answer mechanism exists, mark assumptions plainly, return the brief, and stop.
1
+ # Shape
2
+
3
+ Discover what should be made and how it should work, then return a confirmed design brief without code.
4
+
5
+ ## Phase 1: Discovery interview
6
+
7
+ Do not write code or choose visual direction yet.
8
+
9
+ ### Cadence
10
+
11
+ - Use the structured question tool when available; otherwise ask and stop.
12
+ - Ask two or three related questions per round, then wait. One round is the default; add a second only when the answers expose a material gap.
13
+ - Do not dump a questionnaire, repeat settled facts, or turn obvious facts into menus. Assert the likely reading and invite correction.
14
+ - A sparse prompt requires at least one answer round. A precise prompt may need only a compact confirmation.
15
+
16
+ ### Round 1: purpose, people, and outcome
17
+
18
+ Choose the two or three questions that most change the result:
19
+
20
+ - What is this surface or feature for, and what problem must it solve?
21
+ - Who specifically reaches it, in what situation and state of mind?
22
+ - What is the primary thing they must understand or do? What would success look like?
23
+ - What is uniquely true here that a neighboring product or generic template could not claim?
24
+
25
+ ### Round 2: material, behavior, and boundaries
26
+
27
+ Run only for material unresolved decisions:
28
+
29
+ - What real content, evidence, data, and assets must the experience carry? What are realistic minimum, typical, and maximum ranges?
30
+ - Which states and transitions matter: first-run, empty, loading, error, success, permissions, overflow, or expert use?
31
+ - What is the intended fidelity, breadth, and interactivity: exploration, production-ready screen, full flow, or broader surface?
32
+ - What must remain untouched? What would make the result feel wrong even if it looked polished?
33
+ - Which platform, framework, performance, accessibility, localization, or delivery constraints are binding?
34
+
35
+ Never ask for CSS values or canned aesthetic lanes. New-work owns visual-world and concept choices.
36
+
37
+ ## Phase 2: Resolve the design direction
38
+
39
+ For new surfaces, brand expansion, or replacement, follow [new-work.md](new-work.md) through visual authority, any world workshop, and concept choice. Reuse discovery, then return before its contract, persistence, or implementation. Inside an established world, use its concept process only when composition or interaction remains materially open.
40
+
41
+ ## Phase 3: Write the brief
42
+
43
+ Write the smallest useful brief:
44
+
45
+ 1. **Job and audience:** who arrives, their context, need, and visitor mode.
46
+ 2. **Outcome and proof:** primary task/action, success, real evidence, and product-specific truth.
47
+ 3. **Selected direction:** visual authority, structural/interaction thesis, sequence, focal moment, and implementation consequence.
48
+ 4. **Scope and boundaries:** fidelity, breadth, interactivity, named target, what remains untouched, and explicit anti-goals.
49
+ 5. **States and ranges:** realistic content/data ranges and material states.
50
+ 6. **Interaction and layout:** hierarchy, topology, responsiveness, affordances, feedback, and transitions; intent, not CSS.
51
+ 7. **Constraints and open decisions:** platform, delivery, accessibility, localization, reusable components, and choices a builder must not invent.
52
+
53
+ Use three to five bullets when the task is settled; use the full structure only for ambiguous, multi-screen, or standalone planning. Do not restate the conversation.
54
+
55
+ ## Confirm and stop
56
+
57
+ Present the brief for explicit confirmation or one correction round, then stop: shape never writes code or a direction contract.
58
+
59
+ When no human or structured answer mechanism exists, mark assumptions plainly, return the brief, and stop.
@@ -1,90 +1,90 @@
1
- Typography carries information, hierarchy, and voice. Improve it inside the established visual world; do not replace the identity unless the user asked to.
2
-
3
- ---
4
-
5
- ## Visitor mode
6
-
7
- - **Persuade + Experience:** display type may carry the voice. Use decisive contrast and responsive scale when the composition benefits.
8
- - **Operate + Read:** stability, scanability, and measure come first. A single well-tuned family and fixed role scale are often right.
9
- - **Native:** follow [ios.md](ios.md) or [android.md](android.md), including platform scaling and accessibility behavior.
10
-
11
- If typography replacement would create a new identity, route through [new-work.md](new-work.md) and update DESIGN.md. Otherwise preserve confirmed families and improve their use.
12
-
13
- ## Two isolated assessments
14
-
15
- When a sub-agent tool is available and permitted, run these independently; otherwise run them yourself in this order. Do not let detector findings anchor the design assessment.
16
-
17
- 1. **Typographic assessment:** inspect representative pages and styles. Answer every question below with a file, selector, or computed value:
18
- - **Authority and fit:** Which faces, weights, and roles are established? Do they fit the product and selected world, or are they unexamined defaults? Is every family necessary?
19
- - **Hierarchy:** Can heading, body, label, metadata, and data roles be distinguished at a glance? Are adjacent sizes or weights too close to carry different jobs?
20
- - **Scale and consistency:** Is there a deliberate role scale, or a collection of arbitrary values? Do repeated roles stay identical across screens and states?
21
- - **Reading:** Does body copy stay within a comfortable 45–75 character measure? Are line height, paragraph rhythm, contrast, and tracking tuned to the actual face, width, language, and surface?
22
- - **Stress:** What happens with long headings, localization expansion, zoom, narrow containers, missing weights, and font fallback?
23
- - **Delivery:** Are only used assets loaded? Do fallback metrics, loading strategy, and variable-font settings avoid invisible text and disruptive reflow?
24
- 2. **Mechanical scan:** run:
25
-
26
- ```bash
27
- .pi/skills/impeccable/scripts/impeccable detect --json --scope type [target files or dirs]
28
- ```
29
-
30
- Also inspect dynamic or arbitrary font values the detector cannot interpret. Synthesize both assessments before editing, noting what each caught alone. A clean scan is a floor, not proof of good typography.
31
-
32
- ## Set the system
33
-
34
- Before editing, state:
35
-
36
- - the roles the interface needs;
37
- - the intended contrast between those roles;
38
- - the reading measure and density;
39
- - which existing faces and weights are authoritative;
40
- - any performance, localization, or accessibility constraints.
41
-
42
- Use the fewest roles and families that make the hierarchy unmistakable. Combine size, weight, space, and tone deliberately instead of asking size alone to do all the work. Role names and tokens should describe purpose rather than values.
43
-
44
- ## Apply
45
-
46
- - Keep body copy comfortably readable and zoomable. Use 1rem / 16px as the ordinary web body floor unless a dense role, platform convention, or user setting justifies otherwise.
47
- - Keep prose in the 45–75ch range. Tune line height inversely with measure: wider lines generally need more leading.
48
- - Compensate light text on dark surfaces on all three perceptual axes: slightly more line height, a touch more tracking, and one step more weight when the face needs it.
49
- - Tune line height to the face, width, language, and contrast, not a universal ratio.
50
- - Keep repeated roles consistent across screens and states.
51
- - Use numeric, tabular, code, and label features when their content benefits.
52
- - Load only used font assets and weights. Provide metric-compatible fallbacks and avoid blocking text.
53
- - Let marketing display type respond to available space when useful; keep dense product and reading surfaces spatially predictable.
54
- - Preserve browser zoom, user font settings, Dynamic Type, and platform text scaling.
55
- - Use paragraph spacing or first-line indentation as the primary paragraph rhythm; combining both usually double-marks the boundary.
56
-
57
- Do not make type decorative at the expense of comprehension, or introduce a second family without a clear role it alone can perform.
58
-
59
- ## Line breaks
60
-
61
- After Matthew Butterick's *Practical Typography*, paraphrased; where his numbers differ from these, these stand.
62
-
63
- - Set `text-wrap: balance` on headings and short centered blocks, and `text-wrap: pretty` on body copy. Both are progressive: a browser that ignores them keeps its default wrap.
64
- - `pretty` pulls a word down beside a lone last word. It does not fill the last line, and a two-word tail is fine.
65
- - In a column too narrow for either to help, edit the copy or widen the column.
66
- - Break a heading by hand only between phrases, and check the break at every width the heading renders at. A hard break that lands mid-line on a phone is worse than the default wrap.
67
- - An uneven break can carry meaning: a headline that lands on one word for weight, a poster line, a pull quote. Make it deliberate with a hard break or a wrap set on that element, and keep it rare. The detector's `straggler` and `unbalanced-heading` findings are advisory for this reason; say which breaks are intended.
68
-
69
- ## Verify
70
-
71
- - Primary, secondary, body, and metadata roles are recognizable without reading the copy.
72
- - Long text remains comfortable across relevant widths and languages.
73
- - The typography belongs to the product and its established world.
74
- - Loading does not create disruptive reflow or invisible text.
75
- - Zoom, text scaling, focus, contrast, and reduced viewport paths remain usable.
76
- - The final mechanical scan has no unexplained findings.
77
-
78
- Answer each item with rendered or source evidence, then rerun the scan. Do not substitute a bare “yes” for verification.
79
-
80
- When the hierarchy holds, hand off to `/impeccable polish`.
81
-
82
- ## Live-mode signature params
83
-
84
- Every variant declares a coarse `scale` parameter and authors its type ramp against `var(--p-scale, 1)`.
85
-
86
- ```json
87
- {"id":"scale","kind":"range","min":0.85,"max":1.3,"step":0.05,"default":1,"label":"Scale"}
88
- ```
89
-
90
- Add at most one pairing or weight parameter when it represents a real system choice. Follow [live.md](live.md)'s parameter contract.
1
+ Typography carries information, hierarchy, and voice. Improve it inside the established visual world; do not replace the identity unless the user asked to.
2
+
3
+ ---
4
+
5
+ ## Visitor mode
6
+
7
+ - **Persuade + Experience:** display type may carry the voice. Use decisive contrast and responsive scale when the composition benefits.
8
+ - **Operate + Read:** stability, scanability, and measure come first. A single well-tuned family and fixed role scale are often right.
9
+ - **Native:** follow [ios.md](ios.md) or [android.md](android.md), including platform scaling and accessibility behavior.
10
+
11
+ If typography replacement would create a new identity, route through [new-work.md](new-work.md) and update DESIGN.md. Otherwise preserve confirmed families and improve their use.
12
+
13
+ ## Two isolated assessments
14
+
15
+ When a sub-agent tool is available and permitted, run these independently; otherwise run them yourself in this order. Do not let detector findings anchor the design assessment.
16
+
17
+ 1. **Typographic assessment:** inspect representative pages and styles. Answer every question below with a file, selector, or computed value:
18
+ - **Authority and fit:** Which faces, weights, and roles are established? Do they fit the product and selected world, or are they unexamined defaults? Is every family necessary?
19
+ - **Hierarchy:** Can heading, body, label, metadata, and data roles be distinguished at a glance? Are adjacent sizes or weights too close to carry different jobs?
20
+ - **Scale and consistency:** Is there a deliberate role scale, or a collection of arbitrary values? Do repeated roles stay identical across screens and states?
21
+ - **Reading:** Does body copy stay within a comfortable 45–75 character measure? Are line height, paragraph rhythm, contrast, and tracking tuned to the actual face, width, language, and surface?
22
+ - **Stress:** What happens with long headings, localization expansion, zoom, narrow containers, missing weights, and font fallback?
23
+ - **Delivery:** Are only used assets loaded? Do fallback metrics, loading strategy, and variable-font settings avoid invisible text and disruptive reflow?
24
+ 2. **Mechanical scan:** run:
25
+
26
+ ```bash
27
+ .pi/skills/impeccable/scripts/impeccable detect --json --scope type [target files or dirs]
28
+ ```
29
+
30
+ Also inspect dynamic or arbitrary font values the detector cannot interpret. Synthesize both assessments before editing, noting what each caught alone. A clean scan is a floor, not proof of good typography.
31
+
32
+ ## Set the system
33
+
34
+ Before editing, state:
35
+
36
+ - the roles the interface needs;
37
+ - the intended contrast between those roles;
38
+ - the reading measure and density;
39
+ - which existing faces and weights are authoritative;
40
+ - any performance, localization, or accessibility constraints.
41
+
42
+ Use the fewest roles and families that make the hierarchy unmistakable. Combine size, weight, space, and tone deliberately instead of asking size alone to do all the work. Role names and tokens should describe purpose rather than values.
43
+
44
+ ## Apply
45
+
46
+ - Keep body copy comfortably readable and zoomable. Use 1rem / 16px as the ordinary web body floor unless a dense role, platform convention, or user setting justifies otherwise.
47
+ - Keep prose in the 45–75ch range. Tune line height inversely with measure: wider lines generally need more leading.
48
+ - Compensate light text on dark surfaces on all three perceptual axes: slightly more line height, a touch more tracking, and one step more weight when the face needs it.
49
+ - Tune line height to the face, width, language, and contrast, not a universal ratio.
50
+ - Keep repeated roles consistent across screens and states.
51
+ - Use numeric, tabular, code, and label features when their content benefits.
52
+ - Load only used font assets and weights. Provide metric-compatible fallbacks and avoid blocking text.
53
+ - Let marketing display type respond to available space when useful; keep dense product and reading surfaces spatially predictable.
54
+ - Preserve browser zoom, user font settings, Dynamic Type, and platform text scaling.
55
+ - Use paragraph spacing or first-line indentation as the primary paragraph rhythm; combining both usually double-marks the boundary.
56
+
57
+ Do not make type decorative at the expense of comprehension, or introduce a second family without a clear role it alone can perform.
58
+
59
+ ## Line breaks
60
+
61
+ After Matthew Butterick's *Practical Typography*, paraphrased; where his numbers differ from these, these stand.
62
+
63
+ - Set `text-wrap: balance` on headings and short centered blocks, and `text-wrap: pretty` on body copy. Both are progressive: a browser that ignores them keeps its default wrap.
64
+ - `pretty` pulls a word down beside a lone last word. It does not fill the last line, and a two-word tail is fine.
65
+ - In a column too narrow for either to help, edit the copy or widen the column.
66
+ - Break a heading by hand only between phrases, and check the break at every width the heading renders at. A hard break that lands mid-line on a phone is worse than the default wrap.
67
+ - An uneven break can carry meaning: a headline that lands on one word for weight, a poster line, a pull quote. Make it deliberate with a hard break or a wrap set on that element, and keep it rare. The detector's `straggler` and `unbalanced-heading` findings are advisory for this reason; say which breaks are intended.
68
+
69
+ ## Verify
70
+
71
+ - Primary, secondary, body, and metadata roles are recognizable without reading the copy.
72
+ - Long text remains comfortable across relevant widths and languages.
73
+ - The typography belongs to the product and its established world.
74
+ - Loading does not create disruptive reflow or invisible text.
75
+ - Zoom, text scaling, focus, contrast, and reduced viewport paths remain usable.
76
+ - The final mechanical scan has no unexplained findings.
77
+
78
+ Answer each item with rendered or source evidence, then rerun the scan. Do not substitute a bare “yes” for verification.
79
+
80
+ When the hierarchy holds, hand off to `/impeccable polish`.
81
+
82
+ ## Live-mode signature params
83
+
84
+ Every variant declares a coarse `scale` parameter and authors its type ramp against `var(--p-scale, 1)`.
85
+
86
+ ```json
87
+ {"id":"scale","kind":"range","min":0.85,"max":1.3,"step":0.05,"default":1,"label":"Scale"}
88
+ ```
89
+
90
+ Add at most one pairing or weight parameter when it represents a real system choice. Follow [live.md](live.md)'s parameter contract.