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,70 +1,70 @@
1
- > **Additional context needed**: the brand's emotional range.
2
-
3
- Make the experience memorable at moments that earn it. Delight is not a layer of generic whimsy; it is product character revealed through a useful interaction, a humane response, or an unexpectedly considered detail.
4
-
5
- ---
6
-
7
- ## Visitor mode
8
-
9
- - **Persuade + Experience:** personality may run through voice, composition, motion, and discovery, provided the artifact remains the focus.
10
- - **Operate + Read:** concentrate delight at meaningful moments such as first use, completion, recovery, or mastery. Reliability carries everything else.
11
-
12
- ## Find the opportunity
13
-
14
- Inspect the target, DESIGN.md, product voice, repeated-use frequency, and emotional context. Look for:
15
-
16
- - effort worth acknowledging;
17
- - waiting that can become informative;
18
- - an empty or first-use state that can orient;
19
- - an error or recovery moment that needs empathy;
20
- - an interaction whose physical or verbal response could express the brand;
21
- - a useful capability people might enjoy discovering.
22
-
23
- Do not manufacture a celebration for an ordinary click. Ask only when the brand's emotional range or the stakes cannot be inferred.
24
-
25
- ## Define one delight thesis
26
-
27
- State in one sentence what the user should feel and why that feeling belongs to this product. Then choose the smallest system that can deliver it:
28
-
29
- - a distinctive response to a meaningful action;
30
- - product-specific language that clarifies while carrying voice;
31
- - an interaction or transition with a recognizable material behavior;
32
- - an illustration, sound, haptic, or environmental detail grounded in the product world;
33
- - a discovery reward that reveals real utility.
34
-
35
- Derive the treatment from product mechanism and visual world, not a stock catalog.
36
-
37
- ## Build for the emotional moment
38
-
39
- - **Success:** match the response to the effort and consequence. Major milestones can expand; routine saves should simply feel certain.
40
- - **Waiting:** show truthful progress, useful context, or product-specific activity. Never fake work or delay completion to stage a flourish.
41
- - **Empty and first use:** make the next action clear before adding personality.
42
- - **Error and recovery:** lead with the problem and recovery. Warmth may reduce stress; jokes must not trivialize loss, money, privacy, or blocked work.
43
- - **Repeated interaction:** keep the response satisfying after the hundredth use. Variation is useful only when it remains coherent and predictable enough to trust.
44
- - **Discovery:** reward curiosity without hiding required functionality.
45
-
46
- Copy must use the product's language. Generic whimsy is worse than neutral clarity.
47
-
48
- ## Protect the experience
49
-
50
- Delight must not:
51
-
52
- - delay, block, or obscure the primary task;
53
- - override platform conventions or accessibility;
54
- - add unrequested factual claims;
55
- - play sound without consent or ignore mute settings;
56
- - become mandatory, unskippable, or exhausting on repeat;
57
- - add a dependency or asset cost disproportionate to the moment.
58
-
59
- For authored motion, load [animate.md](animate.md). Respect screen readers, keyboard use, touch, localization, and cultural context. Nonessential loops stop when hidden. Make celebration intensity proportional to frequency and consequence.
60
-
61
- ## Verify
62
-
63
- - The moment is specific enough that a neighboring product could not use it unchanged.
64
- - It improves comprehension, confidence, motivation, or emotional recovery.
65
- - The interface remains fast and obvious without the flourish.
66
- - Repetition does not turn charm into friction.
67
- - Muted, keyboard, touch, and localized paths work.
68
- - The result feels like the selected world, not a generic “delight” treatment.
69
-
70
- When the personality feels earned, hand off to `/impeccable polish` for the final pass.
1
+ > **Additional context needed**: the brand's emotional range.
2
+
3
+ Make the experience memorable at moments that earn it. Delight is not a layer of generic whimsy; it is product character revealed through a useful interaction, a humane response, or an unexpectedly considered detail.
4
+
5
+ ---
6
+
7
+ ## Visitor mode
8
+
9
+ - **Persuade + Experience:** personality may run through voice, composition, motion, and discovery, provided the artifact remains the focus.
10
+ - **Operate + Read:** concentrate delight at meaningful moments such as first use, completion, recovery, or mastery. Reliability carries everything else.
11
+
12
+ ## Find the opportunity
13
+
14
+ Inspect the target, DESIGN.md, product voice, repeated-use frequency, and emotional context. Look for:
15
+
16
+ - effort worth acknowledging;
17
+ - waiting that can become informative;
18
+ - an empty or first-use state that can orient;
19
+ - an error or recovery moment that needs empathy;
20
+ - an interaction whose physical or verbal response could express the brand;
21
+ - a useful capability people might enjoy discovering.
22
+
23
+ Do not manufacture a celebration for an ordinary click. Ask only when the brand's emotional range or the stakes cannot be inferred.
24
+
25
+ ## Define one delight thesis
26
+
27
+ State in one sentence what the user should feel and why that feeling belongs to this product. Then choose the smallest system that can deliver it:
28
+
29
+ - a distinctive response to a meaningful action;
30
+ - product-specific language that clarifies while carrying voice;
31
+ - an interaction or transition with a recognizable material behavior;
32
+ - an illustration, sound, haptic, or environmental detail grounded in the product world;
33
+ - a discovery reward that reveals real utility.
34
+
35
+ Derive the treatment from product mechanism and visual world, not a stock catalog.
36
+
37
+ ## Build for the emotional moment
38
+
39
+ - **Success:** match the response to the effort and consequence. Major milestones can expand; routine saves should simply feel certain.
40
+ - **Waiting:** show truthful progress, useful context, or product-specific activity. Never fake work or delay completion to stage a flourish.
41
+ - **Empty and first use:** make the next action clear before adding personality.
42
+ - **Error and recovery:** lead with the problem and recovery. Warmth may reduce stress; jokes must not trivialize loss, money, privacy, or blocked work.
43
+ - **Repeated interaction:** keep the response satisfying after the hundredth use. Variation is useful only when it remains coherent and predictable enough to trust.
44
+ - **Discovery:** reward curiosity without hiding required functionality.
45
+
46
+ Copy must use the product's language. Generic whimsy is worse than neutral clarity.
47
+
48
+ ## Protect the experience
49
+
50
+ Delight must not:
51
+
52
+ - delay, block, or obscure the primary task;
53
+ - override platform conventions or accessibility;
54
+ - add unrequested factual claims;
55
+ - play sound without consent or ignore mute settings;
56
+ - become mandatory, unskippable, or exhausting on repeat;
57
+ - add a dependency or asset cost disproportionate to the moment.
58
+
59
+ For authored motion, load [animate.md](animate.md). Respect screen readers, keyboard use, touch, localization, and cultural context. Nonessential loops stop when hidden. Make celebration intensity proportional to frequency and consequence.
60
+
61
+ ## Verify
62
+
63
+ - The moment is specific enough that a neighboring product could not use it unchanged.
64
+ - It improves comprehension, confidence, motivation, or emotional recovery.
65
+ - The interface remains fast and obvious without the flourish.
66
+ - Repetition does not turn charm into friction.
67
+ - Muted, keyboard, touch, and localized paths work.
68
+ - The result feels like the selected world, not a generic “delight” treatment.
69
+
70
+ When the personality feels earned, hand off to `/impeccable polish` for the final pass.
@@ -1,111 +1,111 @@
1
- Strip a design to its essence. Remove anything that doesn't earn its place: redundant elements, repeated information, decorative noise, cosmetic complexity.
2
-
3
-
4
- ---
5
-
6
- ## Assess Current State
7
-
8
- Analyze what makes the design feel complex or cluttered:
9
-
10
- 1. **Identify complexity sources**:
11
- - **Too many elements**: Competing buttons, redundant information, visual clutter
12
- - **Excessive variation**: Too many colors, fonts, sizes, styles without purpose
13
- - **Information overload**: Everything visible at once, no progressive disclosure
14
- - **Visual noise**: Unnecessary borders, shadows, backgrounds, decorations
15
- - **Confusing hierarchy**: Unclear what matters most
16
- - **Feature creep**: Too many options, actions, or paths forward
17
-
18
- 2. **Find the essence**:
19
- - What's the primary user goal? (There should be ONE)
20
- - What's actually necessary vs nice-to-have?
21
- - What can be removed, hidden, or combined?
22
- - What's the 20% that delivers 80% of value?
23
-
24
- If any of these are unclear from the codebase, do not guess. Ask the user directly to clarify what you cannot infer.
25
-
26
- Simplicity is not about removing features. It's about removing obstacles between users and their goals. Every element should justify its existence.
27
-
28
- ## Plan Simplification
29
-
30
- Create a ruthless editing strategy:
31
-
32
- - **Core purpose**: What's the ONE thing this should accomplish?
33
- - **Essential elements**: What's truly necessary to achieve that purpose?
34
- - **Progressive disclosure**: What can be hidden until needed?
35
- - **Consolidation opportunities**: What can be combined or integrated?
36
-
37
- Expect to say no to good ideas to make room for great execution.
38
-
39
- ## Simplify the Design
40
-
41
- Systematically remove complexity across these dimensions:
42
-
43
- ### Information Architecture
44
- - **Reduce scope**: Remove secondary actions, redundant information
45
- - **Progressive disclosure**: Hide complexity behind clear entry points (accordions, modals, step-through flows)
46
- - **Combine related actions**: Merge similar buttons, consolidate forms, group related content
47
- - **Clear hierarchy**: ONE primary action, few secondary actions, everything else tertiary or hidden
48
- - **Remove redundancy**: If it's said elsewhere, don't repeat it here
49
-
50
- ### Visual Simplification
51
- - **Reduce color palette**: Use 1-2 colors plus neutrals, not 5-7 colors
52
- - **Limit typography**: One font family, 3-4 sizes maximum, 2-3 weights
53
- - **Remove decorations**: Eliminate borders, shadows, backgrounds that don't serve hierarchy or function
54
- - **Flatten structure**: Reduce nesting, remove unnecessary containers; never nest cards inside cards
55
- - **Remove unnecessary cards**: Cards aren't needed for basic layout; use spacing and alignment instead
56
- - **Consistent spacing**: Use one spacing scale, remove arbitrary gaps
57
-
58
- ### Layout Simplification
59
- - **Linear flow**: Replace complex grids with simple vertical flow where possible
60
- - **Remove sidebars**: Move secondary content inline or hide it
61
- - **Full-width**: Use available space generously instead of complex multi-column layouts
62
- - **Consistent alignment**: Pick left or center, stick with it
63
- - **Generous white space**: Let content breathe, don't pack everything tight
64
-
65
- ### Interaction Simplification
66
- - **Reduce choices**: Fewer buttons, fewer options, clearer path forward (paradox of choice is real)
67
- - **Smart defaults**: Make common choices automatic, only ask when necessary
68
- - **Inline actions**: Replace modal flows with inline editing where possible
69
- - **Remove steps**: Can the flow lose a step?
70
- - **Clear next action**: ONE obvious next action, not five competing ones
71
-
72
- ### Content Simplification
73
- - **Shorter copy**: Cut filler, not meaning
74
- - **Active voice**: "Save changes" not "Changes will be saved"
75
- - **Remove jargon**: Plain language always wins
76
- - **Scannable structure**: Short paragraphs, bullet points, clear headings
77
- - **Essential information only**: Remove marketing fluff, hedging
78
- - **Remove redundant copy**: No headers restating intros, no repeated explanations, say it once
79
-
80
- ### Code Simplification
81
- - **Remove unused code**: Dead CSS, unused components, orphaned files
82
- - **Flatten component trees**: Reduce nesting depth
83
- - **Consolidate styles**: Merge similar styles, use utilities consistently
84
- - **Reduce variants**: Does that component need 12 variations, or can 3 cover 90% of cases?
85
-
86
- **Avoid**:
87
- - Remove necessary functionality (simplicity ≠ feature-less)
88
- - Sacrifice accessibility for simplicity (clear labels and ARIA still required)
89
- - Make things so simple they're unclear (mystery ≠ minimalism)
90
- - Remove information users need to make decisions
91
- - Eliminate hierarchy completely (some things should stand out)
92
- - Oversimplify complex domains (match complexity to actual task complexity)
93
-
94
- ## Verify Simplification
95
-
96
- Ensure simplification improves usability:
97
-
98
- - **Faster task completion**: Can users accomplish goals more quickly?
99
- - **Reduced cognitive load**: Is it easier to understand what to do?
100
- - **Still complete**: Are all necessary features still accessible?
101
- - **Clearer hierarchy**: Is it obvious what matters most?
102
- - **Better performance**: Does simpler design load faster?
103
-
104
- ## Document Removed Complexity
105
-
106
- If you removed features or options:
107
- - Document why they were removed
108
- - Consider if they need alternative access points
109
- - Note any user feedback to monitor
110
-
111
- When the cuts feel right, hand off to `/impeccable polish` for the final pass. As Antoine de Saint-Exupéry put it: "Perfection is achieved not when there is nothing more to add, but when there is nothing left to take away."
1
+ Strip a design to its essence. Remove anything that doesn't earn its place: redundant elements, repeated information, decorative noise, cosmetic complexity.
2
+
3
+
4
+ ---
5
+
6
+ ## Assess Current State
7
+
8
+ Analyze what makes the design feel complex or cluttered:
9
+
10
+ 1. **Identify complexity sources**:
11
+ - **Too many elements**: Competing buttons, redundant information, visual clutter
12
+ - **Excessive variation**: Too many colors, fonts, sizes, styles without purpose
13
+ - **Information overload**: Everything visible at once, no progressive disclosure
14
+ - **Visual noise**: Unnecessary borders, shadows, backgrounds, decorations
15
+ - **Confusing hierarchy**: Unclear what matters most
16
+ - **Feature creep**: Too many options, actions, or paths forward
17
+
18
+ 2. **Find the essence**:
19
+ - What's the primary user goal? (There should be ONE)
20
+ - What's actually necessary vs nice-to-have?
21
+ - What can be removed, hidden, or combined?
22
+ - What's the 20% that delivers 80% of value?
23
+
24
+ If any of these are unclear from the codebase, do not guess. Ask the user directly to clarify what you cannot infer.
25
+
26
+ Simplicity is not about removing features. It's about removing obstacles between users and their goals. Every element should justify its existence.
27
+
28
+ ## Plan Simplification
29
+
30
+ Create a ruthless editing strategy:
31
+
32
+ - **Core purpose**: What's the ONE thing this should accomplish?
33
+ - **Essential elements**: What's truly necessary to achieve that purpose?
34
+ - **Progressive disclosure**: What can be hidden until needed?
35
+ - **Consolidation opportunities**: What can be combined or integrated?
36
+
37
+ Expect to say no to good ideas to make room for great execution.
38
+
39
+ ## Simplify the Design
40
+
41
+ Systematically remove complexity across these dimensions:
42
+
43
+ ### Information Architecture
44
+ - **Reduce scope**: Remove secondary actions, redundant information
45
+ - **Progressive disclosure**: Hide complexity behind clear entry points (accordions, modals, step-through flows)
46
+ - **Combine related actions**: Merge similar buttons, consolidate forms, group related content
47
+ - **Clear hierarchy**: ONE primary action, few secondary actions, everything else tertiary or hidden
48
+ - **Remove redundancy**: If it's said elsewhere, don't repeat it here
49
+
50
+ ### Visual Simplification
51
+ - **Reduce color palette**: Use 1-2 colors plus neutrals, not 5-7 colors
52
+ - **Limit typography**: One font family, 3-4 sizes maximum, 2-3 weights
53
+ - **Remove decorations**: Eliminate borders, shadows, backgrounds that don't serve hierarchy or function
54
+ - **Flatten structure**: Reduce nesting, remove unnecessary containers; never nest cards inside cards
55
+ - **Remove unnecessary cards**: Cards aren't needed for basic layout; use spacing and alignment instead
56
+ - **Consistent spacing**: Use one spacing scale, remove arbitrary gaps
57
+
58
+ ### Layout Simplification
59
+ - **Linear flow**: Replace complex grids with simple vertical flow where possible
60
+ - **Remove sidebars**: Move secondary content inline or hide it
61
+ - **Full-width**: Use available space generously instead of complex multi-column layouts
62
+ - **Consistent alignment**: Pick left or center, stick with it
63
+ - **Generous white space**: Let content breathe, don't pack everything tight
64
+
65
+ ### Interaction Simplification
66
+ - **Reduce choices**: Fewer buttons, fewer options, clearer path forward (paradox of choice is real)
67
+ - **Smart defaults**: Make common choices automatic, only ask when necessary
68
+ - **Inline actions**: Replace modal flows with inline editing where possible
69
+ - **Remove steps**: Can the flow lose a step?
70
+ - **Clear next action**: ONE obvious next action, not five competing ones
71
+
72
+ ### Content Simplification
73
+ - **Shorter copy**: Cut filler, not meaning
74
+ - **Active voice**: "Save changes" not "Changes will be saved"
75
+ - **Remove jargon**: Plain language always wins
76
+ - **Scannable structure**: Short paragraphs, bullet points, clear headings
77
+ - **Essential information only**: Remove marketing fluff, hedging
78
+ - **Remove redundant copy**: No headers restating intros, no repeated explanations, say it once
79
+
80
+ ### Code Simplification
81
+ - **Remove unused code**: Dead CSS, unused components, orphaned files
82
+ - **Flatten component trees**: Reduce nesting depth
83
+ - **Consolidate styles**: Merge similar styles, use utilities consistently
84
+ - **Reduce variants**: Does that component need 12 variations, or can 3 cover 90% of cases?
85
+
86
+ **Avoid**:
87
+ - Remove necessary functionality (simplicity ≠ feature-less)
88
+ - Sacrifice accessibility for simplicity (clear labels and ARIA still required)
89
+ - Make things so simple they're unclear (mystery ≠ minimalism)
90
+ - Remove information users need to make decisions
91
+ - Eliminate hierarchy completely (some things should stand out)
92
+ - Oversimplify complex domains (match complexity to actual task complexity)
93
+
94
+ ## Verify Simplification
95
+
96
+ Ensure simplification improves usability:
97
+
98
+ - **Faster task completion**: Can users accomplish goals more quickly?
99
+ - **Reduced cognitive load**: Is it easier to understand what to do?
100
+ - **Still complete**: Are all necessary features still accessible?
101
+ - **Clearer hierarchy**: Is it obvious what matters most?
102
+ - **Better performance**: Does simpler design load faster?
103
+
104
+ ## Document Removed Complexity
105
+
106
+ If you removed features or options:
107
+ - Document why they were removed
108
+ - Consider if they need alternative access points
109
+ - Note any user feedback to monitor
110
+
111
+ When the cuts feel right, hand off to `/impeccable polish` for the final pass. As Antoine de Saint-Exupéry put it: "Perfection is achieved not when there is nothing more to add, but when there is nothing left to take away."
@@ -1,54 +1,54 @@
1
- Report and repair drift between this project's Impeccable artifacts and what the installed version reads: PRODUCT.md, DESIGN.md and its `.impeccable/design.json` sidecar, `.impeccable/config.json`, persisted surface briefs, and the design hook.
2
-
3
- This is maintenance, not design. Do not redesign anything, do not open files outside the ones the report names, and do not run any other command as a side effect.
4
-
5
- ## What this owns, and what it does not
6
-
7
- Three kinds of drift travel under "out of date". Keep them apart:
8
-
9
- - **Tool version.** The installed skill is older than the published one. `impeccable context` reports that at boot as `UPDATE_AVAILABLE` and `npx impeccable update` fixes it, or the harness's plugin manager for a plugin install. Not this command's job.
10
- - **Schema drift.** An artifact was written by an older Impeccable: fields nothing reads, fields now expected, files in retired locations. Mechanical, and this command repairs most of it.
11
- - **Truth drift.** The code moved on and the document no longer describes it. No file comparison settles this. `document` owns DESIGN.md, `init` owns PRODUCT.md, and this command's job is to hand them a specific gap rather than a vague suspicion.
12
-
13
- ## Step 1: Run the pass
14
-
15
- ```
16
- .pi/skills/impeccable/scripts/impeccable doctor --json
17
- ```
18
-
19
- Add `--target <path>` when the user named a workspace, file, or route in a monorepo. Without it the report describes the repo root, and in a monorepo that is often the wrong project.
20
-
21
- The output carries `findings` (each with `id`, `artifact`, `path`, `severity`, `summary`, `fix`) and, in a monorepo, `workspaces` with each app's product and design resolution. `ruleRegistryAvailable: false` means ignored rule ids could not be validated; say so rather than implying that list is clean.
22
-
23
- An empty `findings` array is the good outcome. Say so in one line and stop.
24
-
25
- ## Step 2: Act by severity
26
-
27
- The severity says what should happen, not how bad it is.
28
-
29
- - **`auto`** carries no decision. Run `.pi/skills/impeccable/scripts/impeccable doctor --fix` once to apply these, then report what it moved in one line. Do not ask permission first, and do not ask about them afterward.
30
- - **`mention`** needs the user to know but not to decide anything now. State each one in a sentence with its offered fix.
31
- - **`route`** needs a specific command. Name the command and the gap it would close. Run it only if the user asks in this turn; `init` and `document` are conversations, not repairs you perform unattended.
32
-
33
- Report all three groups in one pass. Findings are not errors and the command does not fail on them.
34
-
35
- ## Step 3: Deprecated fields are binding
36
-
37
- A finding that reports a deprecated field (`## Register` is the current one) is not a style note. Treat that field as absent for every decision from here on, whatever value it holds, and offer to delete the section. Preserving it "just in case" is how a retired axis keeps steering current output.
38
-
39
- ## Step 4: Do not overclaim on truth drift
40
-
41
- `design-md-drift` counts commits to the visual source directories since DESIGN.md was last edited. A commit count is not a contradiction. Report the number, say what it measures, and if the user wants to know whether the document is actually wrong, read DESIGN.md against the current tokens and components and answer from that. Never assert that DESIGN.md is stale because the number is large.
42
-
43
- The same restraint applies to `workspace-context-inherited`. Inheritance is a designed behavior. Whether one product record truthfully describes several apps is a question for the user, not a defect to fix.
44
-
45
- ## Monorepo notes
46
-
47
- - `workspace-platform-native-evidence` is the finding that matters most here: a workspace carrying native build files while inheriting a root record that resolves to web gets web guidance for its whole life and never loads [ios.md](ios.md) or [android.md](android.md). The repair is a child PRODUCT.md in that workspace, because one inherited record cannot hold two platforms.
48
- - `config-project-roots-match-nothing` means every `projectRoots` glob missed, so the repo root is silently standing in as the active project. A renamed workspace directory is the usual cause. Report the patterns and ask which directories they should name.
49
- - `config-invalid-build-path` and `config-build-path-unset` both concern one key, `buildPath` in `.impeccable/config.json` (or the gitignored `.impeccable/config.local.json`, which wins for that developer). It holds `comp` or `code` and sets whether new Persuade and Experience surfaces are built from a generated comp or straight in code; Operate and Read surfaces are code-led whatever it holds. An unread value does not fall back to the opposite path, so a project meaning `code` has been building comp-led; report the exact value. The unset finding fires only where a project has done direction work and never recorded a preference, and the offer belongs in it only when image generation exists in your tool surface. Without image generation there is nothing to choose and nothing to say.
50
- - Use the `workspaces` table to show the user which apps carry their own context, which inherit, and which have none, before proposing any change.
51
-
52
- ## Opting out of the boot check
53
-
54
- `impeccable context` reports the cheap subset of these findings at session start, throttled to once a week per project. Set `"stalenessCheck": false` in `.impeccable/config.json` to silence that, or `IMPECCABLE_NO_STALENESS_CHECK=1` for one session. This command still works with the check disabled, and that is the combination to suggest for a user who wants the report only when they ask for it.
1
+ Report and repair drift between this project's Impeccable artifacts and what the installed version reads: PRODUCT.md, DESIGN.md and its `.impeccable/design.json` sidecar, `.impeccable/config.json`, persisted surface briefs, and the design hook.
2
+
3
+ This is maintenance, not design. Do not redesign anything, do not open files outside the ones the report names, and do not run any other command as a side effect.
4
+
5
+ ## What this owns, and what it does not
6
+
7
+ Three kinds of drift travel under "out of date". Keep them apart:
8
+
9
+ - **Tool version.** The installed skill is older than the published one. `impeccable context` reports that at boot as `UPDATE_AVAILABLE` and `npx impeccable update` fixes it, or the harness's plugin manager for a plugin install. Not this command's job.
10
+ - **Schema drift.** An artifact was written by an older Impeccable: fields nothing reads, fields now expected, files in retired locations. Mechanical, and this command repairs most of it.
11
+ - **Truth drift.** The code moved on and the document no longer describes it. No file comparison settles this. `document` owns DESIGN.md, `init` owns PRODUCT.md, and this command's job is to hand them a specific gap rather than a vague suspicion.
12
+
13
+ ## Step 1: Run the pass
14
+
15
+ ```
16
+ .pi/skills/impeccable/scripts/impeccable doctor --json
17
+ ```
18
+
19
+ Add `--target <path>` when the user named a workspace, file, or route in a monorepo. Without it the report describes the repo root, and in a monorepo that is often the wrong project.
20
+
21
+ The output carries `findings` (each with `id`, `artifact`, `path`, `severity`, `summary`, `fix`) and, in a monorepo, `workspaces` with each app's product and design resolution. `ruleRegistryAvailable: false` means ignored rule ids could not be validated; say so rather than implying that list is clean.
22
+
23
+ An empty `findings` array is the good outcome. Say so in one line and stop.
24
+
25
+ ## Step 2: Act by severity
26
+
27
+ The severity says what should happen, not how bad it is.
28
+
29
+ - **`auto`** carries no decision. Run `.pi/skills/impeccable/scripts/impeccable doctor --fix` once to apply these, then report what it moved in one line. Do not ask permission first, and do not ask about them afterward.
30
+ - **`mention`** needs the user to know but not to decide anything now. State each one in a sentence with its offered fix.
31
+ - **`route`** needs a specific command. Name the command and the gap it would close. Run it only if the user asks in this turn; `init` and `document` are conversations, not repairs you perform unattended.
32
+
33
+ Report all three groups in one pass. Findings are not errors and the command does not fail on them.
34
+
35
+ ## Step 3: Deprecated fields are binding
36
+
37
+ A finding that reports a deprecated field (`## Register` is the current one) is not a style note. Treat that field as absent for every decision from here on, whatever value it holds, and offer to delete the section. Preserving it "just in case" is how a retired axis keeps steering current output.
38
+
39
+ ## Step 4: Do not overclaim on truth drift
40
+
41
+ `design-md-drift` counts commits to the visual source directories since DESIGN.md was last edited. A commit count is not a contradiction. Report the number, say what it measures, and if the user wants to know whether the document is actually wrong, read DESIGN.md against the current tokens and components and answer from that. Never assert that DESIGN.md is stale because the number is large.
42
+
43
+ The same restraint applies to `workspace-context-inherited`. Inheritance is a designed behavior. Whether one product record truthfully describes several apps is a question for the user, not a defect to fix.
44
+
45
+ ## Monorepo notes
46
+
47
+ - `workspace-platform-native-evidence` is the finding that matters most here: a workspace carrying native build files while inheriting a root record that resolves to web gets web guidance for its whole life and never loads [ios.md](ios.md) or [android.md](android.md). The repair is a child PRODUCT.md in that workspace, because one inherited record cannot hold two platforms.
48
+ - `config-project-roots-match-nothing` means every `projectRoots` glob missed, so the repo root is silently standing in as the active project. A renamed workspace directory is the usual cause. Report the patterns and ask which directories they should name.
49
+ - `config-invalid-build-path` and `config-build-path-unset` both concern one key, `buildPath` in `.impeccable/config.json` (or the gitignored `.impeccable/config.local.json`, which wins for that developer). It holds `comp` or `code` and sets whether new Persuade and Experience surfaces are built from a generated comp or straight in code; Operate and Read surfaces are code-led whatever it holds. An unread value does not fall back to the opposite path, so a project meaning `code` has been building comp-led; report the exact value. The unset finding fires only where a project has done direction work and never recorded a preference, and the offer belongs in it only when image generation exists in your tool surface. Without image generation there is nothing to choose and nothing to say.
50
+ - Use the `workspaces` table to show the user which apps carry their own context, which inherit, and which have none, before proposing any change.
51
+
52
+ ## Opting out of the boot check
53
+
54
+ `impeccable context` reports the cheap subset of these findings at session start, throttled to once a week per project. Set `"stalenessCheck": false` in `.impeccable/config.json` to silence that, or `IMPECCABLE_NO_STALENESS_CHECK=1` for one session. This command still works with the check disabled, and that is the combination to suggest for a user who wants the report only when they ask for it.