quiver-cli 0.7.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (200) hide show
  1. package/README.md +110 -45
  2. package/bin/quiver-cli.mjs +3 -1
  3. package/dist/cli.js +733 -499
  4. package/package.json +2 -2
  5. package/template/.agents/AGENTS.md +4 -3
  6. package/template/.agents/config.json +7 -0
  7. package/template/.agents/plugins/opencode/rtk.ts +34 -0
  8. package/template/.agents/skills/agent-browser/SKILL.md +1 -0
  9. package/template/.agents/skills/apps/skybridge/SKILL.md +4 -0
  10. package/template/.agents/skills/design/impeccable/SKILL.md +36 -118
  11. package/template/.agents/skills/design/impeccable/reference/adapt.md +1 -0
  12. package/template/.agents/skills/design/impeccable/reference/adapt.native.md +58 -0
  13. package/template/.agents/skills/design/impeccable/reference/android.md +40 -0
  14. package/template/.agents/skills/design/impeccable/reference/animate.md +73 -188
  15. package/template/.agents/skills/design/impeccable/reference/audit.md +12 -9
  16. package/template/.agents/skills/design/impeccable/reference/audit.native.md +139 -0
  17. package/template/.agents/skills/design/impeccable/reference/bolder.md +19 -101
  18. package/template/.agents/skills/design/impeccable/reference/clarify.md +59 -253
  19. package/template/.agents/skills/design/impeccable/reference/colorize.md +51 -222
  20. package/template/.agents/skills/design/impeccable/reference/craft-floor.md +42 -0
  21. package/template/.agents/skills/design/impeccable/reference/craft.md +3 -121
  22. package/template/.agents/skills/design/impeccable/reference/critique.md +44 -23
  23. package/template/.agents/skills/design/impeccable/reference/degraded/asset-producer.md +90 -0
  24. package/template/.agents/skills/design/impeccable/reference/degraded/documenter.md +24 -0
  25. package/template/.agents/skills/design/impeccable/reference/degraded/finish-reviewer.md +37 -0
  26. package/template/.agents/skills/design/impeccable/reference/degraded/manual-edit-applier.md +92 -0
  27. package/template/.agents/skills/design/impeccable/reference/delight.md +47 -279
  28. package/template/.agents/skills/design/impeccable/reference/distill.md +2 -2
  29. package/template/.agents/skills/design/impeccable/reference/doctor.md +53 -0
  30. package/template/.agents/skills/design/impeccable/reference/document.md +60 -73
  31. package/template/.agents/skills/design/impeccable/reference/harden.md +1 -12
  32. package/template/.agents/skills/design/impeccable/reference/hooks.md +20 -5
  33. package/template/.agents/skills/design/impeccable/reference/init.md +72 -119
  34. package/template/.agents/skills/design/impeccable/reference/ios.md +45 -0
  35. package/template/.agents/skills/design/impeccable/reference/layout.md +54 -131
  36. package/template/.agents/skills/design/impeccable/reference/live-setup.md +102 -0
  37. package/template/.agents/skills/design/impeccable/reference/live.md +116 -511
  38. package/template/.agents/skills/design/impeccable/reference/new-work.md +105 -0
  39. package/template/.agents/skills/design/impeccable/reference/{product.md → operate.md} +6 -5
  40. package/template/.agents/skills/design/impeccable/reference/optimize.md +4 -4
  41. package/template/.agents/skills/design/impeccable/reference/overdrive.md +1 -4
  42. package/template/.agents/skills/design/impeccable/reference/polish.md +68 -212
  43. package/template/.agents/skills/design/impeccable/reference/quieter.md +3 -3
  44. package/template/.agents/skills/design/impeccable/reference/routing.md +18 -0
  45. package/template/.agents/skills/design/impeccable/reference/shape.md +38 -144
  46. package/template/.agents/skills/design/impeccable/reference/typeset.md +51 -250
  47. package/template/.agents/skills/design/impeccable/reference/visualize.md +47 -0
  48. package/template/.agents/skills/design/impeccable/scripts/command-metadata.json +1 -1
  49. package/template/.agents/skills/design/impeccable/scripts/concept-seed.mjs +558 -0
  50. package/template/.agents/skills/design/impeccable/scripts/context-signals.mjs +119 -10
  51. package/template/.agents/skills/design/impeccable/scripts/context.mjs +534 -45
  52. package/template/.agents/skills/design/impeccable/scripts/critique-storage.mjs +18 -47
  53. package/template/.agents/skills/design/impeccable/scripts/detector/browser/injected/index.mjs +96 -10
  54. package/template/.agents/skills/design/impeccable/scripts/detector/cli/main.mjs +174 -26
  55. package/template/.agents/skills/design/impeccable/scripts/detector/design-system.mjs +233 -0
  56. package/template/.agents/skills/design/impeccable/scripts/detector/detect-antipatterns-browser.js +3348 -203
  57. package/template/.agents/skills/design/impeccable/scripts/detector/engines/browser/detect-url.mjs +102 -7
  58. package/template/.agents/skills/design/impeccable/scripts/detector/engines/regex/detect-text.mjs +297 -97
  59. package/template/.agents/skills/design/impeccable/scripts/detector/engines/static-html/css-cascade.mjs +187 -16
  60. package/template/.agents/skills/design/impeccable/scripts/detector/engines/static-html/detect-html.mjs +41 -11
  61. package/template/.agents/skills/design/impeccable/scripts/detector/findings.mjs +7 -1
  62. package/template/.agents/skills/design/impeccable/scripts/detector/node/file-system.mjs +16 -2
  63. package/template/.agents/skills/design/impeccable/scripts/detector/registry/antipatterns.mjs +207 -38
  64. package/template/.agents/skills/design/impeccable/scripts/detector/rules/checks.mjs +3082 -173
  65. package/template/.agents/skills/design/impeccable/scripts/detector/shared/constants.mjs +11 -0
  66. package/template/.agents/skills/design/impeccable/scripts/detector/shared/fonts.mjs +30 -0
  67. package/template/.agents/skills/design/impeccable/scripts/doctor.mjs +336 -0
  68. package/template/.agents/skills/design/impeccable/scripts/embed-prompt.mjs +133 -0
  69. package/template/.agents/skills/design/impeccable/scripts/generate-image.mjs +240 -0
  70. package/template/.agents/skills/design/impeccable/scripts/hook-admin.mjs +98 -18
  71. package/template/.agents/skills/design/impeccable/scripts/hook-before-edit.mjs +46 -6
  72. package/template/.agents/skills/design/impeccable/scripts/hook-lib.mjs +518 -50
  73. package/template/.agents/skills/design/impeccable/scripts/hook.mjs +25 -8
  74. package/template/.agents/skills/design/impeccable/scripts/lib/artifact-schema.mjs +93 -0
  75. package/template/.agents/skills/design/impeccable/scripts/lib/composition-catalog.mjs +200 -0
  76. package/template/.agents/skills/design/impeccable/scripts/lib/concept-catalog.mjs +357 -0
  77. package/template/.agents/skills/design/impeccable/scripts/lib/impeccable-config.mjs +27 -7
  78. package/template/.agents/skills/design/impeccable/scripts/lib/impeccable-paths.mjs +17 -8
  79. package/template/.agents/skills/design/impeccable/scripts/lib/provider.mjs +5 -0
  80. package/template/.agents/skills/design/impeccable/scripts/lib/roll-selection.mjs +362 -0
  81. package/template/.agents/skills/design/impeccable/scripts/lib/staleness-deep.mjs +457 -0
  82. package/template/.agents/skills/design/impeccable/scripts/lib/staleness-notice.mjs +169 -0
  83. package/template/.agents/skills/design/impeccable/scripts/lib/staleness.mjs +457 -0
  84. package/template/.agents/skills/design/impeccable/scripts/lib/surface-briefs.mjs +151 -0
  85. package/template/.agents/skills/design/impeccable/scripts/lib/target-slug.mjs +33 -0
  86. package/template/.agents/skills/design/impeccable/scripts/lib/template-extensions.mjs +146 -0
  87. package/template/.agents/skills/design/impeccable/scripts/live/accept-css.mjs +617 -0
  88. package/template/.agents/skills/design/impeccable/scripts/live/accept-verify.mjs +60 -0
  89. package/template/.agents/skills/design/impeccable/scripts/live/browser-script-parts.mjs +7 -1
  90. package/template/.agents/skills/design/impeccable/scripts/live/completion.mjs +10 -1
  91. package/template/.agents/skills/design/impeccable/scripts/live/event-validation.mjs +67 -5
  92. package/template/.agents/skills/design/impeccable/scripts/live/frameworks/astro.mjs +47 -0
  93. package/template/.agents/skills/design/impeccable/scripts/live/frameworks/detect-utils.mjs +73 -0
  94. package/template/.agents/skills/design/impeccable/scripts/live/frameworks/index.mjs +143 -0
  95. package/template/.agents/skills/design/impeccable/scripts/live/frameworks/journal.mjs +197 -0
  96. package/template/.agents/skills/design/impeccable/scripts/live/frameworks/nextjs.mjs +49 -0
  97. package/template/.agents/skills/design/impeccable/scripts/live/frameworks/nuxt.mjs +161 -0
  98. package/template/.agents/skills/design/impeccable/scripts/live/frameworks/script-src.mjs +17 -0
  99. package/template/.agents/skills/design/impeccable/scripts/live/frameworks/static-html.mjs +26 -0
  100. package/template/.agents/skills/design/impeccable/scripts/live/frameworks/sveltekit.mjs +71 -0
  101. package/template/.agents/skills/design/impeccable/scripts/live/frameworks/tag-strategy.mjs +247 -0
  102. package/template/.agents/skills/design/impeccable/scripts/live/frameworks/tanstack-start.mjs +70 -0
  103. package/template/.agents/skills/design/impeccable/scripts/live/frameworks/vite-generic.mjs +42 -0
  104. package/template/.agents/skills/design/impeccable/scripts/live/generation-preflight.mjs +149 -0
  105. package/template/.agents/skills/design/impeccable/scripts/live/instructions.mjs +142 -0
  106. package/template/.agents/skills/design/impeccable/scripts/live/poll-lanes.mjs +14 -0
  107. package/template/.agents/skills/design/impeccable/scripts/live/roots.mjs +508 -0
  108. package/template/.agents/skills/design/impeccable/scripts/live/session-store.mjs +324 -50
  109. package/template/.agents/skills/design/impeccable/scripts/live/source-lock.mjs +105 -0
  110. package/template/.agents/skills/design/impeccable/scripts/live/source-search.mjs +105 -0
  111. package/template/.agents/skills/design/impeccable/scripts/live/svelte-ast.mjs +961 -0
  112. package/template/.agents/skills/design/impeccable/scripts/live/svelte-component.mjs +588 -72
  113. package/template/.agents/skills/design/impeccable/scripts/live/sveltekit-adapter.mjs +59 -17
  114. package/template/.agents/skills/design/impeccable/scripts/live/tanstack-adapter.mjs +280 -0
  115. package/template/.agents/skills/design/impeccable/scripts/live/vocabulary.mjs +135 -0
  116. package/template/.agents/skills/design/impeccable/scripts/live-accept.mjs +210 -68
  117. package/template/.agents/skills/design/impeccable/scripts/live-browser.js +1562 -223
  118. package/template/.agents/skills/design/impeccable/scripts/live-commit-manual-edits.mjs +3 -0
  119. package/template/.agents/skills/design/impeccable/scripts/live-complete.mjs +33 -1
  120. package/template/.agents/skills/design/impeccable/scripts/live-inject.mjs +175 -255
  121. package/template/.agents/skills/design/impeccable/scripts/live-insert.mjs +26 -6
  122. package/template/.agents/skills/design/impeccable/scripts/live-manual-edit-evidence.mjs +6 -1
  123. package/template/.agents/skills/design/impeccable/scripts/live-poll.mjs +61 -16
  124. package/template/.agents/skills/design/impeccable/scripts/live-resume.mjs +39 -10
  125. package/template/.agents/skills/design/impeccable/scripts/live-server.mjs +573 -47
  126. package/template/.agents/skills/design/impeccable/scripts/live-status.mjs +17 -7
  127. package/template/.agents/skills/design/impeccable/scripts/live-wrap.mjs +124 -91
  128. package/template/.agents/skills/design/impeccable/scripts/live.mjs +88 -26
  129. package/template/.agents/skills/design/impeccable/scripts/palette.mjs +76 -81
  130. package/template/.agents/skills/design/impeccable/scripts/pin.mjs +18 -11
  131. package/template/.agents/skills/design/impeccable/scripts/serve-question.mjs +932 -0
  132. package/template/.agents/skills/design/impeccable/scripts/surface-brief.mjs +74 -0
  133. package/template/.agents/skills/design/shadcn/SKILL.md +46 -11
  134. package/template/.agents/skills/design/shadcn/cli.md +49 -16
  135. package/template/.agents/skills/design/shadcn/customization.md +14 -7
  136. package/template/.agents/skills/design/shadcn/evals/evals.json +30 -0
  137. package/template/.agents/skills/design/shadcn/mcp.md +27 -16
  138. package/template/.agents/skills/design/shadcn/registry.md +277 -0
  139. package/template/.agents/skills/design/shadcn/rules/chat.md +224 -0
  140. package/template/.agents/skills/design/shadcn/rules/composition.md +20 -2
  141. package/template/.agents/skills/design/shadcn/rules/styling.md +23 -0
  142. package/template/.agents/skills/find-skills/SKILL.md +2 -3
  143. package/template/.agents/skills/hono/SKILL.md +579 -0
  144. package/template/.agents/skills/integrations/langfuse/SKILL.md +10 -6
  145. package/template/.agents/skills/integrations/langfuse/references/ci-cd.md +41 -0
  146. package/template/.agents/skills/integrations/langfuse/references/cli.md +8 -0
  147. package/template/.agents/skills/integrations/langfuse/references/error-analysis.md +15 -27
  148. package/template/.agents/skills/integrations/langfuse/references/instrumentation.md +39 -52
  149. package/template/.agents/skills/integrations/langfuse/references/judge-calibration.md +5 -2
  150. package/template/.agents/skills/integrations/langfuse/references/prompt-engineering.md +35 -0
  151. package/template/.agents/skills/integrations/langfuse/references/prompt-migration.md +41 -196
  152. package/template/.agents/skills/integrations/langfuse/references/skill-feedback.md +3 -0
  153. package/template/.agents/skills/integrations/langfuse/references/trace-evaluator-upgrade.md +76 -0
  154. package/template/.agents/skills/integrations/langfuse/references/user-feedback.md +4 -0
  155. package/template/.agents/skills/integrations/langfuse/references/v4-project-migration.md +73 -0
  156. package/template/.agents/skills/supabase/CHANGELOG.md +71 -0
  157. package/template/.agents/skills/supabase/SKILL.md +145 -0
  158. package/template/.agents/skills/supabase/assets/feedback-issue-template.md +17 -0
  159. package/template/.agents/skills/supabase/references/skill-feedback.md +17 -0
  160. package/template/.agents/skills/supabase-postgres-best-practices/CHANGELOG.md +73 -0
  161. package/template/.agents/skills/supabase-postgres-best-practices/SKILL.md +64 -0
  162. package/template/.agents/skills/supabase-postgres-best-practices/references/_contributing.md +170 -0
  163. package/template/.agents/skills/supabase-postgres-best-practices/references/_sections.md +39 -0
  164. package/template/.agents/skills/supabase-postgres-best-practices/references/_template.md +34 -0
  165. package/template/.agents/skills/supabase-postgres-best-practices/references/advanced-full-text-search.md +55 -0
  166. package/template/.agents/skills/supabase-postgres-best-practices/references/advanced-jsonb-indexing.md +49 -0
  167. package/template/.agents/skills/supabase-postgres-best-practices/references/conn-idle-timeout.md +46 -0
  168. package/template/.agents/skills/supabase-postgres-best-practices/references/conn-limits.md +44 -0
  169. package/template/.agents/skills/supabase-postgres-best-practices/references/conn-pooling.md +41 -0
  170. package/template/.agents/skills/supabase-postgres-best-practices/references/conn-prepared-statements.md +46 -0
  171. package/template/.agents/skills/supabase-postgres-best-practices/references/data-batch-inserts.md +54 -0
  172. package/template/.agents/skills/supabase-postgres-best-practices/references/data-n-plus-one.md +53 -0
  173. package/template/.agents/skills/supabase-postgres-best-practices/references/data-pagination.md +50 -0
  174. package/template/.agents/skills/supabase-postgres-best-practices/references/data-upsert.md +50 -0
  175. package/template/.agents/skills/supabase-postgres-best-practices/references/lock-advisory.md +56 -0
  176. package/template/.agents/skills/supabase-postgres-best-practices/references/lock-deadlock-prevention.md +68 -0
  177. package/template/.agents/skills/supabase-postgres-best-practices/references/lock-short-transactions.md +50 -0
  178. package/template/.agents/skills/supabase-postgres-best-practices/references/lock-skip-locked.md +54 -0
  179. package/template/.agents/skills/supabase-postgres-best-practices/references/monitor-explain-analyze.md +45 -0
  180. package/template/.agents/skills/supabase-postgres-best-practices/references/monitor-pg-stat-statements.md +55 -0
  181. package/template/.agents/skills/supabase-postgres-best-practices/references/monitor-vacuum-analyze.md +55 -0
  182. package/template/.agents/skills/supabase-postgres-best-practices/references/query-composite-indexes.md +44 -0
  183. package/template/.agents/skills/supabase-postgres-best-practices/references/query-covering-indexes.md +40 -0
  184. package/template/.agents/skills/supabase-postgres-best-practices/references/query-index-types.md +48 -0
  185. package/template/.agents/skills/supabase-postgres-best-practices/references/query-missing-indexes.md +43 -0
  186. package/template/.agents/skills/supabase-postgres-best-practices/references/query-partial-indexes.md +45 -0
  187. package/template/.agents/skills/supabase-postgres-best-practices/references/schema-constraints.md +80 -0
  188. package/template/.agents/skills/supabase-postgres-best-practices/references/schema-data-types.md +46 -0
  189. package/template/.agents/skills/supabase-postgres-best-practices/references/schema-foreign-key-indexes.md +59 -0
  190. package/template/.agents/skills/supabase-postgres-best-practices/references/schema-lowercase-identifiers.md +55 -0
  191. package/template/.agents/skills/supabase-postgres-best-practices/references/schema-partitioning.md +55 -0
  192. package/template/.agents/skills/supabase-postgres-best-practices/references/schema-primary-keys.md +61 -0
  193. package/template/.agents/skills/supabase-postgres-best-practices/references/security-privileges.md +54 -0
  194. package/template/.agents/skills/supabase-postgres-best-practices/references/security-rls-basics.md +50 -0
  195. package/template/.agents/skills/supabase-postgres-best-practices/references/security-rls-performance.md +63 -0
  196. package/template/.agents/upstreams.json +34 -12
  197. package/template/.agents/skills/design/impeccable/reference/brand.md +0 -108
  198. package/template/.agents/skills/design/impeccable/reference/codex.md +0 -105
  199. package/template/.agents/skills/design/impeccable/reference/interaction-design.md +0 -189
  200. package/template/.agents/skills/integrations/langfuse/references/sdk-upgrade.md +0 -175
