ui-ux-pro-max-cli 2.8.8

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 (160) hide show
  1. package/README.md +99 -0
  2. package/assets/data/_sync_all.py +414 -0
  3. package/assets/data/app-interface.csv +31 -0
  4. package/assets/data/charts.csv +26 -0
  5. package/assets/data/colors.csv +162 -0
  6. package/assets/data/design.csv +1776 -0
  7. package/assets/data/draft.csv +1779 -0
  8. package/assets/data/google-fonts.csv +1924 -0
  9. package/assets/data/icons.csv +106 -0
  10. package/assets/data/landing.csv +35 -0
  11. package/assets/data/products.csv +162 -0
  12. package/assets/data/react-performance.csv +45 -0
  13. package/assets/data/stacks/angular.csv +51 -0
  14. package/assets/data/stacks/astro.csv +54 -0
  15. package/assets/data/stacks/flutter.csv +53 -0
  16. package/assets/data/stacks/html-tailwind.csv +56 -0
  17. package/assets/data/stacks/javafx.csv +76 -0
  18. package/assets/data/stacks/jetpack-compose.csv +53 -0
  19. package/assets/data/stacks/laravel.csv +51 -0
  20. package/assets/data/stacks/nextjs.csv +53 -0
  21. package/assets/data/stacks/nuxt-ui.csv +71 -0
  22. package/assets/data/stacks/nuxtjs.csv +59 -0
  23. package/assets/data/stacks/react-native.csv +52 -0
  24. package/assets/data/stacks/react.csv +54 -0
  25. package/assets/data/stacks/shadcn.csv +61 -0
  26. package/assets/data/stacks/svelte.csv +54 -0
  27. package/assets/data/stacks/swiftui.csv +51 -0
  28. package/assets/data/stacks/threejs.csv +54 -0
  29. package/assets/data/stacks/vue.csv +50 -0
  30. package/assets/data/styles.csv +85 -0
  31. package/assets/data/typography.csv +74 -0
  32. package/assets/data/ui-reasoning.csv +162 -0
  33. package/assets/data/ux-guidelines.csv +100 -0
  34. package/assets/scripts/core.py +263 -0
  35. package/assets/scripts/design_system.py +1157 -0
  36. package/assets/scripts/search.py +114 -0
  37. package/assets/skills/banner-design/SKILL.md +196 -0
  38. package/assets/skills/banner-design/references/banner-sizes-and-styles.md +118 -0
  39. package/assets/skills/brand/SKILL.md +97 -0
  40. package/assets/skills/brand/references/approval-checklist.md +169 -0
  41. package/assets/skills/brand/references/asset-organization.md +157 -0
  42. package/assets/skills/brand/references/brand-guideline-template.md +140 -0
  43. package/assets/skills/brand/references/color-palette-management.md +186 -0
  44. package/assets/skills/brand/references/consistency-checklist.md +94 -0
  45. package/assets/skills/brand/references/logo-usage-rules.md +185 -0
  46. package/assets/skills/brand/references/messaging-framework.md +85 -0
  47. package/assets/skills/brand/references/typography-specifications.md +214 -0
  48. package/assets/skills/brand/references/update.md +118 -0
  49. package/assets/skills/brand/references/visual-identity.md +96 -0
  50. package/assets/skills/brand/references/voice-framework.md +88 -0
  51. package/assets/skills/brand/scripts/extract-colors.cjs +341 -0
  52. package/assets/skills/brand/scripts/inject-brand-context.cjs +349 -0
  53. package/assets/skills/brand/scripts/sync-brand-to-tokens.cjs +266 -0
  54. package/assets/skills/brand/scripts/validate-asset.cjs +387 -0
  55. package/assets/skills/brand/templates/brand-guidelines-starter.md +275 -0
  56. package/assets/skills/design/SKILL.md +313 -0
  57. package/assets/skills/design/data/cip/deliverables.csv +51 -0
  58. package/assets/skills/design/data/cip/industries.csv +21 -0
  59. package/assets/skills/design/data/cip/mockup-contexts.csv +21 -0
  60. package/assets/skills/design/data/cip/styles.csv +21 -0
  61. package/assets/skills/design/data/icon/styles.csv +16 -0
  62. package/assets/skills/design/data/logo/colors.csv +56 -0
  63. package/assets/skills/design/data/logo/industries.csv +56 -0
  64. package/assets/skills/design/data/logo/styles.csv +56 -0
  65. package/assets/skills/design/references/banner-sizes-and-styles.md +118 -0
  66. package/assets/skills/design/references/cip-deliverable-guide.md +95 -0
  67. package/assets/skills/design/references/cip-design.md +121 -0
  68. package/assets/skills/design/references/cip-prompt-engineering.md +84 -0
  69. package/assets/skills/design/references/cip-style-guide.md +68 -0
  70. package/assets/skills/design/references/design-routing.md +207 -0
  71. package/assets/skills/design/references/icon-design.md +122 -0
  72. package/assets/skills/design/references/logo-color-psychology.md +101 -0
  73. package/assets/skills/design/references/logo-design.md +92 -0
  74. package/assets/skills/design/references/logo-prompt-engineering.md +158 -0
  75. package/assets/skills/design/references/logo-style-guide.md +109 -0
  76. package/assets/skills/design/references/slides-copywriting-formulas.md +84 -0
  77. package/assets/skills/design/references/slides-create.md +4 -0
  78. package/assets/skills/design/references/slides-html-template.md +295 -0
  79. package/assets/skills/design/references/slides-layout-patterns.md +137 -0
  80. package/assets/skills/design/references/slides-strategies.md +94 -0
  81. package/assets/skills/design/references/slides.md +42 -0
  82. package/assets/skills/design/references/social-photos-design.md +329 -0
  83. package/assets/skills/design/scripts/cip/core.py +215 -0
  84. package/assets/skills/design/scripts/cip/generate.py +484 -0
  85. package/assets/skills/design/scripts/cip/render-html.py +424 -0
  86. package/assets/skills/design/scripts/cip/search.py +127 -0
  87. package/assets/skills/design/scripts/icon/generate.py +487 -0
  88. package/assets/skills/design/scripts/logo/core.py +175 -0
  89. package/assets/skills/design/scripts/logo/generate.py +362 -0
  90. package/assets/skills/design/scripts/logo/search.py +114 -0
  91. package/assets/skills/design-system/SKILL.md +244 -0
  92. package/assets/skills/design-system/data/slide-backgrounds.csv +11 -0
  93. package/assets/skills/design-system/data/slide-charts.csv +26 -0
  94. package/assets/skills/design-system/data/slide-color-logic.csv +14 -0
  95. package/assets/skills/design-system/data/slide-copy.csv +26 -0
  96. package/assets/skills/design-system/data/slide-layout-logic.csv +16 -0
  97. package/assets/skills/design-system/data/slide-layouts.csv +26 -0
  98. package/assets/skills/design-system/data/slide-strategies.csv +16 -0
  99. package/assets/skills/design-system/data/slide-typography.csv +15 -0
  100. package/assets/skills/design-system/references/component-specs.md +236 -0
  101. package/assets/skills/design-system/references/component-tokens.md +214 -0
  102. package/assets/skills/design-system/references/primitive-tokens.md +203 -0
  103. package/assets/skills/design-system/references/semantic-tokens.md +215 -0
  104. package/assets/skills/design-system/references/states-and-variants.md +241 -0
  105. package/assets/skills/design-system/references/tailwind-integration.md +251 -0
  106. package/assets/skills/design-system/references/token-architecture.md +224 -0
  107. package/assets/skills/design-system/scripts/embed-tokens.cjs +99 -0
  108. package/assets/skills/design-system/scripts/fetch-background.py +317 -0
  109. package/assets/skills/design-system/scripts/generate-slide.py +770 -0
  110. package/assets/skills/design-system/scripts/generate-tokens.cjs +205 -0
  111. package/assets/skills/design-system/scripts/html-token-validator.py +327 -0
  112. package/assets/skills/design-system/scripts/search-slides.py +218 -0
  113. package/assets/skills/design-system/scripts/slide-token-validator.py +35 -0
  114. package/assets/skills/design-system/scripts/slide_search_core.py +453 -0
  115. package/assets/skills/design-system/scripts/validate-tokens.cjs +251 -0
  116. package/assets/skills/design-system/templates/design-tokens-starter.json +143 -0
  117. package/assets/skills/slides/SKILL.md +40 -0
  118. package/assets/skills/slides/references/copywriting-formulas.md +84 -0
  119. package/assets/skills/slides/references/create.md +4 -0
  120. package/assets/skills/slides/references/html-template.md +295 -0
  121. package/assets/skills/slides/references/layout-patterns.md +137 -0
  122. package/assets/skills/slides/references/slide-strategies.md +94 -0
  123. package/assets/skills/ui-styling/LICENSE.txt +202 -0
  124. package/assets/skills/ui-styling/SKILL.md +324 -0
  125. package/assets/skills/ui-styling/references/canvas-design-system.md +320 -0
  126. package/assets/skills/ui-styling/references/shadcn-accessibility.md +471 -0
  127. package/assets/skills/ui-styling/references/shadcn-components.md +424 -0
  128. package/assets/skills/ui-styling/references/shadcn-theming.md +373 -0
  129. package/assets/skills/ui-styling/references/tailwind-customization.md +483 -0
  130. package/assets/skills/ui-styling/references/tailwind-responsive.md +382 -0
  131. package/assets/skills/ui-styling/references/tailwind-utilities.md +455 -0
  132. package/assets/skills/ui-styling/scripts/requirements.txt +17 -0
  133. package/assets/skills/ui-styling/scripts/shadcn_add.py +308 -0
  134. package/assets/skills/ui-styling/scripts/tailwind_config_gen.py +473 -0
  135. package/assets/skills/ui-styling/scripts/tests/coverage-ui.json +1 -0
  136. package/assets/skills/ui-styling/scripts/tests/requirements.txt +3 -0
  137. package/assets/skills/ui-styling/scripts/tests/test_shadcn_add.py +266 -0
  138. package/assets/skills/ui-styling/scripts/tests/test_tailwind_config_gen.py +336 -0
  139. package/assets/templates/base/quick-reference.md +297 -0
  140. package/assets/templates/base/skill-content.md +368 -0
  141. package/assets/templates/platforms/agent.json +21 -0
  142. package/assets/templates/platforms/augment.json +18 -0
  143. package/assets/templates/platforms/claude.json +21 -0
  144. package/assets/templates/platforms/codebuddy.json +21 -0
  145. package/assets/templates/platforms/codex.json +21 -0
  146. package/assets/templates/platforms/continue.json +21 -0
  147. package/assets/templates/platforms/copilot.json +21 -0
  148. package/assets/templates/platforms/cursor.json +21 -0
  149. package/assets/templates/platforms/droid.json +21 -0
  150. package/assets/templates/platforms/gemini.json +21 -0
  151. package/assets/templates/platforms/kilocode.json +21 -0
  152. package/assets/templates/platforms/kiro.json +21 -0
  153. package/assets/templates/platforms/opencode.json +21 -0
  154. package/assets/templates/platforms/qoder.json +21 -0
  155. package/assets/templates/platforms/roocode.json +21 -0
  156. package/assets/templates/platforms/trae.json +21 -0
  157. package/assets/templates/platforms/warp.json +18 -0
  158. package/assets/templates/platforms/windsurf.json +21 -0
  159. package/dist/index.js +10630 -0
  160. package/package.json +51 -0
