@srobroek/pi-design 0.12.1 → 0.13.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 (81) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +51 -14
  3. package/_kit/prereqs.json +2 -2
  4. package/agents/ui-implementer.md +2 -2
  5. package/agents/ui-ux-specialist.md +4 -3
  6. package/extensions/design.js +10 -3
  7. package/formulas/design-surface.formula.toml +2 -2
  8. package/formulas/design-system.formula.toml +2 -2
  9. package/formulas/mol-design-iterate.formula.toml +2 -2
  10. package/package.json +1 -1
  11. package/skills/design-guide/SKILL.md +4 -2
  12. package/skills/design-prototype/SKILL.md +9 -0
  13. package/skills/design-prototype/references/upstream.md +3 -0
  14. package/skills/design-upstream-preflight/SKILL.md +31 -5
  15. package/skills/impeccable/LICENSE +191 -0
  16. package/skills/impeccable/LICENSE-platform-design-skills +21 -0
  17. package/skills/impeccable/NOTICE +87 -0
  18. package/skills/impeccable/REUSE.toml +26 -0
  19. package/skills/impeccable/SKILL.md +95 -0
  20. package/skills/impeccable/reference/adapt.md +318 -0
  21. package/skills/impeccable/reference/adapt.native.md +58 -0
  22. package/skills/impeccable/reference/android.md +46 -0
  23. package/skills/impeccable/reference/animate.md +108 -0
  24. package/skills/impeccable/reference/audit.md +159 -0
  25. package/skills/impeccable/reference/audit.native.md +152 -0
  26. package/skills/impeccable/reference/bolder.md +33 -0
  27. package/skills/impeccable/reference/clarify.md +94 -0
  28. package/skills/impeccable/reference/colorize.md +86 -0
  29. package/skills/impeccable/reference/component-review.md +65 -0
  30. package/skills/impeccable/reference/craft-floor.md +46 -0
  31. package/skills/impeccable/reference/craft.md +5 -0
  32. package/skills/impeccable/reference/critique-rubric.md +496 -0
  33. package/skills/impeccable/reference/critique.md +331 -0
  34. package/skills/impeccable/reference/degraded/asset-producer.md +44 -0
  35. package/skills/impeccable/reference/degraded/documenter.md +24 -0
  36. package/skills/impeccable/reference/degraded/finish-reviewer.md +38 -0
  37. package/skills/impeccable/reference/degraded/manual-edit-applier.md +93 -0
  38. package/skills/impeccable/reference/degraded/motion-reviewer.md +29 -0
  39. package/skills/impeccable/reference/delight.md +70 -0
  40. package/skills/impeccable/reference/distill.md +111 -0
  41. package/skills/impeccable/reference/doctor.md +60 -0
  42. package/skills/impeccable/reference/document.md +418 -0
  43. package/skills/impeccable/reference/extract.md +69 -0
  44. package/skills/impeccable/reference/foundations.md +46 -0
  45. package/skills/impeccable/reference/generate.md +103 -0
  46. package/skills/impeccable/reference/harden.md +362 -0
  47. package/skills/impeccable/reference/hooks.md +33 -0
  48. package/skills/impeccable/reference/init.md +133 -0
  49. package/skills/impeccable/reference/ios.md +51 -0
  50. package/skills/impeccable/reference/layout.md +86 -0
  51. package/skills/impeccable/reference/live-setup.md +106 -0
  52. package/skills/impeccable/reference/live.md +345 -0
  53. package/skills/impeccable/reference/mode-operate.md +21 -0
  54. package/skills/impeccable/reference/mode-persuade.md +19 -0
  55. package/skills/impeccable/reference/mode-read.md +21 -0
  56. package/skills/impeccable/reference/new-work-comp.md +26 -0
  57. package/skills/impeccable/reference/new-work-world.md +22 -0
  58. package/skills/impeccable/reference/new-work.md +125 -0
  59. package/skills/impeccable/reference/onboard.md +235 -0
  60. package/skills/impeccable/reference/operate.md +61 -0
  61. package/skills/impeccable/reference/optimize.md +257 -0
  62. package/skills/impeccable/reference/overdrive.md +127 -0
  63. package/skills/impeccable/reference/polish.md +107 -0
  64. package/skills/impeccable/reference/quieter.md +99 -0
  65. package/skills/impeccable/reference/region-map.md +28 -0
  66. package/skills/impeccable/reference/routing.md +26 -0
  67. package/skills/impeccable/reference/shape.md +59 -0
  68. package/skills/impeccable/reference/typeset.md +98 -0
  69. package/skills/impeccable/reference/visualize.md +49 -0
  70. package/skills/impeccable/scripts/VERSION +1 -0
  71. package/skills/impeccable/scripts/command-metadata.json +98 -0
  72. package/skills/impeccable/scripts/data/font-index-failures.json +121 -0
  73. package/skills/impeccable/scripts/data/font-index.json +1 -0
  74. package/skills/impeccable/scripts/engine-checksums.txt +9 -0
  75. package/skills/impeccable/scripts/impeccable +349 -0
  76. package/skills/impeccable/scripts/impeccable.cmd +371 -0
  77. package/skills/impeccable/scripts/live-browser-dom.js +320 -0
  78. package/skills/impeccable/scripts/live-browser-ignores.js +246 -0
  79. package/skills/impeccable/scripts/live-browser-session.js +183 -0
  80. package/skills/impeccable/scripts/live-browser.js +13925 -0
  81. package/skills/impeccable/scripts/modern-screenshot.umd.js +14 -0