@@ -1,302 +1,70 @@
1
- > **Additional context needed**: what's appropriate for the domain (playful vs professional vs quirky vs elegant).
1
+ > **Additional context needed**: the brand's emotional range.
2
2
 
3
- Find the moments where personality and unexpected polish would turn a functional interface into one users remember and tell other people about. Add only where the moment earns it; delight everywhere reads as noise.
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
4
 
5
5
  ---
6
6
 
7
- ## Register
7
+ ## Visitor mode
8
8
 
9
- Brand: delight can be distributed across copy voice, section transitions, discovery rewards, seasonal touches, personality across the whole surface.
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.
10
11
 
11
- Product: delight at specific moments, not pages. Completion, first-time actions, error recovery, milestone crossings. Reliability and consistency carry the rest of the experience; delight pushed everywhere reads as noise.
12
+ ## Find the opportunity
12
13
 
13
- ---
14
-
15
- ## Assess Delight Opportunities
16
-
17
- Identify where delight would enhance (not distract from) the experience:
18
-
19
- 1. **Find natural delight moments**:
20
- - **Success states**: Completed actions (save, send, publish)
21
- - **Empty states**: First-time experiences, onboarding
22
- - **Loading states**: Waiting periods that could be entertaining
23
- - **Achievements**: Milestones, streaks, completions
24
- - **Interactions**: Hover states, clicks, drags
25
- - **Errors**: Softening frustrating moments
26
- - **Easter eggs**: Hidden discoveries for curious users
27
-
28
- 2. **Understand the context**:
29
- - What's the brand personality? (Playful? Professional? Quirky? Elegant?)
30
- - Who's the audience? (Tech-savvy? Creative? Corporate?)
31
- - What's the emotional context? (Accomplishment? Exploration? Frustration?)
32
- - What's appropriate? (Banking app ≠ gaming app)
33
-
34
- 3. **Define delight strategy**:
35
- - **Subtle sophistication**: Refined micro-interactions (luxury brands)
36
- - **Playful personality**: Whimsical illustrations and copy (consumer apps)
37
- - **Helpful surprises**: Anticipating needs before users ask (productivity tools)
38
- - **Sensory richness**: Satisfying sounds, smooth animations (creative tools)
39
-
40
- If any of these are unclear from the codebase, ask the user directly to clarify what you cannot infer.
41
-
42
- **CRITICAL**: Delight should enhance usability, never obscure it. If users notice the delight more than accomplishing their goal, you've gone too far.
43
-
44
- ## Delight Principles
45
-
46
- Follow these guidelines:
47
-
48
- ### Delight Amplifies, Never Blocks
49
- - Delight moments should be quick (< 1 second)
50
- - Never delay core functionality for delight
51
- - Make delight skippable or subtle
52
- - Respect user's time and task focus
53
-
54
- ### Surprise and Discovery
55
- - Hide delightful details for users to discover
56
- - Reward exploration and curiosity
57
- - Don't announce every delight moment
58
- - Let users share discoveries with others
59
-
60
- ### Appropriate to Context
61
- - Match delight to emotional moment (celebrate success, empathize with errors)
62
- - Respect the user's state (don't be playful during critical errors)
63
- - Match brand personality and audience expectations
64
- - Cultural sensitivity (what's delightful varies by culture)
65
-
66
- ### Compound Over Time
67
- - Delight should remain fresh with repeated use
68
- - Vary responses (not same animation every time)
69
- - Reveal deeper layers with continued use
70
- - Build anticipation through patterns
71
-
72
- ## Delight Techniques
73
-
74
- Add personality and joy through these methods:
75
-
76
- ### Micro-interactions & Animation
77
-
78
- **Button delight**:
79
- ```css
80
- /* Satisfying button press */
81
- .button {
82
- transition: transform 0.1s, box-shadow 0.1s;
83
- }
84
- .button:active {
85
- transform: translateY(2px);
86
- box-shadow: 0 2px 4px rgba(0,0,0,0.2);
87
- }
88
-
89
- /* Ripple effect on click */
90
- /* Smooth lift on hover */
91
- .button:hover {
92
- transform: translateY(-2px);
93
- transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1); /* ease-out-quart */
94
- }
95
- ```
96
-
97
- **Loading delight**:
98
- - Playful loading animations (not just spinners)
99
- - Personality in loading messages (write product-specific ones, not generic AI filler)
100
- - Progress indication with encouraging messages
101
- - Skeleton screens with subtle animations
102
-
103
- **Success animations**:
104
- - Checkmark draw animation
105
- - Confetti burst for major achievements
106
- - Gentle scale + fade for confirmation
107
- - Satisfying sound effects (subtle)
108
-
109
- **Hover surprises**:
110
- - Icons that animate on hover
111
- - Color shifts or glow effects
112
- - Tooltip reveals with personality
113
- - Cursor changes (custom cursors for branded experiences)
114
-
115
- ### Personality in Copy
116
-
117
- **Playful error messages**:
118
- ```
119
- "Error 404"
120
- "This page is playing hide and seek. (And winning)"
121
-
122
- "Connection failed"
123
- "Looks like the internet took a coffee break. Want to retry?"
124
- ```
125
-
126
- **Encouraging empty states**:
127
- ```
128
- "No projects"
129
- "Your canvas awaits. Create something amazing."
130
-
131
- "No messages"
132
- "Inbox zero! You're crushing it today."
133
- ```
134
-
135
- **Playful labels & tooltips**:
136
- ```
137
- "Delete"
138
- "Send to void" (for playful brand)
139
-
140
- "Help"
141
- "Rescue me" (tooltip)
142
- ```
143
-
144
- **IMPORTANT**: Match copy personality to brand. Banks shouldn't be wacky, but they can be warm.
145
-
146
- ### Illustrations & Visual Personality
147
-
148
- **Custom illustrations**:
149
- - Empty state illustrations (not stock icons)
150
- - Error state illustrations (friendly monsters, quirky characters)
151
- - Loading state illustrations (animated characters)
152
- - Success state illustrations (celebrations)
153
-
154
- **Icon personality**:
155
- - Custom icon set matching brand personality
156
- - Animated icons (subtle motion on hover/click)
157
- - Illustrative icons (more detailed than generic)
158
- - Consistent style across all icons
159
-
160
- **Background effects**:
161
- - Subtle particle effects
162
- - Gradient mesh backgrounds
163
- - Geometric patterns
164
- - Parallax depth
165
- - Time-of-day themes (morning vs night)
166
-
167
- ### Satisfying Interactions
168
-
169
- **Drag and drop delight**:
170
- - Lift effect on drag (shadow, scale)
171
- - Snap animation when dropped
172
- - Satisfying placement sound
173
- - Undo toast ("Dropped in wrong place? [Undo]")
174
-
175
- **Toggle switches**:
176
- - Smooth slide with spring physics
177
- - Color transition
178
- - Haptic feedback on mobile
179
- - Optional sound effect
180
-
181
- **Progress & achievements**:
182
- - Streak counters with celebratory milestones
183
- - Progress bars that "celebrate" at 100%
184
- - Badge unlocks with animation
185
- - Playful stats ("You're on fire! 5 days in a row")
186
-
187
- **Form interactions**:
188
- - Input fields that animate on focus
189
- - Checkboxes with a satisfying scale pulse when checked
190
- - Success state that celebrates valid input
191
- - Auto-grow textareas
192
-
193
- ### Sound Design
194
-
195
- **Subtle audio cues** (when appropriate):
196
- - Notification sounds (distinctive but not annoying)
197
- - Success sounds (satisfying "ding")
198
- - Error sounds (empathetic, not harsh)
199
- - Typing sounds for chat/messaging
200
- - Ambient background audio (very subtle)
201
-
202
- **IMPORTANT**:
203
- - Respect system sound settings
204
- - Provide mute option
205
- - Keep volumes quiet (subtle cues, not alarms)
206
- - Don't play on every interaction (sound fatigue is real)
207
-
208
- ### Easter Eggs & Hidden Delights
209
-
210
- **Discovery rewards**:
211
- - Konami code unlocks special theme
212
- - Hidden keyboard shortcuts (Cmd+K for special features)
213
- - Hover reveals on logos or illustrations
214
- - Alt text jokes on images (for screen reader users too!)
215
- - Console messages for developers ("Like what you see? We're hiring!")
216
-
217
- **Seasonal touches**:
218
- - Holiday themes (subtle, tasteful)
219
- - Seasonal color shifts
220
- - Weather-based variations
221
- - Time-based changes (dark at night, light during day)
222
-
223
- **Contextual personality**:
224
- - Different messages based on time of day
225
- - Responses to specific user actions
226
- - Randomized variations (not same every time)
227
- - Progressive reveals with continued use
228
-
229
- ### Loading & Waiting States
14
+ Inspect the target, DESIGN.md, product voice, repeated-use frequency, and emotional context. Look for:
230
15
 
231
- **Make waiting engaging**:
232
- - Interesting loading messages that rotate
233
- - Progress bars with personality
234
- - Mini-games during long loads
235
- - Fun facts or tips while waiting
236
- - Countdown with encouraging messages
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.
237
22
 
238
- ```
239
- Loading messages: write ones specific to your product, not generic AI filler:
240
- - "Crunching your latest numbers..."
241
- - "Syncing with your team's changes..."
242
- - "Preparing your dashboard..."
243
- - "Checking for updates since yesterday..."
244
- ```
23
+ Do not manufacture a celebration for an ordinary click. Ask only when the brand's emotional range or the stakes cannot be inferred.
245
24
 
246
- **WARNING**: Avoid cliched loading messages like "Herding pixels", "Teaching robots to dance", "Consulting the magic 8-ball", "Counting backwards from infinity". These are AI-slop copy, instantly recognizable as machine-generated. Write messages that are specific to what your product actually does.
25
+ ## Define one delight thesis
247
26
 
248
- ### Celebration Moments
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:
249
28
 
250
- **Success celebrations**:
251
- - Confetti for major milestones
252
- - Animated checkmarks for completions
253
- - Progress bar celebrations at 100%
254
- - "Achievement unlocked" style notifications
255
- - Personalized messages ("You published your 10th article!")
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.
256
34
 
257
- **Milestone recognition**:
258
- - First-time actions get special treatment
259
- - Streak tracking and celebration
260
- - Progress toward goals
261
- - Anniversary celebrations
35
+ Derive the treatment from product mechanism and visual world, not a stock catalog.
262
36
 
263
- ## Implementation Patterns
37
+ ## Build for the emotional moment
264
38
 
265
- **Animation libraries**:
266
- - Framer Motion (React)
267
- - GSAP (universal)
268
- - Lottie (After Effects animations)
269
- - Canvas confetti (party effects)
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.
270
45
 
271
- **Sound libraries**:
272
- - Howler.js (audio management)
273
- - Use-sound (React hook)
46
+ Copy must use the product's language. Generic whimsy is worse than neutral clarity.
274
47
 
275
- **Physics libraries**:
276
- - React Spring (spring physics)
277
- - Popmotion (animation primitives)
48
+ ## Protect the experience
278
49
 
279
- **IMPORTANT**: File size matters. Compress images, optimize animations, lazy load delight features.
50
+ Delight must not:
280
51
 
281
- **NEVER**:
282
- - Delay core functionality for delight
283
- - Force users through delightful moments (make skippable)
284
- - Use delight to hide poor UX
285
- - Overdo it (less is more)
286
- - Ignore accessibility (animate responsibly, provide alternatives)
287
- - Make every interaction delightful (special moments should be special)
288
- - Sacrifice performance for delight
289
- - Be inappropriate for context (read the room)
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.
290
58
 
291
- ## Verify Delight Quality
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.
292
60
 
293
- Test that delight actually delights:
61
+ ## Verify
294
62
 
295
- - **User reactions**: Do users smile? Share screenshots?
296
- - **Doesn't annoy**: Still pleasant after 100th time?
297
- - **Doesn't block**: Can users opt out or skip?
298
- - **Performant**: No jank, no slowdown
299
- - **Appropriate**: Matches brand and context
300
- - **Accessible**: Works with reduced motion, screen readers
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.
301
69
 
302
- When the moments feel earned, hand off to `/impeccable polish` for the final pass.
70
+ When the personality feels earned, hand off to `/impeccable polish` for the final pass.
@@ -66,8 +66,8 @@ Systematically remove complexity across these dimensions:
66
66
  - **Reduce choices**: Fewer buttons, fewer options, clearer path forward (paradox of choice is real)
67
67
  - **Smart defaults**: Make common choices automatic, only ask when necessary
68
68
  - **Inline actions**: Replace modal flows with inline editing where possible
69
- - **Remove steps**: Can signup be one step instead of three? Can checkout be simplified?
70
- - **Clear CTAs**: ONE obvious next step, not five competing actions
69
+ - **Remove steps**: Can the flow lose a step?
70
+ - **Clear next action**: ONE obvious next action, not five competing ones
71
71
 
72
72
  ### Content Simplification
73
73
  - **Shorter copy**: Cut every sentence in half, then do it again
@@ -0,0 +1,53 @@
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. `context.mjs` reports that at boot as `UPDATE_AVAILABLE` and `npx impeccable update` fixes it. 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
+ node .pi/skills/impeccable/scripts/doctor.mjs --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 `node .pi/skills/impeccable/scripts/doctor.mjs --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
+ - Use the `workspaces` table to show the user which apps carry their own context, which inherit, and which have none, before proposing any change.
50
+
51
+ ## Opting out of the boot check
52
+
53
+ `context.mjs` 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.