@@ -0,0 +1,143 @@
1
+ {
2
+ "$schema": "https://design-tokens.org/schema.json",
3
+ "primitive": {
4
+ "color": {
5
+ "gray": {
6
+ "50": { "$value": "#F9FAFB", "$type": "color" },
7
+ "100": { "$value": "#F3F4F6", "$type": "color" },
8
+ "200": { "$value": "#E5E7EB", "$type": "color" },
9
+ "300": { "$value": "#D1D5DB", "$type": "color" },
10
+ "400": { "$value": "#9CA3AF", "$type": "color" },
11
+ "500": { "$value": "#6B7280", "$type": "color" },
12
+ "600": { "$value": "#4B5563", "$type": "color" },
13
+ "700": { "$value": "#374151", "$type": "color" },
14
+ "800": { "$value": "#1F2937", "$type": "color" },
15
+ "900": { "$value": "#111827", "$type": "color" },
16
+ "950": { "$value": "#030712", "$type": "color" }
17
+ },
18
+ "blue": {
19
+ "50": { "$value": "#EFF6FF", "$type": "color" },
20
+ "500": { "$value": "#3B82F6", "$type": "color" },
21
+ "600": { "$value": "#2563EB", "$type": "color" },
22
+ "700": { "$value": "#1D4ED8", "$type": "color" },
23
+ "800": { "$value": "#1E40AF", "$type": "color" }
24
+ },
25
+ "red": {
26
+ "500": { "$value": "#EF4444", "$type": "color" },
27
+ "600": { "$value": "#DC2626", "$type": "color" },
28
+ "700": { "$value": "#B91C1C", "$type": "color" }
29
+ },
30
+ "green": {
31
+ "500": { "$value": "#22C55E", "$type": "color" },
32
+ "600": { "$value": "#16A34A", "$type": "color" }
33
+ },
34
+ "yellow": {
35
+ "500": { "$value": "#EAB308", "$type": "color" }
36
+ },
37
+ "white": { "$value": "#FFFFFF", "$type": "color" }
38
+ },
39
+ "spacing": {
40
+ "0": { "$value": "0", "$type": "dimension" },
41
+ "1": { "$value": "0.25rem", "$type": "dimension" },
42
+ "2": { "$value": "0.5rem", "$type": "dimension" },
43
+ "3": { "$value": "0.75rem", "$type": "dimension" },
44
+ "4": { "$value": "1rem", "$type": "dimension" },
45
+ "5": { "$value": "1.25rem", "$type": "dimension" },
46
+ "6": { "$value": "1.5rem", "$type": "dimension" },
47
+ "8": { "$value": "2rem", "$type": "dimension" },
48
+ "10": { "$value": "2.5rem", "$type": "dimension" },
49
+ "12": { "$value": "3rem", "$type": "dimension" },
50
+ "16": { "$value": "4rem", "$type": "dimension" }
51
+ },
52
+ "fontSize": {
53
+ "xs": { "$value": "0.75rem", "$type": "dimension" },
54
+ "sm": { "$value": "0.875rem", "$type": "dimension" },
55
+ "base": { "$value": "1rem", "$type": "dimension" },
56
+ "lg": { "$value": "1.125rem", "$type": "dimension" },
57
+ "xl": { "$value": "1.25rem", "$type": "dimension" },
58
+ "2xl": { "$value": "1.5rem", "$type": "dimension" },
59
+ "3xl": { "$value": "1.875rem", "$type": "dimension" },
60
+ "4xl": { "$value": "2.25rem", "$type": "dimension" }
61
+ },
62
+ "radius": {
63
+ "none": { "$value": "0", "$type": "dimension" },
64
+ "sm": { "$value": "0.125rem", "$type": "dimension" },
65
+ "default": { "$value": "0.25rem", "$type": "dimension" },
66
+ "md": { "$value": "0.375rem", "$type": "dimension" },
67
+ "lg": { "$value": "0.5rem", "$type": "dimension" },
68
+ "xl": { "$value": "0.75rem", "$type": "dimension" },
69
+ "full": { "$value": "9999px", "$type": "dimension" }
70
+ },
71
+ "shadow": {
72
+ "none": { "$value": "none", "$type": "shadow" },
73
+ "sm": { "$value": "0 1px 2px 0 rgb(0 0 0 / 0.05)", "$type": "shadow" },
74
+ "default": { "$value": "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)", "$type": "shadow" },
75
+ "md": { "$value": "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)", "$type": "shadow" },
76
+ "lg": { "$value": "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)", "$type": "shadow" }
77
+ },
78
+ "duration": {
79
+ "fast": { "$value": "150ms", "$type": "duration" },
80
+ "normal": { "$value": "200ms", "$type": "duration" },
81
+ "slow": { "$value": "300ms", "$type": "duration" }
82
+ }
83
+ },
84
+ "semantic": {
85
+ "color": {
86
+ "background": { "$value": "{primitive.color.gray.50}", "$type": "color" },
87
+ "foreground": { "$value": "{primitive.color.gray.900}", "$type": "color" },
88
+ "primary": { "$value": "{primitive.color.blue.600}", "$type": "color" },
89
+ "primary-hover": { "$value": "{primitive.color.blue.700}", "$type": "color" },
90
+ "primary-foreground": { "$value": "{primitive.color.white}", "$type": "color" },
91
+ "secondary": { "$value": "{primitive.color.gray.100}", "$type": "color" },
92
+ "secondary-foreground": { "$value": "{primitive.color.gray.900}", "$type": "color" },
93
+ "muted": { "$value": "{primitive.color.gray.100}", "$type": "color" },
94
+ "muted-foreground": { "$value": "{primitive.color.gray.500}", "$type": "color" },
95
+ "destructive": { "$value": "{primitive.color.red.600}", "$type": "color" },
96
+ "destructive-foreground": { "$value": "{primitive.color.white}", "$type": "color" },
97
+ "border": { "$value": "{primitive.color.gray.200}", "$type": "color" },
98
+ "ring": { "$value": "{primitive.color.blue.500}", "$type": "color" }
99
+ },
100
+ "spacing": {
101
+ "component": { "$value": "{primitive.spacing.4}", "$type": "dimension" },
102
+ "section": { "$value": "{primitive.spacing.12}", "$type": "dimension" }
103
+ }
104
+ },
105
+ "component": {
106
+ "button": {
107
+ "bg": { "$value": "{semantic.color.primary}", "$type": "color" },
108
+ "fg": { "$value": "{semantic.color.primary-foreground}", "$type": "color" },
109
+ "hover-bg": { "$value": "{semantic.color.primary-hover}", "$type": "color" },
110
+ "padding-x": { "$value": "{primitive.spacing.4}", "$type": "dimension" },
111
+ "padding-y": { "$value": "{primitive.spacing.2}", "$type": "dimension" },
112
+ "radius": { "$value": "{primitive.radius.md}", "$type": "dimension" },
113
+ "font-size": { "$value": "{primitive.fontSize.sm}", "$type": "dimension" }
114
+ },
115
+ "input": {
116
+ "bg": { "$value": "{semantic.color.background}", "$type": "color" },
117
+ "border": { "$value": "{semantic.color.border}", "$type": "color" },
118
+ "focus-ring": { "$value": "{semantic.color.ring}", "$type": "color" },
119
+ "padding-x": { "$value": "{primitive.spacing.3}", "$type": "dimension" },
120
+ "padding-y": { "$value": "{primitive.spacing.2}", "$type": "dimension" },
121
+ "radius": { "$value": "{primitive.radius.md}", "$type": "dimension" }
122
+ },
123
+ "card": {
124
+ "bg": { "$value": "{primitive.color.white}", "$type": "color" },
125
+ "border": { "$value": "{semantic.color.border}", "$type": "color" },
126
+ "shadow": { "$value": "{primitive.shadow.default}", "$type": "shadow" },
127
+ "padding": { "$value": "{primitive.spacing.6}", "$type": "dimension" },
128
+ "radius": { "$value": "{primitive.radius.lg}", "$type": "dimension" }
129
+ }
130
+ },
131
+ "dark": {
132
+ "semantic": {
133
+ "color": {
134
+ "background": { "$value": "{primitive.color.gray.950}", "$type": "color" },
135
+ "foreground": { "$value": "{primitive.color.gray.50}", "$type": "color" },
136
+ "secondary": { "$value": "{primitive.color.gray.800}", "$type": "color" },
137
+ "muted": { "$value": "{primitive.color.gray.800}", "$type": "color" },
138
+ "muted-foreground": { "$value": "{primitive.color.gray.400}", "$type": "color" },
139
+ "border": { "$value": "{primitive.color.gray.800}", "$type": "color" }
140
+ }
141
+ }
142
+ }
143
+ }
@@ -0,0 +1,40 @@
1
+ ---
2
+ name: slides
3
+ description: Create strategic HTML presentations with Chart.js, design tokens, responsive layouts, copywriting formulas, and contextual slide strategies.
4
+ argument-hint: "[topic] [slide-count]"
5
+ metadata:
6
+ author: claudekit
7
+ version: "1.0.0"
8
+ ---
9
+
10
+ # Slides
11
+
12
+ Strategic HTML presentation design with data visualization.
13
+
14
+ ## When to Use
15
+
16
+ - Marketing presentations and pitch decks
17
+ - Data-driven slides with Chart.js
18
+ - Strategic slide design with layout patterns
19
+ - Copywriting-optimized presentation content
20
+
21
+ ## Subcommands
22
+
23
+ | Subcommand | Description | Reference |
24
+ |------------|-------------|-----------|
25
+ | `create` | Create strategic presentation slides | `references/create.md` |
26
+
27
+ ## References (Knowledge Base)
28
+
29
+ | Topic | File |
30
+ |-------|------|
31
+ | Layout Patterns | `references/layout-patterns.md` |
32
+ | HTML Template | `references/html-template.md` |
33
+ | Copywriting Formulas | `references/copywriting-formulas.md` |
34
+ | Slide Strategies | `references/slide-strategies.md` |
35
+
36
+ ## Routing
37
+
38
+ 1. Parse subcommand from `$ARGUMENTS` (first word)
39
+ 2. Load corresponding `references/{subcommand}.md`
40
+ 3. Execute with remaining arguments
@@ -0,0 +1,84 @@
1
+ # Copywriting Formulas
2
+
3
+ 25 formulas for persuasive slide copy.
4
+
5
+ ## Core Formulas
6
+
7
+ ### PAS (Problem-Agitate-Solution)
8
+ **Use:** Problem slides, pain points
9
+ **Components:** Problem → Agitate → Solution
10
+ **Template:** "[Pain point]? Every [time frame], [consequence]. [Solution] fixes this."
11
+
12
+ ### AIDA (Attention-Interest-Desire-Action)
13
+ **Use:** CTAs, closing slides
14
+ **Components:** Attention → Interest → Desire → Action
15
+ **Template:** "[Bold statement]. [Benefit detail]. [Social proof]. [CTA]."
16
+
17
+ ### FAB (Features-Advantages-Benefits)
18
+ **Use:** Feature slides, product showcases
19
+ **Components:** Feature → Advantage → Benefit
20
+ **Template:** "[Feature] lets you [advantage], so you can [benefit]."
21
+
22
+ ### Cost of Inaction
23
+ **Use:** Agitation slides, urgency
24
+ **Components:** Status Quo → Loss → Time Decay
25
+ **Template:** "Without [solution], you're losing [amount] every [timeframe]."
26
+
27
+ ### Before-After-Bridge
28
+ **Use:** Transformation slides, case studies
29
+ **Components:** Before → After → Bridge
30
+ **Template:** "[Pain point before]. [Desired state after]. [Your solution] is the bridge."
31
+
32
+ ## Formula-to-Slide Mapping
33
+
34
+ | Slide Type | Primary Formula | Emotion |
35
+ |------------|-----------------|---------|
36
+ | Title/Hook | AIDA, Hook | curiosity |
37
+ | Problem | PAS, Agitate | frustration |
38
+ | Cost/Risk | Cost of Inaction | fear |
39
+ | Solution | FAB, BAB | hope |
40
+ | Features | FAB | confidence |
41
+ | Traction | Proof Stack | trust |
42
+ | Social Proof | Testimonial | trust |
43
+ | Pricing | Value Stack | confidence |
44
+ | CTA | AIDA, Urgency | urgency |
45
+
46
+ ## Headline Patterns
47
+
48
+ ### Power Words
49
+ - "Stop [bad thing]"
50
+ - "Get [desired result] in [timeframe]"
51
+ - "The [adjective] way to [action]"
52
+ - "Why [audience] choose [product]"
53
+ - "[Number] ways to [achieve goal]"
54
+
55
+ ### Contrast Patterns
56
+ - "[Old way] is dead. Meet [new way]."
57
+ - "Don't [bad action]. Instead, [good action]."
58
+ - "From [pain point] to [benefit]."
59
+
60
+ ### Social Proof Patterns
61
+ - "[Number]+ [users/companies] trust [product]"
62
+ - "Join [notable company] and [notable company]"
63
+ - "As seen in [publication]"
64
+
65
+ ## Search Commands
66
+
67
+ ```bash
68
+ # Find formula for slide type
69
+ python .claude/skills/design-system/scripts/search-slides.py "problem agitation" -d copy
70
+
71
+ # Get emotion-appropriate formula
72
+ python .claude/skills/design-system/scripts/search-slides.py "urgency cta" -d copy
73
+ ```
74
+
75
+ ## Quick Reference
76
+
77
+ | Need | Use Formula |
78
+ |------|------------|
79
+ | Create urgency | Cost of Inaction, Scarcity |
80
+ | Build trust | Social Proof, Testimonial |
81
+ | Show value | FAB, Value Stack |
82
+ | Drive action | AIDA, CTA |
83
+ | Tell story | BAB, Story Arc |
84
+ | Present data | Proof Stack |
@@ -0,0 +1,4 @@
1
+ Invoke `slides` skill to create persuasive HTML slides using design tokens, Chart.js, and the slide knowledge database.
2
+
3
+ ## Task
4
+ <task>$ARGUMENTS</task>
@@ -0,0 +1,295 @@
1
+ # HTML Slide Template
2
+
3
+ Complete HTML structure with navigation, tokens, and Chart.js integration.
4
+
5
+ ## Base Structure
6
+
7
+ ```html
8
+ <!DOCTYPE html>
9
+ <html lang="en">
10
+ <head>
11
+ <meta charset="UTF-8">
12
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
13
+ <title>Presentation Title</title>
14
+ <script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.1/dist/chart.umd.min.js"></script>
15
+ <style>
16
+ /* Paste embed-tokens.cjs output here */
17
+ :root {
18
+ --color-primary: #FF6B6B;
19
+ --color-background: #0D0D0D;
20
+ /* ... more tokens */
21
+ }
22
+
23
+ /* Base slide styles */
24
+ * { margin: 0; padding: 0; box-sizing: border-box; }
25
+ body {
26
+ background: var(--color-background);
27
+ color: #fff;
28
+ font-family: var(--typography-font-body, 'Inter', sans-serif);
29
+ overflow: hidden;
30
+ }
31
+
32
+ /* 16:9 Aspect Ratio Container (desktop) */
33
+ .slide-deck {
34
+ position: relative;
35
+ width: 100vw;
36
+ height: 100vh;
37
+ overflow: hidden;
38
+ }
39
+
40
+ @media (min-width: 769px) {
41
+ .slide-deck {
42
+ /* Lock to 16:9 — letterbox if viewport ratio differs */
43
+ max-width: calc(100vh * 16 / 9);
44
+ max-height: calc(100vw * 9 / 16);
45
+ margin: auto;
46
+ position: absolute;
47
+ inset: 0;
48
+ }
49
+ }
50
+
51
+ .slide {
52
+ position: absolute;
53
+ width: 100%; height: 100%;
54
+ display: flex;
55
+ flex-direction: column;
56
+ justify-content: center;
57
+ align-items: center;
58
+ text-align: center;
59
+ padding: 60px;
60
+ opacity: 0;
61
+ visibility: hidden;
62
+ transition: opacity 0.4s;
63
+ background: var(--color-background);
64
+ overflow: hidden; /* Prevent content overflow */
65
+ }
66
+
67
+ .slide.active { opacity: 1; visibility: visible; }
68
+
69
+ /* Slide inner wrapper — constrains content within safe area */
70
+ .slide-content {
71
+ width: 100%;
72
+ max-width: 100%;
73
+ max-height: 100%;
74
+ overflow: hidden;
75
+ display: flex;
76
+ flex-direction: column;
77
+ justify-content: center;
78
+ align-items: center;
79
+ gap: 16px;
80
+ }
81
+
82
+ /* Typography */
83
+ h1, h2 { font-family: var(--typography-font-heading, 'Space Grotesk', sans-serif); }
84
+ .slide-title {
85
+ font-size: clamp(32px, 6vw, 80px);
86
+ background: var(--primitive-gradient-primary, linear-gradient(135deg, #FF6B6B, #FF8E53));
87
+ -webkit-background-clip: text;
88
+ -webkit-text-fill-color: transparent;
89
+ line-height: 1.1;
90
+ }
91
+
92
+ /* ===== RESPONSIVE BREAKPOINTS ===== */
93
+
94
+ /* Tablet (portrait) */
95
+ @media (max-width: 768px) {
96
+ .slide { padding: 32px 24px; }
97
+ .slide-title { font-size: clamp(28px, 5vw, 48px); }
98
+ h2 { font-size: clamp(20px, 4vw, 32px); }
99
+ p, li { font-size: clamp(14px, 2.5vw, 18px); }
100
+ }
101
+
102
+ /* Mobile */
103
+ @media (max-width: 480px) {
104
+ .slide { padding: 24px 16px; }
105
+ .slide-title { font-size: clamp(22px, 6vw, 36px); }
106
+ h2 { font-size: clamp(18px, 4.5vw, 28px); }
107
+ p, li { font-size: clamp(12px, 3vw, 16px); }
108
+ .nav-controls { bottom: 16px; gap: 12px; }
109
+ .nav-btn { width: 32px; height: 32px; font-size: 14px; }
110
+ }
111
+
112
+ /* Navigation */
113
+ .progress-bar {
114
+ position: fixed;
115
+ top: 0; left: 0;
116
+ height: 3px;
117
+ background: var(--color-primary);
118
+ transition: width 0.3s;
119
+ z-index: 1000;
120
+ }
121
+ .nav-controls {
122
+ position: fixed;
123
+ bottom: 30px;
124
+ left: 50%;
125
+ transform: translateX(-50%);
126
+ display: flex;
127
+ align-items: center;
128
+ gap: 20px;
129
+ z-index: 1000;
130
+ }
131
+ .nav-btn {
132
+ background: rgba(255,255,255,0.1);
133
+ border: none;
134
+ color: #fff;
135
+ width: 40px; height: 40px;
136
+ border-radius: 50%;
137
+ cursor: pointer;
138
+ font-size: 18px;
139
+ }
140
+ .nav-btn:hover { background: rgba(255,255,255,0.2); }
141
+ .slide-counter { color: rgba(255,255,255,0.6); font-size: 14px; }
142
+ </style>
143
+ </head>
144
+ <body>
145
+ <!-- Progress Bar -->
146
+ <div class="progress-bar" id="progressBar"></div>
147
+
148
+ <!-- Slide Deck Container (16:9 on desktop) -->
149
+ <div class="slide-deck">
150
+
151
+ <!-- Slides -->
152
+ <div class="slide active">
153
+ <div class="slide-content">
154
+ <h1 class="slide-title">Title Slide</h1>
155
+ <p>Subtitle or tagline</p>
156
+ </div>
157
+ </div>
158
+
159
+ <!-- More slides... (always wrap content in .slide-content) -->
160
+
161
+ </div><!-- /.slide-deck -->
162
+
163
+ <!-- Navigation -->
164
+ <div class="nav-controls">
165
+ <button class="nav-btn" onclick="prevSlide()">←</button>
166
+ <span class="slide-counter"><span id="current">1</span> / <span id="total">9</span></span>
167
+ <button class="nav-btn" onclick="nextSlide()">→</button>
168
+ </div>
169
+
170
+ <script>
171
+ let current = 1;
172
+ const total = document.querySelectorAll('.slide').length;
173
+ document.getElementById('total').textContent = total;
174
+
175
+ function showSlide(n) {
176
+ if (n < 1) n = 1;
177
+ if (n > total) n = total;
178
+ current = n;
179
+ document.querySelectorAll('.slide').forEach((s, i) => {
180
+ s.classList.toggle('active', i === n - 1);
181
+ });
182
+ document.getElementById('current').textContent = n;
183
+ document.getElementById('progressBar').style.width = (n / total * 100) + '%';
184
+ }
185
+
186
+ function nextSlide() { showSlide(current + 1); }
187
+ function prevSlide() { showSlide(current - 1); }
188
+
189
+ document.addEventListener('keydown', (e) => {
190
+ if (e.key === 'ArrowRight' || e.key === ' ') { e.preventDefault(); nextSlide(); }
191
+ if (e.key === 'ArrowLeft') { e.preventDefault(); prevSlide(); }
192
+ });
193
+
194
+ document.addEventListener('click', (e) => {
195
+ if (!e.target.closest('.nav-controls')) nextSlide();
196
+ });
197
+
198
+ showSlide(1);
199
+ </script>
200
+ </body>
201
+ </html>
202
+ ```
203
+
204
+ ## Chart.js Integration
205
+
206
+ ```html
207
+ <div class="chart-container" style="width: min(80%, 600px); height: clamp(200px, 40vh, 350px);">
208
+ <canvas id="revenueChart"></canvas>
209
+ </div>
210
+
211
+ <script>
212
+ new Chart(document.getElementById('revenueChart'), {
213
+ type: 'line', // or 'bar', 'doughnut', 'radar'
214
+ data: {
215
+ labels: ['Sep', 'Oct', 'Nov', 'Dec'],
216
+ datasets: [{
217
+ label: 'MRR ($K)',
218
+ data: [5, 12, 28, 45],
219
+ borderColor: '#FF6B6B',
220
+ backgroundColor: 'rgba(255, 107, 107, 0.1)',
221
+ borderWidth: 3,
222
+ fill: true,
223
+ tension: 0.4
224
+ }]
225
+ },
226
+ options: {
227
+ responsive: true,
228
+ maintainAspectRatio: false,
229
+ plugins: { legend: { display: false } },
230
+ scales: {
231
+ x: { grid: { color: 'rgba(255,255,255,0.05)' }, ticks: { color: '#B8B8D0' } },
232
+ y: { grid: { color: 'rgba(255,255,255,0.05)' }, ticks: { color: '#B8B8D0' } }
233
+ }
234
+ }
235
+ });
236
+ </script>
237
+ ```
238
+
239
+ ## Animation Classes
240
+
241
+ ```css
242
+ /* Fade Up */
243
+ .animate-fade-up {
244
+ animation: fadeUp 0.6s ease-out forwards;
245
+ opacity: 0;
246
+ }
247
+ @keyframes fadeUp {
248
+ from { opacity: 0; transform: translateY(30px); }
249
+ to { opacity: 1; transform: translateY(0); }
250
+ }
251
+
252
+ /* Count Animation */
253
+ .animate-count { animation: countUp 1s ease-out forwards; }
254
+
255
+ /* Scale */
256
+ .animate-scale {
257
+ animation: scaleIn 0.5s ease-out forwards;
258
+ }
259
+ @keyframes scaleIn {
260
+ from { opacity: 0; transform: scale(0.9); }
261
+ to { opacity: 1; transform: scale(1); }
262
+ }
263
+
264
+ /* Stagger Children */
265
+ .animate-stagger > * {
266
+ opacity: 0;
267
+ animation: fadeUp 0.5s ease-out forwards;
268
+ }
269
+ .animate-stagger > *:nth-child(1) { animation-delay: 0.1s; }
270
+ .animate-stagger > *:nth-child(2) { animation-delay: 0.2s; }
271
+ .animate-stagger > *:nth-child(3) { animation-delay: 0.3s; }
272
+ .animate-stagger > *:nth-child(4) { animation-delay: 0.4s; }
273
+ ```
274
+
275
+ ## Background Images
276
+
277
+ ```html
278
+ <div class="slide slide-with-bg" style="background-image: url('https://images.pexels.com/...')">
279
+ <div class="overlay" style="background: linear-gradient(135deg, rgba(13,13,13,0.9), rgba(13,13,13,0.7))"></div>
280
+ <div class="content" style="position: relative; z-index: 1;">
281
+ <!-- Slide content -->
282
+ </div>
283
+ </div>
284
+ ```
285
+
286
+ ## CSS Variables Reference
287
+
288
+ | Variable | Usage |
289
+ |----------|-------|
290
+ | `--color-primary` | Brand primary (CTA, highlights) |
291
+ | `--color-background` | Slide background |
292
+ | `--color-secondary` | Secondary elements |
293
+ | `--primitive-gradient-primary` | Title gradients |
294
+ | `--typography-font-heading` | Headlines |
295
+ | `--typography-font-body` | Body text |