@@ -0,0 +1,108 @@
1
+ <!-- Vendored from pbakaus/impeccable skill-v4.12.0 (Apache-2.0) and modified by the design plugin; see NOTICE. Written by scripts/vendor-impeccable.ts; do not edit. -->
2
+
3
+ > **Additional context needed**: performance constraints.
4
+
5
+ Use motion to explain state, relationship, and hierarchy, or to create one authored moment the surface has earned. Decoration without purpose is animation debt.
6
+
7
+ ---
8
+
9
+ ## Visitor mode
10
+
11
+ - **Persuade + Experience:** motion may carry the voice. Prefer one rehearsed focal sequence to repeated section reveals.
12
+ - **Operate + Read:** motion serves feedback, state, and continuity. Keep routine transitions fast and do not make users wait through page-load choreography.
13
+ - **Native (`ios` / `android` / `adaptive`):** follow the Motion section of [ios.md](ios.md) or [android.md](android.md), including the platform's Reduce Motion behavior. Do not apply the web tooling below.
14
+
15
+ ## Find the job
16
+
17
+ Inspect the existing motion language, interaction states, target devices, and performance budget. Find only the places where motion would:
18
+
19
+ - acknowledge an action;
20
+ - make a state change or spatial relationship legible;
21
+ - preserve continuity through navigation or layout change;
22
+ - direct attention at a meaningful moment;
23
+ - embody the selected visual world.
24
+
25
+ Ask only when a material constraint cannot be inferred. Do not animate a static area merely because it exists.
26
+
27
+ ## Set the motion thesis
28
+
29
+ Write a short plan before implementation:
30
+
31
+ - **Focal moment:** the one sequence or interaction that deserves authorship, if any.
32
+ - **Continuity:** the state, layout, or navigation changes that need explanation.
33
+ - **Feedback:** the controls and outcomes that need acknowledgment.
34
+ - **Budget:** which effects may be expensive and how often they run.
35
+
36
+ The focal moment must come from this product and surface concept. A generic fade-and-rise, hover lift, parallax layer, or scroll reveal is not a thesis.
37
+
38
+ ## Choose material by meaning
39
+
40
+ Transform and opacity are reliable foundations, not the entire palette. Choose properties for what the transition communicates:
41
+
42
+ - **Continuity and relationship:** shared-element motion, FLIP-style transforms, view transitions, or deliberate spatial movement.
43
+ - **Focus and depth:** bounded blur, filter, backdrop, light, or shadow changes.
44
+ - **Reveal and composition:** masks, clip paths, cropping, or controlled occlusion.
45
+ - **Material and energy:** color, gradient position, texture, distortion, or shader effects when the world and runtime support them.
46
+ - **State and feedback:** the smallest change that makes cause and result unmistakable.
47
+
48
+ Do not stack techniques for spectacle. One strong material idea, carried through the focal sequence and quiet supporting states, is usually enough.
49
+
50
+ Sibling stagger is appropriate when a list appears as a list. Cap the total delay, and never reinterpret every scrolled section as a staggered list.
51
+
52
+ ## Timing and easing
53
+
54
+ Timing should express distance and consequence:
55
+
56
+ | Duration | Typical use |
57
+ |---|---|
58
+ | 100–150 ms | immediate feedback |
59
+ | 150–300 ms | routine state change |
60
+ | 300–500 ms | layout, overlay, or view transition |
61
+ | 500–800 ms | a deliberately authored focal entrance |
62
+
63
+ Exit faster than entrance. Use natural deceleration such as `cubic-bezier(0.16, 1, 0.3, 1)` for confident arrivals; do not use bounce or elastic curves by reflex. Long feedback feels like latency.
64
+
65
+ ## Hover
66
+
67
+ Hover motion never moves a neighbor or takes its pointer target. Keep the hovered element still and let a child carry the motion (`.card:hover .card-surface { transform: translateY(-2px) }`). An element that moves itself slides out from under a pointer near its edge and flickers. Optional previews wait for the pointer to settle: for a CSS reveal, set `transition-delay` on the hover state only, so leaving is not delayed.
68
+
69
+ ## Implement to the runtime
70
+
71
+ - Use CSS transitions and keyframes for declarative state and bounded sequences.
72
+ - Use Web Animations API or the project's existing motion library for interruption, sequencing, and dynamic values.
73
+ - Use View Transitions or shared-element techniques when continuity across states is the point.
74
+ - Use scroll-driven motion only when the scroll relationship itself carries meaning, with a robust fallback.
75
+ - Do not add a dependency for an effect the existing stack can express cleanly.
76
+
77
+ Keep content visible in the default state so failed scripts do not hide the page. Avoid casually animating layout-driving properties such as `width`, `height`, `top`, `left`, and margins; use FLIP, transforms, or grid techniques when appropriate. Bound blur, filter, shadow, canvas, and shader work to isolated regions. Apply `will-change` only during known animation. Measure on target viewports and devices rather than assuming transform means fast.
78
+
79
+ ## Accessibility and control
80
+
81
+ Respect autoplay and sound preferences. Any nonessential loop must stop when offscreen or hidden.
82
+
83
+ Every web animation needs a `prefers-reduced-motion` path with an intentional alternative. Remove or reduce spatial movement while preserving opacity, color, and state transitions that carry meaning. Reduced motion means fewer and gentler animations, not disabling all motion; feedback that confirms an action should remain legible.
84
+
85
+ ## Verify
86
+
87
+ On the web, capture implemented motion before calling it smooth. Use the skill-internal measuring verb (not a separate user command), once normally and once with reduced motion, with the same URL, interaction, and region:
88
+
89
+ ```sh
90
+ <skill-base-dir>/scripts/impeccable motion-capture <url> --click '<selector>' --region '<region-selector>' --out-dir .impeccable/review/motion/normal
91
+ <skill-base-dir>/scripts/impeccable motion-capture <url> --click '<selector>' --region '<region-selector>' --reduced-motion --out-dir .impeccable/review/motion/reduced
92
+ ```
93
+
94
+ For keyboard or multi-step interactions pass `--steps <json-file>` instead of `--click`, such as `[{"click":"#toggle"},{"press":"Enter"}]`; steps are click, hover, press (navigation keys), and wait (milliseconds). Capture each entrance and exit separately: for an exit, `--setup <json-file>` runs the same kind of steps and lets them settle before the first frame, such as opening the panel whose close is under review. The fixed capture points are before, first animated, evenly spaced middle, last animated, and settled frames. Inspect each directory's frame PNGs, `filmstrip.png`, and `report.json` before sending it: blank, wrong-region, stale, or missing evidence requires recapture. The report's limitations are unmeasured checks, not a clean result. Never judge motion by a single element or a single screenshot.
95
+
96
+ Spawn the shipped `impeccable-motion-reviewer` fresh (`impeccable_motion_reviewer` in Codex; `/impeccable-motion-reviewer` in Cursor; on GitHub Copilot say "Use the impeccable-motion-reviewer agent"), with no forked conversation history. Pass the original request, the motion thesis above, both capture directories (plus entrance and exit captures where applicable), DESIGN.md's motion rules if any, and the craft-floor reference path. The reviewer has no browser and reviews only the provided evidence. Never read its agent definition before spawning; the harness loads it. Wait with one long timeout; verify a disposition-first return with `continuity`, `craft`, `reduced_motion`, `material_fixes`, and `keep`. Respawn an empty or incomplete return once with the same packet. Only when the harness has no subagent capability, run a separate fresh pass from [degraded/motion-reviewer.md](degraded/motion-reviewer.md), and disclose the substitution at finish.
97
+
98
+ Act on the disposition. **recapture:** repair the named evidence and request a full review; invalid evidence binds no verdict. **fix:** apply the ordered material fixes in one batch, recapture normal and reduced motion over the same files, and continue the same reviewer for a verdict pass scoring each fix resolved, partial, or unresolved. Without continuation, pass the prior findings and new captures to a fresh reviewer. **ship:** report that word at the scope the reviewer actually checked. Two rounds maximum (initial review, then post-fix verdict); stop if a round resolves nothing. Report remaining fixes or missing evidence honestly at the ceiling; never turn a partial or unresolved verdict into a claim of smoothness.
99
+
100
+ - The focal motion is specific to the selected world and surface.
101
+ - Every supporting animation explains feedback, state, or relationship.
102
+ - Interruption and repeated use behave correctly.
103
+ - Desktop, mobile, and keyboard paths remain usable.
104
+ - The `prefers-reduced-motion` path reduces movement without erasing meaningful feedback or state changes.
105
+ - Expensive effects stay smooth on the target device.
106
+ - Removing an animation would lose meaning or authored character, not merely decoration.
107
+
108
+ When motion earns its place, hand off to `/impeccable polish` for the final pass.
@@ -0,0 +1,159 @@
1
+ <!-- Vendored from pbakaus/impeccable skill-v4.12.0 (Apache-2.0) and modified by the design plugin; see NOTICE. Written by scripts/vendor-impeccable.ts; do not edit. -->
2
+
3
+ Run systematic **technical** quality checks and generate a comprehensive report. Don't fix issues; document them for other commands to address.
4
+
5
+ This is a code-level audit, not a design critique. Check what's measurable and verifiable in the implementation.
6
+
7
+ **Web only.** Native platforms (`ios` / `android` / `adaptive`) route to [audit.native.md](audit.native.md) instead; if the project is native, switch to it now.
8
+
9
+ ## Diagnostic Scan
10
+
11
+ Run comprehensive checks across 5 dimensions. Score each dimension 0-4 using the criteria below.
12
+
13
+ ### 1. Accessibility (A11y)
14
+
15
+ **Check for**:
16
+ - **Contrast issues**: Text contrast ratios < 4.5:1, or < 3:1 for large text (or 7:1 for AAA)
17
+ - **Motion sensitivity**: `prefers-reduced-motion` needs an intentional alternative that preserves state change and hierarchy; flag a global `0.01ms` kill that destroys useful feedback, flashing above threshold, and motion that blocks focus, reading, or task completion
18
+ - **Missing ARIA**: Interactive elements without proper roles, labels, or states
19
+ - **Keyboard navigation**: Missing focus indicators, illogical tab order, keyboard traps
20
+ - **Semantic HTML**: Improper heading hierarchy, missing landmarks, divs instead of buttons
21
+ - **Alt text**: Missing or poor image descriptions
22
+ - **Form issues**: Inputs without labels, poor error messaging, missing required indicators
23
+
24
+ **Score 0-4**: 0=Inaccessible (fails WCAG A), 1=Major gaps (few ARIA labels, no keyboard nav), 2=Partial (some a11y effort, significant gaps), 3=Good (WCAG AA mostly met, minor gaps), 4=Excellent (WCAG AA fully met, approaches AAA)
25
+
26
+ ### 2. Performance
27
+
28
+ **Check for**:
29
+ - **Layout thrashing**: Reading/writing layout properties in loops
30
+ - **Expensive animations**: Casual layout-property animation, unbounded blur/filter/shadow effects, or effects that visibly drop frames
31
+ - **Missing optimization**: Images without lazy loading, unoptimized assets
32
+ - **will-change overuse**: `will-change` applied broadly or left on at rest (it is a targeted hint for known expensive animations, not a baseline requirement)
33
+ - **Bundle size**: Unnecessary imports, unused dependencies
34
+ - **Render performance**: Unnecessary re-renders, missing memoization
35
+
36
+ **Score 0-4**: 0=Severe issues (layout thrash, unoptimized everything), 1=Major problems (no lazy loading, expensive animations), 2=Partial (some optimization, gaps remain), 3=Good (mostly optimized, minor improvements possible), 4=Excellent (fast, lean, well-optimized)
37
+
38
+ ### 3. Theming
39
+
40
+ **Check for**:
41
+ - **Hard-coded colors**: Colors not using design tokens
42
+ - **Broken dark mode**: Missing dark mode variants, poor contrast in dark theme
43
+ - **Inconsistent tokens**: Using wrong tokens, mixing token types
44
+ - **Theme switching issues**: Values that don't update on theme change
45
+
46
+ **Score 0-4**: 0=No theming (hard-coded everything), 1=Minimal tokens (mostly hard-coded), 2=Partial (tokens exist but inconsistently used), 3=Good (tokens used, minor hard-coded values), 4=Excellent (full token system, dark mode works perfectly)
47
+
48
+ ### 4. Responsive Design
49
+
50
+ **Check for**:
51
+ - **Fixed widths**: Hard-coded widths that break on mobile
52
+ - **Touch targets**: Interactive elements < 44x44px. WCAG AA (SC 2.5.8) requires at least 24x24 CSS px unless an exception applies: spacing, an equivalent control, inline text, user-agent styling, or an essential size. Spacing passes when a 24 CSS px circle centered on the target's bounding box overlaps no other target and no other undersized target's circle
53
+ - **Broken touch interaction**: Custom sliders, drag surfaces, and scrollable control strips whose primary gesture fails under touch, that swallow page scroll or lose the drag to it, or that stay stuck after an interrupted gesture. Code tells: mouse-only handlers, no `touch-action` on a pointer-event drag surface, drag state that nothing clears on cancel, lost capture, or blur. Exercise the gesture when a browser tool can synthesize touch (a rendered viewport proves layout, not the gesture), then say what produced the evidence (emulated viewport, synthesized touch, which engine, physical device) and what stayed untested
54
+ - **Horizontal scroll**: Content overflow on narrow viewports
55
+ - **Text scaling**: Layouts that break when text size increases
56
+ - **Missing breakpoints**: No mobile/tablet variants
57
+
58
+ On RTL-declared pages, each of the following is a signal to verify the rendered result, not a defect in itself; flag only where the rendering is actually wrong:
59
+ - **Physical directional properties**: `margin-left/right`, `padding-left/right`, `text-align: left/right`, `float: left/right`, `border-left/right` where logical equivalents (`margin-inline-start/end`, `padding-inline-start/end`, `text-align: start/end`, `float: inline-start/end`, `border-inline-start/end`) would be expected. A direction-scoped override like `[dir="rtl"] .x { margin-right:1rem }` is correct only when it also clears the conflicting base property (e.g. `margin-left: 0`); without that, both margins apply
60
+ - **Physical positioning on positioned elements**: `left:` or `right:` instead of `inset-inline-start` / `inset-inline-end`. Note: `left:50%; transform:translateX(-50%)` is a direction-agnostic centering pattern that works correctly in both LTR and RTL; replacing `left` with `inset-inline-start` there breaks the centering because `translateX` is physical and does not mirror
61
+ - **Directional icons and assets**: arrows, chevrons, and navigation icons that point the wrong direction for the reading order. An RTL-only page may ship assets already drawn correctly without a `[dir="rtl"]` flip; verify the rendered icon rather than assuming a missing `transform: scaleX(-1)` is a defect
62
+
63
+ **RTL scope**: flag physical directional properties only on pages that declare `dir="rtl"` on the `<html>` or `<body>` element. A `lang` attribute alone does not set direction (browsers take direction from `dir`, never from `lang`), but treat an RTL-script `lang` (`ar`, `fa`, `ur`, `ps`, `ckb`, `he`, `yi`, `ug`, `sd`, `dv`) without an explicit `dir` as a signal worth noting.
64
+
65
+ **Score 0-4**: 0=Desktop-only (breaks on mobile), 1=Major issues (some breakpoints, many failures), 2=Partial (works on mobile, rough edges), 3=Good (responsive, minor touch target or overflow issues), 4=Excellent (fluid, all viewports, proper touch targets, gestures work under touch). On RTL-declared pages, reduce by 1 for pervasive rendered RTL failures
66
+
67
+ ### 5. Implementation Integrity (CRITICAL)
68
+
69
+ Run the bundled detector and verify each finding in context. Look for repeated implementation shortcuts, design-system drift, misleading or decorative content, and structure that is interchangeable with an unrelated product. Keep deterministic findings separate from visual judgment and call out false positives.
70
+
71
+ **Desktop apps** (Electron, NW.js, CEF, WebView2): launch the app with a local DevTools port (`--remote-debugging-port=9222`, or `WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS=--remote-debugging-port=9222` for WebView2; keep it on 127.0.0.1, never exposed), seed the state to audit, keep the window on screen (a hidden one skips the pixel contrast reads), then run `<skill-base-dir>/scripts/impeccable detect --cdp 9222 --target <part of the page URL or title> --json`. It returns the same JSON as a URL scan and leaves the window as found. Take screenshots through the harness's CDP tooling, and leave the window as you found it too. Tauri on macOS (WKWebView) and on Linux (WebKitGTK) expose no CDP: scan the source and say the rendered check did not run.
72
+
73
+ **Score 0-4**: 0=systemic drift, 1=major repeated failures, 2=several verified issues, 3=minor isolated issues, 4=coherent and intentional
74
+
75
+ ## Generate Report
76
+
77
+ ### Audit Health Score
78
+
79
+ | # | Dimension | Score | Key Finding |
80
+ |---|-----------|-------|-------------|
81
+ | 1 | Accessibility | ? | [most critical a11y issue or "--"] |
82
+ | 2 | Performance | ? | |
83
+ | 3 | Theming | ? | |
84
+ | 4 | Responsive Design | ? | |
85
+ | 5 | Implementation Integrity | ? | |
86
+ | **Total** | | **??/20** | **[Rating band]** |
87
+
88
+ **Rating bands**: 18-20 Excellent (minor polish), 14-17 Good (address weak dimensions), 10-13 Acceptable (significant work needed), 6-9 Poor (major overhaul), 0-5 Critical (fundamental issues)
89
+
90
+ ### Implementation Integrity Verdict
91
+ **Start here.** Pass/fail: does the implementation express a coherent product-specific system? Cite verified evidence and detector findings.
92
+
93
+ ### Executive Summary
94
+ - Audit Health Score: **??/20** ([rating band])
95
+ - Total issues found (count by severity: P0/P1/P2/P3)
96
+ - Top 3-5 critical issues
97
+ - Recommended next steps
98
+
99
+ ### Detailed Findings by Severity
100
+
101
+ Tag every issue with **P0-P3 severity**:
102
+ - **P0 Blocking**: Prevents task completion. Fix immediately
103
+ - **P1 Major**: Significant difficulty or WCAG AA violation. Fix before release
104
+ - **P2 Minor**: Annoyance, workaround exists. Fix in next pass
105
+ - **P3 Polish**: Nice-to-fix, no real user impact. Fix if time permits
106
+
107
+ For each issue, document:
108
+ - **[P?] Issue name**
109
+ - **Location**: Component, file, line
110
+ - **Category**: Accessibility / Performance / Theming / Responsive / Implementation Integrity
111
+ - **Impact**: How it affects users
112
+ - **WCAG/Standard**: Which standard it violates (if applicable)
113
+ - **Recommendation**: How to fix it
114
+ - **Suggested command**: Which command to use (prefer: /impeccable adapt, /impeccable animate, /impeccable audit, /impeccable bolder, /impeccable clarify, /impeccable colorize, /impeccable critique, /impeccable delight, /impeccable distill, /impeccable document, /impeccable harden, /impeccable layout, /impeccable onboard, /impeccable optimize, /impeccable overdrive, /impeccable polish, /impeccable quieter, /impeccable shape, /impeccable typeset)
115
+
116
+ ### Patterns & Systemic Issues
117
+
118
+ Identify recurring problems that indicate systemic gaps rather than one-off mistakes:
119
+ - "Hard-coded colors appear in 15+ components, should use design tokens"
120
+ - "Touch targets consistently too small (<44px) throughout mobile experience"
121
+
122
+ ### Positive Findings
123
+
124
+ Note what's working well: good practices to maintain and replicate.
125
+
126
+ ## Recommended Actions
127
+
128
+ List recommended commands in priority order (P0 first, then P1, then P2):
129
+
130
+ 1. **[P?] `/command-name`**: Brief description (specific context from audit findings)
131
+ 2. **[P?] `/command-name`**: Brief description (specific context)
132
+
133
+ **Rules**: Only recommend commands from: /impeccable adapt, /impeccable animate, /impeccable audit, /impeccable bolder, /impeccable clarify, /impeccable colorize, /impeccable critique, /impeccable delight, /impeccable distill, /impeccable document, /impeccable harden, /impeccable layout, /impeccable onboard, /impeccable optimize, /impeccable overdrive, /impeccable polish, /impeccable quieter, /impeccable shape, /impeccable typeset. Map findings to the most appropriate command. End with `/impeccable polish` as the final step if any fixes were recommended.
134
+
135
+ After presenting the summary, tell the user:
136
+
137
+ > You can ask me to run these one at a time, all at once, or in any order you prefer.
138
+ >
139
+ > Re-run `/impeccable audit` after fixes to see your score improve.
140
+
141
+ Keep P3s few: a long tail of minor issues buries the ones that matter.
142
+
143
+ **Avoid**:
144
+ - Report issues without explaining impact (why does this matter?)
145
+ - Provide generic recommendations (be specific and actionable)
146
+ - Skip positive findings (celebrate what works)
147
+ - Forget to prioritize (everything can't be P0)
148
+ - Report false positives without verification
149
+
150
+ ## Save the Report
151
+
152
+ After the report is delivered, save a copy so the findings outlive this conversation: write it, from the score table through Recommended Actions, to a temp file, then run the write command with the scores as metadata and delete the temp file:
153
+
154
+ ```bash
155
+ IMPECCABLE_REPORT_META='{"target":"<user phrasing, or .>","title":"<page title, or empty>","total_score":<n>,"max_score":20,"p0_count":<n>,"p1_count":<n>,"p2_count":<n>,"p3_count":<n>}' \
156
+ <skill-base-dir>/scripts/impeccable audit-storage write "<resolved target, or . for the whole project>" <temp-file>
157
+ ```
158
+
159
+ Use the observed `<title>` or first h1 for `title`; leave it empty when unknown. The helper prints the path it wrote, which you mention in one line. Pass any `Saved to Impeccable: <url>` or `Not saved to Impeccable: <reason>` line on to the person word for word; `REPORTS OFF:` means the project opted out, and you mention nothing. Saving never replaces delivering: the user reads the report in chat first.
@@ -0,0 +1,152 @@
1
+ <!-- Vendored from pbakaus/impeccable skill-v4.12.0 (Apache-2.0) and modified by the design plugin; see NOTICE. Written by scripts/vendor-impeccable.ts; do not edit. -->
2
+
3
+ Run systematic **technical** quality checks on a native app (`ios` / `android` / `adaptive`) and generate a comprehensive report. Don't fix issues; document them for other commands to address.
4
+
5
+ This is a code-level audit, not a design critique. Audit from source (SwiftUI / UIKit / Compose / React Native / Flutter); no browser tooling or `impeccable detect` applies. Score against the platform reference(s): [ios.md](ios.md) / [android.md](android.md), both for `adaptive`. Read them before scoring if Setup hasn't already. The report skeleton mirrors [audit.md](audit.md); keep the two in sync when changing it.
6
+
7
+ ## Diagnostic Scan
8
+
9
+ Run comprehensive checks across 5 dimensions. Score each dimension 0-4 using the criteria below.
10
+
11
+ ### 1. Accessibility (VoiceOver / TalkBack)
12
+
13
+ **Check for**:
14
+ - **Missing labels**: interactive elements without accessibility labels, traits/roles, or state announcements
15
+ - **Reading and focus order**: illogical traversal, unreachable controls, focus lost on navigation
16
+ - **Text scaling**: fixed point sizes defeating Dynamic Type (iOS) or px instead of sp (Android); layouts that clip or overlap at large sizes
17
+ - **Touch targets**: below 44 pt (iOS) / 48 dp (Android), or crammed without spacing
18
+ - **Reduce Motion ignored**: parallax and large slides with no crossfade alternative
19
+ - **Contrast**: text failing contrast in either appearance, light or dark
20
+
21
+ **Score 0-4**: 0=Screen reader unusable, 1=Major gaps (unlabeled controls, no scaling), 2=Partial (labels exist, order or scaling breaks), 3=Good (minor gaps), 4=Excellent (labeled, ordered, scales cleanly, Reduce Motion honored)
22
+
23
+ ### 2. Performance
24
+
25
+ **Check for**:
26
+ - **Slow startup**: heavy work on launch before first frame
27
+ - **Unvirtualized lists**: long content without FlatList / LazyColumn / List recycling
28
+ - **Main-thread jank**: synchronous work in scroll or gesture paths, dropped frames on 60/120 Hz
29
+ - **Wasted rendering**: unnecessary re-renders (React Native) or recompositions (Compose); missing memoization/keys
30
+ - **Image handling**: full-size images decoded for thumbnails, no caching
31
+ - **App weight**: bloated JS bundle or binary, unused dependencies
32
+
33
+ **Score 0-4**: 0=Janky everywhere, 1=Major problems (unvirtualized lists, slow launch), 2=Partial, 3=Good (minor improvements possible), 4=Excellent (fast launch, smooth scroll, lean)
34
+
35
+ ### 3. Appearance & Theming
36
+
37
+ **Check for**:
38
+ - **Hard-coded colors**: raw hex instead of semantic system colors (iOS) / Material color roles (Android) / design tokens
39
+ - **Broken dark appearance**: missing dark variants, poor contrast in dark, quick inverts
40
+ - **Dynamic Color** (Android 12+): no static fallback scheme, or ignored where it fits
41
+ - **Off-platform materials**: hand-rolled visual materials where system materials or tonal elevation are expected
42
+
43
+ **Score 0-4**: 0=Hard-coded everything, 1=Minimal tokens, 2=Partial (tokens exist, inconsistently used), 3=Good (minor hard-coded values), 4=Excellent (semantic throughout, both appearances first-class)
44
+
45
+ ### 4. Platform Conformance (CRITICAL)
46
+
47
+ Score against the loaded platform reference(s), including their slop tests. **Check for**:
48
+ - **Broken system gestures**: edge-swipe back disabled (iOS), predictive Back hijacked (Android)
49
+ - **Inset violations**: content under the notch, Dynamic Island, home indicator, status bar, or keyboard
50
+ - **Off-platform navigation**: custom global nav, overloaded tab bars, iOS patterns on Android or vice versa
51
+ - **Web-shaped controls**: HTML-style buttons, custom toggles, hover-dependent affordances
52
+ - **Icon drift**: mixed icon sets instead of SF Symbols / Material Symbols
53
+ - **System drift**: repeated shortcuts or decorative patterns that conflict with the product, platform, or established design system
54
+
55
+ **Score 0-4**: 0=Web port (nothing native), 1=Heavy violations (3-4 kinds), 2=Some (1-2 noticeable), 3=Mostly conformant (subtle issues), 4=Fully native (a fluent user trusts every screen)
56
+
57
+ ### 5. Adaptivity
58
+
59
+ **Check for**:
60
+ - **Stretched phone layouts**: tablet/iPad rendering a scaled-up phone UI instead of using size classes / window size classes
61
+ - **Orientation breakage**: landscape clipping, ignored, or locked without reason
62
+ - **Keyboard/IME handling**: inputs hidden behind the keyboard, no inset adjustment
63
+ - **Multitasking**: iPad Split View / Android multi-window breaking layout
64
+ - **Foldables**: hinge-unaware layouts on posture change (Android)
65
+
66
+ **Score 0-4**: 0=One screen size only, 1=Major breakage (landscape or tablet broken), 2=Partial, 3=Good (minor edge cases), 4=Excellent (adapts across sizes, orientations, and windowing)
67
+
68
+ ## Generate Report
69
+
70
+ ### Audit Health Score
71
+
72
+ | # | Dimension | Score | Key Finding |
73
+ |---|-----------|-------|-------------|
74
+ | 1 | Accessibility | ? | [most critical issue or "--"] |
75
+ | 2 | Performance | ? | |
76
+ | 3 | Appearance & Theming | ? | |
77
+ | 4 | Platform Conformance | ? | |
78
+ | 5 | Adaptivity | ? | |
79
+ | **Total** | | **??/20** | **[Rating band]** |
80
+
81
+ **Rating bands**: 18-20 Excellent (minor polish), 14-17 Good (address weak dimensions), 10-13 Acceptable (significant work needed), 6-9 Poor (major overhaul), 0-5 Critical (fundamental issues)
82
+
83
+ ### Platform Conformance Verdict
84
+ **Start here.** Pass/fail: does this read as a native app or a ported website? List specific violations. Be brutally honest.
85
+
86
+ ### Executive Summary
87
+ - Audit Health Score: **??/20** ([rating band])
88
+ - Total issues found (count by severity: P0/P1/P2/P3)
89
+ - Top 3-5 critical issues
90
+ - Recommended next steps
91
+
92
+ ### Detailed Findings by Severity
93
+
94
+ Tag every issue with **P0-P3 severity**:
95
+ - **P0 Blocking**: Prevents task completion. Fix immediately
96
+ - **P1 Major**: Significant difficulty or platform-guideline violation. Fix before release
97
+ - **P2 Minor**: Annoyance, workaround exists. Fix in next pass
98
+ - **P3 Polish**: Nice-to-fix, no real user impact. Fix if time permits
99
+
100
+ For each issue, document:
101
+ - **[P?] Issue name**
102
+ - **Location**: Screen, file, line
103
+ - **Category**: Accessibility / Performance / Theming / Conformance / Adaptivity
104
+ - **Impact**: How it affects users
105
+ - **Guideline**: The HIG / Material rule it violates (if applicable)
106
+ - **Recommendation**: How to fix it
107
+ - **Suggested command**: Which command to use (prefer: /impeccable adapt, /impeccable animate, /impeccable audit, /impeccable bolder, /impeccable clarify, /impeccable colorize, /impeccable critique, /impeccable delight, /impeccable distill, /impeccable document, /impeccable harden, /impeccable layout, /impeccable onboard, /impeccable optimize, /impeccable overdrive, /impeccable polish, /impeccable quieter, /impeccable shape, /impeccable typeset)
108
+
109
+ ### Patterns & Systemic Issues
110
+
111
+ Identify recurring problems that indicate systemic gaps rather than one-off mistakes:
112
+ - "Hard-coded colors appear in 15+ screens, should use semantic colors"
113
+ - "Touch targets consistently below 44 pt throughout the tab bar and list rows"
114
+
115
+ ### Positive Findings
116
+
117
+ Note what's working well: good practices to maintain and replicate.
118
+
119
+ ## Recommended Actions
120
+
121
+ List recommended commands in priority order (P0 first, then P1, then P2):
122
+
123
+ 1. **[P?] `/command-name`**: Brief description (specific context from audit findings)
124
+ 2. **[P?] `/command-name`**: Brief description (specific context)
125
+
126
+ **Rules**: Only recommend commands from: /impeccable adapt, /impeccable animate, /impeccable audit, /impeccable bolder, /impeccable clarify, /impeccable colorize, /impeccable critique, /impeccable delight, /impeccable distill, /impeccable document, /impeccable harden, /impeccable layout, /impeccable onboard, /impeccable optimize, /impeccable overdrive, /impeccable polish, /impeccable quieter, /impeccable shape, /impeccable typeset. Map findings to the most appropriate command. End with `/impeccable polish` as the final step if any fixes were recommended.
127
+
128
+ After presenting the summary, tell the user:
129
+
130
+ > You can ask me to run these one at a time, all at once, or in any order you prefer.
131
+ >
132
+ > Re-run `/impeccable audit` after fixes to see your score improve.
133
+
134
+ Keep P3s few: a long tail of minor issues buries the ones that matter.
135
+
136
+ **Avoid**:
137
+ - Report issues without explaining impact (why does this matter?)
138
+ - Provide generic recommendations (be specific and actionable)
139
+ - Skip positive findings (celebrate what works)
140
+ - Forget to prioritize (everything can't be P0)
141
+ - Report false positives without verification
142
+
143
+ ## Save the Report
144
+
145
+ After the report is delivered, save a copy so the findings outlive this conversation: write it, from the score table through Recommended Actions, to a temp file, then run the write command with the scores as metadata and delete the temp file:
146
+
147
+ ```bash
148
+ IMPECCABLE_REPORT_META='{"target":"<user phrasing, or .>","total_score":<n>,"max_score":20,"p0_count":<n>,"p1_count":<n>,"p2_count":<n>,"p3_count":<n>}' \
149
+ <skill-base-dir>/scripts/impeccable audit-storage write "<resolved target, or . for the whole project>" <temp-file>
150
+ ```
151
+
152
+ The helper prints the path it wrote, which you mention in one line; `REPORTS OFF:` means the project opted out, and you mention nothing. Saving never replaces delivering: the user reads the report in chat first.
@@ -0,0 +1,33 @@
1
+ > **Additional context needed**: which section is the target, and what must stay untouched.
2
+
3
+ An open direction round owns the word first: "bolder" said while a direction decision is on the table is the Bolder hand register steer, a fresh deal of foreign forms (see new-work.md), not this command. This command refines a surface whose world already shipped.
4
+
5
+ "Bolder" is an amplification request, and almost always it is scoped to something that already exists. The surrounding page, its system, and its conventions are the given. Your job is to raise one part to the conviction the rest already implies, without rebuilding anything the brief did not name. The reflex answer, reaching for more effects, is the opposite of bold; reject it first.
6
+
7
+ ## Scope is sovereign
8
+
9
+ "Everything else stays" is a literal instruction. Touch only the named target. Do not restyle its neighbors, do not migrate the page to a new idea, do not add colors, fonts, radii, shadows, or system primitives the surface does not already own. If the existing system genuinely cannot express the direction, do not expand it on your own. Ask the user directly to clarify what you cannot infer. Name the exact addition and the job it would do.
10
+
11
+ ## Why it reads flat
12
+
13
+ A section usually reads flat for reasons its neighbors have already solved. Look at what the rest of the page does that this section does not: the display type at full strength, the structural devices that carry meaning, the signature motif, the density and pacing. A flat section is typically one that quietly opts out of the system's own strongest moves. The most reliable bolder pass brings the target up to the expressive level its neighbors already reach, in the system's own vocabulary rather than a new one.
14
+
15
+ ## The amplification
16
+
17
+ - **Amplify what the system already owns.** Reuse its motif and its type scale at full strength, turned up for this section rather than invented for it. The bolder version should look more like the same brand, not less.
18
+ - **Keep content true.** Existing claims are part of the scope: preserve them unless the user supplies replacements. If real evidence is essential to the direction but absent, ask for it.
19
+ - **Commit, then clarify.** Half-measures read as noise. Make the one decisive move completely, then quiet everything around it so the move is legible. If every element got louder, the section got flatter.
20
+ - **Give it its own rhythm.** The target should read as a peak in the scroll, a shift in density or pace from what surrounds it, not simply more of the same.
21
+
22
+ ## The skeleton test
23
+
24
+ Strip the copy out of your planned section and study the bare structure. Does the skeleton still say what this section is and why it matters, through hierarchy and the system's devices alone? If it only works once the words return, the boldness is in the text size, not the design. A placeholder for an image or artifact names a job, an anchor and a piece of evidence, not a cue to drop in a decorative photo; fill that job with whatever the subject actually has.
25
+
26
+ ## Before you finish
27
+
28
+ - Everything outside the named target is unchanged.
29
+ - No new color, font, or system primitive appeared without being asked for.
30
+ - The conventions the section carried, including anything that drives an action, still work the same way.
31
+ - The section is unmistakably the same brand, only more sure of itself.
32
+
33
+ When the target holds its own without pulling the page apart, hand off to `/impeccable polish` for the final pass.
@@ -0,0 +1,94 @@
1
+ > **Additional context needed**: audience knowledge and emotional state.
2
+
3
+ Rewrite unclear interface text so users understand what happened, what matters, and what to do next. Preserve factual meaning, product terminology, and brand voice.
4
+
5
+ ## Audit the language
6
+
7
+ Read the entire interaction path, not isolated strings. Identify:
8
+
9
+ - ambiguous nouns, verbs, and actions;
10
+ - internal jargon or assumed knowledge;
11
+ - vague labels, outcomes, and system states;
12
+ - missing consequences, recovery, or timing;
13
+ - inconsistent terminology and capitalization;
14
+ - redundant headings, intros, helper text, and confirmations;
15
+ - text that breaks at realistic widths or in translation;
16
+ - tone that ignores stress, risk, success, or urgency.
17
+
18
+ Infer audience and task from product context and surrounding UI. Ask before changing factual claims, legal meaning, or a term that may be domain-specific.
19
+
20
+ ## Set the message hierarchy
21
+
22
+ For each state, decide:
23
+
24
+ 1. the one fact the user needs now;
25
+ 2. the action available next;
26
+ 3. supporting context that changes the decision;
27
+ 4. the appropriate tone for this moment.
28
+
29
+ Say each idea once. If the heading already explains the state, the introduction should add new information or disappear.
30
+
31
+ ## Rewrite by function
32
+
33
+ ### Actions and navigation
34
+
35
+ Use a specific verb and object when the outcome is not already obvious. Labels should describe what will happen, not the gesture used to trigger it. Keep the same noun and verb for the same concept throughout the product.
36
+
37
+ For destructive actions, name the object and consequence. Prefer undo over confirmation when recovery is safe. When confirmation is necessary, name the action on both the message and button instead of using `Yes`, `No`, `OK`, or `Submit`.
38
+
39
+ ### Forms
40
+
41
+ Use persistent labels; placeholders are examples, not labels. Put format and eligibility requirements before submission. Explain why information is requested only when it is not obvious. Required and optional treatment should be consistent.
42
+
43
+ Validation says what needs attention and how to correct it without blaming the user. Keep related instructions near the field and announce errors accessibly.
44
+
45
+ ### Errors and permissions
46
+
47
+ An actionable error answers:
48
+
49
+ 1. what failed;
50
+ 2. why, when known and useful;
51
+ 3. how to recover or what alternative remains.
52
+
53
+ Do not expose internal codes as the primary message. Do not promise a cause or resolution the system cannot know. Treat privacy, payment, deletion, access loss, and blocked work seriously; warmth is welcome, jokes are not.
54
+
55
+ ### Loading, empty, and success states
56
+
57
+ Loading text names the real operation and sets an honest expectation when the wait is meaningful. Show determinate progress when available; never invent progress.
58
+
59
+ An empty state distinguishes first use, no results, filters, permissions, and failure. Explain the state and provide the next useful action.
60
+
61
+ Success confirms the completed outcome and mentions the next consequence only when it changes what the user should do. Routine success should be brief.
62
+
63
+ ### Help and instructional text
64
+
65
+ Helper text answers an implicit question instead of restating the control. Use progressive disclosure for uncommon detail. Link text must make sense out of context; icon-only controls need accessible names.
66
+
67
+ ## Voice, accessibility, and localization
68
+
69
+ Voice stays consistent; tone adapts to the moment. Use plain language without flattening terminology the audience genuinely knows.
70
+
71
+ - Write complete translatable messages rather than concatenated fragments.
72
+ - Keep variables and numbers structured so translators can reorder them.
73
+ - Allow expansion instead of abbreviating prematurely.
74
+ - Make alt text convey the image's information; use empty alt for decoration.
75
+ - Keep screen-reader names aligned with visible labels and outcomes.
76
+ - Do not rely on punctuation, color, or iconography to carry the message alone.
77
+
78
+ Maintain a short terminology glossary when inconsistency spans the product. Do not vary words for literary effect in an interface.
79
+
80
+ ## Verify
81
+
82
+ Read the flow in context and test:
83
+
84
+ - comprehension without hidden product knowledge;
85
+ - actionability at errors, empty states, and decision points;
86
+ - factual accuracy and consistent terminology;
87
+ - scanability at target widths and 200% zoom;
88
+ - long names, localization expansion, pluralization, and dynamic values;
89
+ - accessible names and announced state changes;
90
+ - tone appropriate to consequence and emotional context.
91
+
92
+ The final copy is as short as it can be without removing meaning or recovery.
93
+
94
+ When the language reads cleanly, hand off to `/impeccable polish` for the final pass.
@@ -0,0 +1,86 @@
1
+ > **Additional context needed**: existing brand colors.
2
+
3
+ Introduce color as hierarchy, meaning, and atmosphere. Preserve confirmed brand and semantic conventions; do not replace a visual world under the guise of colorizing it.
4
+
5
+ ---
6
+
7
+ ## Visitor mode
8
+
9
+ - **Persuade + Experience:** color may carry the voice and own large regions when the selected world calls for it.
10
+ - **Operate + Read:** color primarily encodes action, selection, status, wayfinding, and reading hierarchy. Rarity gives an accent force.
11
+
12
+ ## Audit before choosing
13
+
14
+ Read DESIGN.md, tokens, assets, current themes, and representative states. Identify:
15
+
16
+ - which colors are confirmed brand commitments;
17
+ - current surface, text, action, and semantic roles;
18
+ - places where grayscale obscures hierarchy or state;
19
+ - contrast failures and color-only communication;
20
+ - light/dark or data-visualization requirements;
21
+ - whether the task asks for more color or a new identity.
22
+
23
+ If a new identity is required, use [new-work.md](new-work.md). Ask only when a binding brand decision cannot be inferred.
24
+
25
+ ## Choose a strategy
26
+
27
+ Name the intended emotional temperature, dominant relationship, contrast range, and color dosage before editing. The strategy may be restrained or immersive; it must follow the brief and selected world rather than a fixed percentage rule.
28
+
29
+ Build roles, not a bag of swatches:
30
+
31
+ - canvas and elevated surfaces;
32
+ - primary and secondary text;
33
+ - action, focus, and selection;
34
+ - borders and separators;
35
+ - success, warning, error, and information;
36
+ - data categories or scales when needed.
37
+
38
+ Use the project's existing color space. For a new web palette, prefer OKLCH because lightness and chroma can be adjusted predictably. Choose hue from product meaning and visual direction, never from a default category association.
39
+
40
+ ## Apply at system scale
41
+
42
+ - Let the strongest color own a deliberate region or role instead of scattering tiny accents.
43
+ - Keep the primary action easy to find; do not spend its color on decoration.
44
+ - Tint neutrals only when the brand hue genuinely creates cohesion. Neutral gray is valid when it serves the world.
45
+ - On colored surfaces, derive secondary text from the foreground or surface hue rather than using washed-out generic gray.
46
+ - Keep semantic meanings consistent, but respect platform and domain conventions instead of assuming fixed hues.
47
+ - For data, use distinct lightness, chroma, shape, label, or pattern so color is not the only code.
48
+ - In dark mode, design surface elevation and contrast explicitly; do not invert the light theme mechanically.
49
+ - Define primitive values and semantic tokens when the project has a token system. Theme changes should normally remap semantic roles.
50
+
51
+ Decoration without a relationship to hierarchy, state, content, or the visual world is not a color strategy.
52
+
53
+ ## Contrast and perception
54
+
55
+ Verify computed foreground/background pairs:
56
+
57
+ | Content | WCAG AA minimum |
58
+ |---|---|
59
+ | body text | 4.5:1 |
60
+ | large text | 3:1 |
61
+ | controls, icons, focus indicators | 3:1 |
62
+
63
+ Do not rely on eyesight alone. Check interactive states, overlays, text on images, disabled content, and both themes. Simulate common vision deficiencies. Information conveyed by color also needs text, shape, iconography, or position.
64
+
65
+ When deriving OKLCH ramps, vary lightness and reduce chroma near white and black. Do not keep high chroma at extreme lightness merely to make the math uniform. Prefer explicit colors over chains of translucent overlays when alpha would make contrast context-dependent.
66
+
67
+ ## Verify
68
+
69
+ - Every color has a stable role or a world-specific atmospheric purpose.
70
+ - Attention lands on the intended action, content, or state.
71
+ - The palette works across quiet, dense, interactive, error, and empty states.
72
+ - Light and dark themes are each composed, not mechanically inverted.
73
+ - Contrast and non-color cues pass in all relevant states.
74
+ - The result is recognizably this product, not a generic “colorful” treatment.
75
+
76
+ When the palette earns its place, hand off to `/impeccable polish` for the final pass.
77
+
78
+ ## Live-mode signature params
79
+
80
+ When invoked from live mode, every variant declares a `color-amount` parameter. Author CSS against `var(--p-color-amount, 0.5)` so the user can move from neutral to the variant's full color strategy without regeneration.
81
+
82
+ ```json
83
+ {"id":"color-amount","kind":"range","min":0,"max":1,"step":0.05,"default":0.5,"label":"Color amount"}
84
+ ```
85
+
86
+ Add at most two variant-specific parameters, such as palette, temperature, or tint behavior. Follow [live.md](live.md)'s parameter contract.