showdar-skills 0.2.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 (304) hide show
  1. package/LICENSE +9 -0
  2. package/README.md +322 -0
  3. package/bin/showdar.js +118 -0
  4. package/bundles/bugfix.yaml +4 -0
  5. package/bundles/design.yaml +4 -0
  6. package/bundles/feature.yaml +4 -0
  7. package/bundles/release.yaml +4 -0
  8. package/bundles/upgrade.yaml +4 -0
  9. package/commands/opencode/showdar/build.md +6 -0
  10. package/commands/opencode/showdar/debug.md +6 -0
  11. package/commands/opencode/showdar/design.md +6 -0
  12. package/commands/opencode/showdar/git.md +6 -0
  13. package/commands/opencode/showdar/ops.md +7 -0
  14. package/commands/opencode/showdar/plan.md +6 -0
  15. package/commands/opencode/showdar/quality.md +7 -0
  16. package/commands/opencode/showdar/recover.md +6 -0
  17. package/commands/opencode/showdar/requirements.md +7 -0
  18. package/commands/opencode/showdar/review.md +6 -0
  19. package/commands/opencode/showdar/security.md +7 -0
  20. package/commands/opencode/showdar/ship.md +6 -0
  21. package/commands/opencode/showdar/skill.md +6 -0
  22. package/commands/opencode/showdar/test.md +6 -0
  23. package/commands/opencode/showdar/understand.md +6 -0
  24. package/commands/opencode/showdar/upgrade.md +6 -0
  25. package/engine/csv.mjs +45 -0
  26. package/engine/detect-stack.mjs +48 -0
  27. package/engine/rank.mjs +40 -0
  28. package/engine/search.mjs +20 -0
  29. package/package.json +28 -0
  30. package/profiles/backend.json +1 -0
  31. package/profiles/developer.json +1 -0
  32. package/profiles/full.json +1 -0
  33. package/profiles/minimal.json +1 -0
  34. package/profiles/product.json +1 -0
  35. package/profiles/qa.json +1 -0
  36. package/router/conflicts.yaml +50 -0
  37. package/router/skill-map.yaml +54 -0
  38. package/router/triggers.yaml +30 -0
  39. package/skills/showdar-build/SKILL.md +154 -0
  40. package/skills/showdar-build/data/change-smells.csv +24 -0
  41. package/skills/showdar-build/data/index.json +14 -0
  42. package/skills/showdar-build/examples/change-surface.md +18 -0
  43. package/skills/showdar-build/references/architecture-boundaries.md +3 -0
  44. package/skills/showdar-build/references/error-handling.md +3 -0
  45. package/skills/showdar-build/references/feature-flags.md +3 -0
  46. package/skills/showdar-build/references/minimal-change.md +3 -0
  47. package/skills/showdar-build/scripts/change-surface.mjs +5 -0
  48. package/skills/showdar-build/stacks/dart.md +3 -0
  49. package/skills/showdar-build/stacks/flutter.md +3 -0
  50. package/skills/showdar-build/stacks/kotlin.md +3 -0
  51. package/skills/showdar-build/stacks/nextjs.md +3 -0
  52. package/skills/showdar-build/stacks/node-fastify.md +3 -0
  53. package/skills/showdar-build/stacks/node-nestjs.md +3 -0
  54. package/skills/showdar-build/stacks/react-native.md +3 -0
  55. package/skills/showdar-build/stacks/react.md +3 -0
  56. package/skills/showdar-build/stacks/rust-tauri.md +3 -0
  57. package/skills/showdar-build/stacks/swift.md +3 -0
  58. package/skills/showdar-build/stacks/typescript.md +3 -0
  59. package/skills/showdar-debug/SKILL.md +179 -0
  60. package/skills/showdar-debug/data/failure-patterns.csv +34 -0
  61. package/skills/showdar-debug/data/index.json +14 -0
  62. package/skills/showdar-debug/examples/evidence-log.md +19 -0
  63. package/skills/showdar-debug/references/async-races.md +3 -0
  64. package/skills/showdar-debug/references/build-failures.md +3 -0
  65. package/skills/showdar-debug/references/hypothesis-driven-debugging.md +3 -0
  66. package/skills/showdar-debug/references/memory.md +3 -0
  67. package/skills/showdar-debug/references/networking.md +3 -0
  68. package/skills/showdar-debug/references/performance.md +3 -0
  69. package/skills/showdar-debug/scripts/collect-context.mjs +8 -0
  70. package/skills/showdar-debug/scripts/lib/detect-stack.mjs +48 -0
  71. package/skills/showdar-debug/stacks/android.md +21 -0
  72. package/skills/showdar-debug/stacks/docker.md +21 -0
  73. package/skills/showdar-debug/stacks/flutter.md +21 -0
  74. package/skills/showdar-debug/stacks/ios.md +21 -0
  75. package/skills/showdar-debug/stacks/nextjs.md +21 -0
  76. package/skills/showdar-debug/stacks/node.md +21 -0
  77. package/skills/showdar-debug/stacks/react-native.md +21 -0
  78. package/skills/showdar-debug/stacks/react.md +21 -0
  79. package/skills/showdar-debug/stacks/tauri.md +21 -0
  80. package/skills/showdar-design/SKILL.md +179 -0
  81. package/skills/showdar-design/data/accessibility.csv +16 -0
  82. package/skills/showdar-design/data/colors.csv +13 -0
  83. package/skills/showdar-design/data/components.csv +20 -0
  84. package/skills/showdar-design/data/index.json +25 -0
  85. package/skills/showdar-design/data/motion.csv +13 -0
  86. package/skills/showdar-design/data/products.csv +19 -0
  87. package/skills/showdar-design/data/stacks/compose.csv +9 -0
  88. package/skills/showdar-design/data/stacks/flutter.csv +9 -0
  89. package/skills/showdar-design/data/stacks/html-tailwind.csv +9 -0
  90. package/skills/showdar-design/data/stacks/nextjs.csv +9 -0
  91. package/skills/showdar-design/data/stacks/nuxt.csv +9 -0
  92. package/skills/showdar-design/data/stacks/react-native.csv +9 -0
  93. package/skills/showdar-design/data/stacks/react.csv +9 -0
  94. package/skills/showdar-design/data/stacks/svelte.csv +9 -0
  95. package/skills/showdar-design/data/stacks/swiftui.csv +9 -0
  96. package/skills/showdar-design/data/stacks/tauri.csv +9 -0
  97. package/skills/showdar-design/data/stacks/vue.csv +9 -0
  98. package/skills/showdar-design/data/styles.csv +13 -0
  99. package/skills/showdar-design/data/typography.csv +13 -0
  100. package/skills/showdar-design/data/ui-patterns.csv +19 -0
  101. package/skills/showdar-design/examples/design-brief.md +19 -0
  102. package/skills/showdar-design/references/accessibility.md +5 -0
  103. package/skills/showdar-design/references/anti-ai-ui.md +5 -0
  104. package/skills/showdar-design/references/architecture.md +12 -0
  105. package/skills/showdar-design/references/interaction.md +5 -0
  106. package/skills/showdar-design/references/layout.md +5 -0
  107. package/skills/showdar-design/references/release-readiness.md +12 -0
  108. package/skills/showdar-design/references/responsive.md +5 -0
  109. package/skills/showdar-design/references/security.md +12 -0
  110. package/skills/showdar-design/references/visual-hierarchy.md +7 -0
  111. package/skills/showdar-design/scripts/lib/csv.mjs +40 -0
  112. package/skills/showdar-design/scripts/lib/rank.mjs +35 -0
  113. package/skills/showdar-design/scripts/lib/search.mjs +20 -0
  114. package/skills/showdar-design/scripts/search.mjs +38 -0
  115. package/skills/showdar-design/stacks/flutter.md +13 -0
  116. package/skills/showdar-design/stacks/html-tailwind.md +12 -0
  117. package/skills/showdar-design/stacks/jetpack-compose.md +13 -0
  118. package/skills/showdar-design/stacks/nextjs.md +12 -0
  119. package/skills/showdar-design/stacks/nuxt.md +11 -0
  120. package/skills/showdar-design/stacks/react-native.md +13 -0
  121. package/skills/showdar-design/stacks/react.md +12 -0
  122. package/skills/showdar-design/stacks/svelte.md +11 -0
  123. package/skills/showdar-design/stacks/swiftui.md +12 -0
  124. package/skills/showdar-design/stacks/tauri.md +12 -0
  125. package/skills/showdar-design/stacks/vue.md +12 -0
  126. package/skills/showdar-git/SKILL.md +291 -0
  127. package/skills/showdar-git/data/git-workflows.csv +7 -0
  128. package/skills/showdar-git/data/index.json +14 -0
  129. package/skills/showdar-git/examples/commit-task-only.md +15 -0
  130. package/skills/showdar-git/examples/conflict-stop.md +7 -0
  131. package/skills/showdar-git/examples/explicit-push.md +7 -0
  132. package/skills/showdar-git/examples/feature-merge-no-push.md +13 -0
  133. package/skills/showdar-git/references/operation-safety.md +34 -0
  134. package/skills/showdar-git/scripts/inspect-git-state.mjs +53 -0
  135. package/skills/showdar-ops/SKILL.md +160 -0
  136. package/skills/showdar-ops/data/index.json +14 -0
  137. package/skills/showdar-ops/data/ops-patterns.csv +12 -0
  138. package/skills/showdar-ops/examples/explicit-deployment.md +5 -0
  139. package/skills/showdar-ops/examples/fix-existing-ci.md +5 -0
  140. package/skills/showdar-ops/examples/inspect-ci-readonly.md +7 -0
  141. package/skills/showdar-ops/examples/rollback-plan.md +5 -0
  142. package/skills/showdar-ops/examples/staging-plan.md +5 -0
  143. package/skills/showdar-ops/references/ci-cd.md +5 -0
  144. package/skills/showdar-ops/references/containers.md +5 -0
  145. package/skills/showdar-ops/references/deployment.md +5 -0
  146. package/skills/showdar-ops/references/desktop-release.md +3 -0
  147. package/skills/showdar-ops/references/environments.md +5 -0
  148. package/skills/showdar-ops/references/mobile-release.md +3 -0
  149. package/skills/showdar-ops/references/observability.md +5 -0
  150. package/skills/showdar-ops/references/rollback.md +5 -0
  151. package/skills/showdar-ops/scripts/inspect-ops-state.mjs +54 -0
  152. package/skills/showdar-plan/SKILL.md +159 -0
  153. package/skills/showdar-plan/data/index.json +14 -0
  154. package/skills/showdar-plan/data/planning-checklists.csv +25 -0
  155. package/skills/showdar-plan/examples/feature-plan.md +19 -0
  156. package/skills/showdar-plan/references/architecture.md +5 -0
  157. package/skills/showdar-plan/references/requirements.md +5 -0
  158. package/skills/showdar-plan/references/risk-analysis.md +5 -0
  159. package/skills/showdar-plan/references/scope.md +5 -0
  160. package/skills/showdar-plan/references/task-decomposition.md +5 -0
  161. package/skills/showdar-plan/scripts/collect-planning-context.mjs +9 -0
  162. package/skills/showdar-plan/scripts/lib/detect-stack.mjs +48 -0
  163. package/skills/showdar-plan/stacks/backend.md +3 -0
  164. package/skills/showdar-plan/stacks/mobile.md +3 -0
  165. package/skills/showdar-plan/stacks/web.md +3 -0
  166. package/skills/showdar-quality/SKILL.md +166 -0
  167. package/skills/showdar-quality/data/index.json +14 -0
  168. package/skills/showdar-quality/data/quality-patterns.csv +11 -0
  169. package/skills/showdar-quality/references/qa-guide.md +20 -0
  170. package/skills/showdar-recover/SKILL.md +164 -0
  171. package/skills/showdar-recover/data/index.json +14 -0
  172. package/skills/showdar-recover/data/recovery-signals.csv +23 -0
  173. package/skills/showdar-recover/examples/recovery-report.md +18 -0
  174. package/skills/showdar-recover/references/failed-runs.md +3 -0
  175. package/skills/showdar-recover/references/interrupted-session.md +3 -0
  176. package/skills/showdar-recover/references/merge-conflicts.md +3 -0
  177. package/skills/showdar-recover/references/partial-implementation.md +3 -0
  178. package/skills/showdar-recover/scripts/inspect-state.mjs +5 -0
  179. package/skills/showdar-requirements/SKILL.md +172 -0
  180. package/skills/showdar-requirements/data/index.json +14 -0
  181. package/skills/showdar-requirements/data/requirements-patterns.csv +11 -0
  182. package/skills/showdar-requirements/references/analysis-guide.md +30 -0
  183. package/skills/showdar-review/SKILL.md +155 -0
  184. package/skills/showdar-review/data/index.json +14 -0
  185. package/skills/showdar-review/data/review-patterns.csv +27 -0
  186. package/skills/showdar-review/examples/finding.md +16 -0
  187. package/skills/showdar-review/references/architecture.md +3 -0
  188. package/skills/showdar-review/references/correctness.md +3 -0
  189. package/skills/showdar-review/references/maintainability.md +3 -0
  190. package/skills/showdar-review/references/performance.md +3 -0
  191. package/skills/showdar-review/references/security.md +3 -0
  192. package/skills/showdar-review/references/testing.md +3 -0
  193. package/skills/showdar-review/scripts/collect-diff.mjs +5 -0
  194. package/skills/showdar-review/stacks/android.md +3 -0
  195. package/skills/showdar-review/stacks/flutter.md +3 -0
  196. package/skills/showdar-review/stacks/ios.md +3 -0
  197. package/skills/showdar-review/stacks/nextjs.md +3 -0
  198. package/skills/showdar-review/stacks/node-backend.md +3 -0
  199. package/skills/showdar-review/stacks/react-native.md +3 -0
  200. package/skills/showdar-review/stacks/react.md +3 -0
  201. package/skills/showdar-review/stacks/swift-kotlin.md +3 -0
  202. package/skills/showdar-review/stacks/typescript.md +3 -0
  203. package/skills/showdar-security/SKILL.md +169 -0
  204. package/skills/showdar-security/data/index.json +14 -0
  205. package/skills/showdar-security/data/security-patterns.csv +13 -0
  206. package/skills/showdar-security/examples/api-authorization-review.md +9 -0
  207. package/skills/showdar-security/examples/mobile-deeplink-review.md +7 -0
  208. package/skills/showdar-security/examples/secret-exposure-review.md +5 -0
  209. package/skills/showdar-security/examples/threat-model-open-assumptions.md +11 -0
  210. package/skills/showdar-security/references/authz-secrets.md +7 -0
  211. package/skills/showdar-security/references/mobile-security.md +7 -0
  212. package/skills/showdar-security/references/supply-chain.md +5 -0
  213. package/skills/showdar-security/references/threat-modeling.md +12 -0
  214. package/skills/showdar-security/scripts/inspect-security-surface.mjs +47 -0
  215. package/skills/showdar-ship/SKILL.md +234 -0
  216. package/skills/showdar-ship/data/index.json +14 -0
  217. package/skills/showdar-ship/data/release-checks.csv +28 -0
  218. package/skills/showdar-ship/examples/release-report.md +25 -0
  219. package/skills/showdar-ship/references/migrations.md +12 -0
  220. package/skills/showdar-ship/references/post-deploy.md +12 -0
  221. package/skills/showdar-ship/references/release-readiness.md +13 -0
  222. package/skills/showdar-ship/references/rollback.md +12 -0
  223. package/skills/showdar-ship/references/secrets.md +3 -0
  224. package/skills/showdar-ship/scripts/detect-targets.mjs +5 -0
  225. package/skills/showdar-ship/scripts/lib/detect-stack.mjs +48 -0
  226. package/skills/showdar-ship/scripts/release-check.mjs +6 -0
  227. package/skills/showdar-ship/stacks/android.md +33 -0
  228. package/skills/showdar-ship/stacks/docker.md +30 -0
  229. package/skills/showdar-ship/stacks/electron.md +7 -0
  230. package/skills/showdar-ship/stacks/ios.md +34 -0
  231. package/skills/showdar-ship/stacks/nextjs.md +30 -0
  232. package/skills/showdar-ship/stacks/node-backend.md +37 -0
  233. package/skills/showdar-ship/stacks/orchestration.md +12 -0
  234. package/skills/showdar-ship/stacks/tauri.md +35 -0
  235. package/skills/showdar-ship/stacks/web.md +35 -0
  236. package/skills/showdar-test/SKILL.md +164 -0
  237. package/skills/showdar-test/data/index.json +14 -0
  238. package/skills/showdar-test/data/test-strategy.csv +22 -0
  239. package/skills/showdar-test/examples/regression.md +14 -0
  240. package/skills/showdar-test/references/e2e.md +3 -0
  241. package/skills/showdar-test/references/integration.md +3 -0
  242. package/skills/showdar-test/references/regression.md +3 -0
  243. package/skills/showdar-test/references/test-smells.md +3 -0
  244. package/skills/showdar-test/references/unit.md +3 -0
  245. package/skills/showdar-test/scripts/detect-test-tools.mjs +6 -0
  246. package/skills/showdar-test/stacks/android-testing.md +13 -0
  247. package/skills/showdar-test/stacks/detox.md +13 -0
  248. package/skills/showdar-test/stacks/flutter-test.md +13 -0
  249. package/skills/showdar-test/stacks/integration-test.md +13 -0
  250. package/skills/showdar-test/stacks/jest.md +13 -0
  251. package/skills/showdar-test/stacks/playwright.md +13 -0
  252. package/skills/showdar-test/stacks/react-native-testing.md +17 -0
  253. package/skills/showdar-test/stacks/react-testing-library.md +13 -0
  254. package/skills/showdar-test/stacks/vitest.md +13 -0
  255. package/skills/showdar-test/stacks/xctest.md +13 -0
  256. package/skills/showdar-understand/SKILL.md +159 -0
  257. package/skills/showdar-understand/data/architecture-signals.csv +28 -0
  258. package/skills/showdar-understand/data/index.json +14 -0
  259. package/skills/showdar-understand/examples/repository-audit.md +17 -0
  260. package/skills/showdar-understand/references/architecture-signals.md +25 -0
  261. package/skills/showdar-understand/references/dependency-analysis.md +9 -0
  262. package/skills/showdar-understand/references/repository-analysis.md +24 -0
  263. package/skills/showdar-understand/scripts/inspect-repo.mjs +16 -0
  264. package/skills/showdar-understand/scripts/lib/detect-stack.mjs +48 -0
  265. package/skills/showdar-understand/stacks/android.md +3 -0
  266. package/skills/showdar-understand/stacks/backend.md +5 -0
  267. package/skills/showdar-understand/stacks/electron.md +3 -0
  268. package/skills/showdar-understand/stacks/fastify.md +3 -0
  269. package/skills/showdar-understand/stacks/flutter.md +3 -0
  270. package/skills/showdar-understand/stacks/ios.md +3 -0
  271. package/skills/showdar-understand/stacks/mobile.md +5 -0
  272. package/skills/showdar-understand/stacks/nestjs.md +3 -0
  273. package/skills/showdar-understand/stacks/nextjs.md +3 -0
  274. package/skills/showdar-understand/stacks/node.md +3 -0
  275. package/skills/showdar-understand/stacks/react-native.md +3 -0
  276. package/skills/showdar-understand/stacks/react.md +3 -0
  277. package/skills/showdar-understand/stacks/tauri.md +3 -0
  278. package/skills/showdar-upgrade/SKILL.md +162 -0
  279. package/skills/showdar-upgrade/data/compatibility-checklist.csv +24 -0
  280. package/skills/showdar-upgrade/data/index.json +14 -0
  281. package/skills/showdar-upgrade/examples/upgrade-report.md +18 -0
  282. package/skills/showdar-upgrade/references/breaking-changes.md +3 -0
  283. package/skills/showdar-upgrade/references/compatibility.md +3 -0
  284. package/skills/showdar-upgrade/references/dependency-resolution.md +3 -0
  285. package/skills/showdar-upgrade/references/migration-strategy.md +3 -0
  286. package/skills/showdar-upgrade/references/rollback.md +3 -0
  287. package/skills/showdar-upgrade/scripts/inspect-dependencies.mjs +6 -0
  288. package/skills/showdar-upgrade/scripts/lib/detect-stack.mjs +48 -0
  289. package/skills/showdar-upgrade/stacks/android.md +15 -0
  290. package/skills/showdar-upgrade/stacks/cocoapods-spm.md +17 -0
  291. package/skills/showdar-upgrade/stacks/expo.md +17 -0
  292. package/skills/showdar-upgrade/stacks/flutter.md +17 -0
  293. package/skills/showdar-upgrade/stacks/gradle.md +13 -0
  294. package/skills/showdar-upgrade/stacks/ios.md +15 -0
  295. package/skills/showdar-upgrade/stacks/nextjs.md +17 -0
  296. package/skills/showdar-upgrade/stacks/node.md +17 -0
  297. package/skills/showdar-upgrade/stacks/react-native.md +17 -0
  298. package/skills/showdar-upgrade/stacks/react.md +17 -0
  299. package/skills/showdar-upgrade/stacks/tauri-rust.md +15 -0
  300. package/src/adapters.js +44 -0
  301. package/src/catalog.js +57 -0
  302. package/src/project.js +287 -0
  303. package/src/runtime.js +9 -0
  304. package/src/validate.js +310 -0
@@ -0,0 +1,179 @@
1
+ ---
2
+ name: showdar-design
3
+ description: Use when product UI needs design direction, UX decisions, responsive layout, accessibility, or visual polish.
4
+ ---
5
+
6
+ # Showdar Design
7
+
8
+ ## Purpose
9
+
10
+ - Produce product-specific UI direction instead of generic component-library output.
11
+ - Translate product goals into hierarchy, layout, typography, color, interaction, motion, and component behavior.
12
+ - Adapt design implementation to React, Next.js, React Native, Flutter, SwiftUI, or Compose.
13
+ - Review and polish existing UI with accessibility and performance constraints.
14
+ - Use local structured knowledge via `scripts/search.mjs` rather than loading all design data into context.
15
+ - Read `references/anti-ai-ui.md` to avoid template-like AI aesthetics.
16
+
17
+ ## When to use
18
+
19
+ - Designing a new screen, page, flow, component system, dashboard, invitation, landing page, or mobile experience.
20
+ - Turning a screenshot/reference into a coherent design direction and implementation rules.
21
+ - Reviewing existing UI for hierarchy, spacing, responsiveness, interaction, accessibility, or visual polish.
22
+ - Implementing design in a supported stack where platform conventions matter.
23
+ - Choosing a palette, typography direction, motion language, or component behavior from product context.
24
+
25
+ ## When not to use
26
+
27
+ - Pure backend/algorithm work with no user interface.
28
+ - Pixel-exact reproduction where the user supplied a complete authoritative design system and no design decisions remain.
29
+ - Brand/legal accessibility certification; this skill provides engineering guidance, not formal compliance certification.
30
+ - Do not redesign unrelated screens while implementing one bounded UI task.
31
+
32
+ ## Inputs and assumptions
33
+
34
+ - Product type, target users/task, target stack, and existing brand/design constraints if available.
35
+ - Existing design system/tokens/components override generic Showdar defaults.
36
+ - If a reference image exists, extract hierarchy/layout traits without blindly copying irrelevant details.
37
+ - Search structured data selectively. Example: `node scripts/search.mjs --query "fintech dashboard" --domain products`.
38
+ - For stack rules: `node scripts/search.mjs --query "long list performance" --stack react-native`.
39
+ - Accessibility and real content lengths are part of the design input, not afterthoughts.
40
+ - The data index covers products, styles, colors, typography, layout patterns, components/states, accessibility, interaction, motion, charts, and stack rules; use it to select fields rather than loading every row.
41
+ - Query html-tailwind, React, Next.js, Vue, Nuxt, Svelte, React Native, Flutter, SwiftUI, Jetpack Compose, or Tauri guidance before implementation.
42
+
43
+ ## Non-negotiable rules
44
+
45
+ - Establish a product-specific visual premise before choosing components.
46
+ - Use hierarchy and spacing before adding borders, cards, gradients, shadows, or decorative effects.
47
+ - Do not default AI products to purple gradients, glass cards, sparkles, and floating orbs.
48
+ - Every interactive element needs default, active/pressed, focus where relevant, disabled/loading/error behavior.
49
+ - Mobile controls must be touch-ergonomic and respect platform navigation/keyboard/safe-area behavior.
50
+ - Responsive design is priority/reflow, not proportional shrinking.
51
+ - Maintain readable contrast, semantic labeling, focus order, reduced-motion behavior, and text scaling.
52
+ - Prefer existing design tokens/components when they meet the requirement.
53
+
54
+ ## Workflow
55
+
56
+ ### Mode selection
57
+ - **new**: establish direction -> system -> layout -> components -> responsive -> interaction -> implementation guidance.
58
+ - **implement**: map approved design to existing stack/tokens/components with minimal visual drift.
59
+ - **review**: inspect hierarchy, consistency, states, responsive behavior, accessibility, and stack-specific issues.
60
+ - **polish**: preserve product structure while tightening rhythm, type, alignment, states, and motion.
61
+
62
+ ### Phase 1 — product and task framing
63
+ - Identify primary user job, primary action, information density, emotional tone, and trust/safety needs.
64
+ - Search `data/products.csv` and `data/styles.csv` for nearby patterns, then adapt rather than copy.
65
+ - State a one-sentence design direction including density, tone, and layout premise.
66
+
67
+ ### Phase 2 — visual system
68
+ - Choose color strategy from semantics/product context using `data/colors.csv` as reference.
69
+ - Choose typography direction from `data/typography.csv`; define a compact type scale and numeric treatment when needed.
70
+ - Define spacing/radius/border/shadow rules consistent with density and platform.
71
+
72
+ ### Phase 3 — layout and hierarchy
73
+ - Apply `references/visual-hierarchy.md` and `references/layout.md`.
74
+ - Make reading order and primary action obvious without relying on decoration.
75
+ - Decide where grouping needs cards versus simple alignment/section rhythm.
76
+
77
+ ### Phase 4 — components and states
78
+ - Search `data/components.csv` and `data/ui-patterns.csv` for task-appropriate behavior.
79
+ - Specify loading, empty, error, disabled, focus/pressed, and long-content states.
80
+ - Use platform-native controls/semantics when they improve behavior and accessibility.
81
+
82
+ ### Phase 5 — responsive and interaction
83
+ - Apply `references/responsive.md` and `references/interaction.md`.
84
+ - Define what reflows, collapses, moves, or becomes a different component at narrow widths.
85
+ - Search `data/motion.csv` only for motion that explains continuity or feedback.
86
+
87
+ ### Phase 6 — stack-specific implementation
88
+ - Detect target stack and query the matching file under `data/stacks/`.
89
+ - Translate design decisions into stack-native layout, state, accessibility, and performance patterns.
90
+ - Avoid forcing web patterns into mobile or vice versa.
91
+
92
+ ### Phase 7 — review and polish
93
+ - Audit alignment, spacing rhythm, type hierarchy, density, icon sizing, states, contrast, keyboard/touch behavior, and visual consistency.
94
+ - Read `references/accessibility.md` and query `data/accessibility.csv` for focused checks.
95
+ - Remove generic AI-design artifacts that do not support the product premise.
96
+
97
+ ## Decision points
98
+
99
+ - Existing design system? Extend it before introducing a parallel token/component language.
100
+ - Dense expert tool? Favor scan speed, alignment, restrained surfaces, and compact controls.
101
+ - Narrative/event/portfolio? Favor typography, imagery, section rhythm, and fewer UI containers.
102
+ - Mobile utility? Favor native mental models, thumb reach, keyboard/safe area, and reduced simultaneous information.
103
+ - Critical finance/health flow? Prioritize trust, legibility, explicit state, recovery, and conservative motion.
104
+ - If reference aesthetics conflict with accessibility or task completion, preserve intent but change the unsafe detail.
105
+
106
+ ## Stack detection
107
+
108
+ - React: query `data/stacks/react.csv` for semantic, state, effect, and rendering guidance.
109
+ - Next.js: query `data/stacks/nextjs.csv` for server/client, data/cache, image, and performance boundaries.
110
+ - React Native: query `data/stacks/react-native.csv` for lists, touch, navigation, images, keyboard, and accessibility.
111
+ - Flutter: query `data/stacks/flutter.csv` for rebuild, list, async, layout, state, and semantics guidance.
112
+ - SwiftUI: query `data/stacks/swiftui.csv` for state/identity/navigation/layout/accessibility.
113
+ - Compose: query `data/stacks/compose.csv` for state hoisting, recomposition, lazy lists, effects, semantics, adaptive layout.
114
+
115
+ ## Failure modes
116
+
117
+ - Card soup: every section becomes a rounded card with identical weight.
118
+ - Trend soup: gradient + glass + glow + huge radius + floating decoration without product reason.
119
+ - Weak hierarchy: multiple primary CTAs and headings compete.
120
+ - Responsive squeeze: desktop layout simply narrows until unreadable.
121
+ - Missing states: only happy-path mockup is implemented.
122
+ - Design tokens duplicated as random hardcoded values.
123
+ - Accessibility fixes applied after layout in a way that breaks hierarchy.
124
+ - Stack implementation ignores lifecycle/performance conventions.
125
+
126
+ ## Stop conditions
127
+
128
+ - Stop when the requested outcome is outside this skill and hand off to the more appropriate workflow.
129
+ - Stop before destructive, irreversible, production, credential, publishing, or deployment actions unless the user explicitly approved them.
130
+ - Stop when required evidence is unavailable and proceeding would require guessing about behavior, ownership, or safety.
131
+ - Stop when a repository instruction conflicts with this playbook; repository/user instructions win.
132
+ - Stop when direction, key states, responsive behavior, stack implementation rules, and verification criteria are defined for the requested UI scope.
133
+
134
+ ## Escalation conditions
135
+
136
+ - Ask for brand assets or authoritative design tokens when identity cannot be inferred safely.
137
+ - Ask when the user requests a rendition of a specific person/image and the necessary visual reference is missing.
138
+ - Escalate conflicting accessibility vs brand requirements instead of silently sacrificing accessibility.
139
+ - If the request spans an entire product redesign, split by key flow/system rather than generating dozens of shallow screens.
140
+
141
+ ## Verification
142
+
143
+ - Compare implementation against the stated design direction and existing token system.
144
+ - Test critical widths, long content, loading/empty/error states, keyboard/touch, and text scaling.
145
+ - Check contrast, semantic roles/labels, focus order, reduced motion, and color-independent state meaning.
146
+ - Profile obvious hot UI paths such as large lists/images/animations when stack guidance identifies risk.
147
+ - Remove decorative elements that do not improve hierarchy, feedback, brand, or storytelling.
148
+ - Verify the primary user task remains obvious without animation.
149
+
150
+ ## Output contract
151
+
152
+ - **Design direction** — product type, density, tone, visual premise.
153
+ - **System** — color strategy, typography, spacing/surfaces, motion principles.
154
+ - **Layout** — hierarchy, grouping, responsive behavior.
155
+ - **Components/states** — interaction and error/loading/empty behavior.
156
+ - **Stack guidance** — implementation constraints for the detected target.
157
+ - **Accessibility** — concrete checks and required behaviors.
158
+ - **Polish checklist** — issues to fix before calling the UI complete.
159
+
160
+ ## Anti-patterns
161
+
162
+ - Purple gradient because the product uses AI.
163
+ - Glassmorphism on every surface.
164
+ - 3-column feature cards where a narrative or task flow would be clearer.
165
+ - Large empty hero copy with weak proof or product context.
166
+ - Random icon boxes and pills used as decoration.
167
+ - Tiny mobile touch targets copied from desktop.
168
+ - Motion on every section with unrelated directions/easings.
169
+ - Hardcoded one-off colors/spacing when tokens already exist.
170
+
171
+ ## Example
172
+
173
+ User request: “Design a wedding invitation site that feels elegant, not like a SaaS template.”
174
+ - Search products/styles/colors/typography for wedding/editorial context.
175
+ - Direction: editorial romantic, low-medium density, warm neutrals, serif display + quiet sans body.
176
+ - Layout: immersive hero, story sequence, event details, gallery/map if needed, RSVP as clear final action.
177
+ - Avoid dashboard cards, purple gradients, glass panels, repeated icon-feature grids.
178
+ - Define mobile story order and reduced-motion-friendly reveals.
179
+ - See `examples/design-brief.md` for a compact brief.
@@ -0,0 +1,16 @@
1
+ id,area,rule,why,check,severity,tags,reference,stack
2
+ contrast,Contrast,body text and controls meet applicable WCAG contrast expectations,low contrast blocks reading and action,check normal disabled hover focus and visited states,high,contrast wcag,references/accessibility.md,*
3
+ focus,Focus,keyboard-focusable elements have a visible focus indicator,keyboard users must track position,tab through critical flow and verify focus never disappears,high,focus keyboard,references/accessibility.md,*
4
+ touch-target,Touch target,primary mobile controls have about 44x44pt or dp-equivalent hit area,small targets increase error rate,inspect hit area not only icon size,high,touch mobile,references/accessibility.md,react-native
5
+ labels,Labels,icon-only controls expose an accessible name,screen readers cannot infer decorative glyph intent,inspect accessibility tree and localized label,high,labels semantics,references/accessibility.md,*
6
+ semantics,Semantics,use native semantic roles before custom div or canvas behavior,native semantics improve assistive technology support,inspect rendered role name and state,high,semantics roles,references/accessibility.md,react
7
+ motion,Motion,respect reduced-motion preferences,motion can cause discomfort and disorientation,enable reduced motion and repeat critical flow,medium,reduced motion,references/accessibility.md,*
8
+ errors,Errors,validation errors explain what happened and how to recover,color-only error state is insufficient,submit invalid form with keyboard and screen reader,high,form errors,references/accessibility.md,*
9
+ dynamic-type,Dynamic type,mobile layout survives larger text settings,fixed-height labels clip and hide information,test large accessibility font sizes,high,text scaling,references/accessibility.md,swiftui
10
+ color-semantics,Color semantics,do not encode state only by red or green,color vision differences hide meaning,check labels icons or patterns accompany color,medium,color state,references/accessibility.md,*
11
+ reading-order,Reading order,visual and semantic order match,mismatched order makes interfaces confusing,navigate headings and focus sequentially,high,reading order,references/accessibility.md,*
12
+ keyboard,Keyboard,focused input and submit action remain visible above software keyboard,occluded controls block task completion,open keyboard on narrow viewport and submit,high,keyboard form,references/accessibility.md,react-native
13
+ reflow,Reflow,content reflows at zoom or narrow width without loss,overflow forces users to guess or scroll sideways,check 200 percent zoom and narrow viewport,high,reflow responsive,references/responsive.md,*
14
+ status,Status,dynamic updates are announced or otherwise discoverable,async success and errors can be missed,trigger update and inspect live region or semantics,high,live status,references/accessibility.md,*
15
+ pointer-alternative,Pointer alternative,drag or hover behavior has keyboard and touch alternative,pointer-only actions exclude users,complete action without hover or drag,high,input modality,references/interaction.md,*
16
+ forms,Form,labels instructions autocomplete and errors are associated with controls,ambiguous forms increase input errors,inspect label relationship and field order,high,forms input,references/accessibility.md,*
@@ -0,0 +1,13 @@
1
+ id,context,primary,secondary,accent,background,surface,text,muted,border,success,warning,danger,notes,reference
2
+ developer-tool,Developer Tool,#111827,#374151,#2563EB,#0B1020,#111827,#F9FAFB,#9CA3AF,#273244,#22C55E,#F59E0B,#EF4444,dark technical base; accent only for actions and selection,references/accessibility.md
3
+ fintech-light,Fintech Light,#0F172A,#334155,#0F766E,#F8FAFC,#FFFFFF,#0F172A,#64748B,#E2E8F0,#15803D,#B45309,#B91C1C,trust-first; reserve red and green for financial semantics,references/accessibility.md
4
+ wedding-editorial,Wedding Editorial,#2C2A2A,#766B66,#9A6B5B,#FBF8F4,#FFFDFC,#2C2A2A,#81756F,#E8DED7,#4F7A5A,#A56B2A,#A64747,warm neutral editorial; avoid saturated UI colors,references/anti-ai-ui.md
5
+ healthcare-calm,Healthcare Calm,#164E63,#0E7490,#0891B2,#F0FDFA,#FFFFFF,#134E4A,#64748B,#CCFBF1,#15803D,#B45309,#B91C1C,calm cyan teal with readable text,references/accessibility.md
6
+ ecommerce-premium,E-commerce Premium,#18181B,#52525B,#A16207,#FAFAFA,#FFFFFF,#18181B,#71717A,#E4E4E7,#15803D,#B45309,#B91C1C,neutral product-first palette with restrained gold,references/visual-hierarchy.md
7
+ education,Education,#1E3A8A,#2563EB,#F59E0B,#F8FAFC,#FFFFFF,#172554,#64748B,#DBEAFE,#16A34A,#D97706,#DC2626,friendly but structured; content remains dominant,references/accessibility.md
8
+ ai-neutral,AI Assistant,#171717,#404040,#2563EB,#0A0A0A,#171717,#FAFAFA,#A3A3A3,#2F2F2F,#22C55E,#F59E0B,#EF4444,neutral credible base; no purple-by-default decoration,references/anti-ai-ui.md
9
+ portfolio-cream,Portfolio,#111111,#525252,#D97706,#F5F3EE,#FFFEFA,#111111,#737373,#DDD8CF,#2E7D32,#A16207,#B91C1C,editorial cream base with one signature accent,references/visual-hierarchy.md
10
+ admin-blue,Admin Blue,#172554,#334155,#2563EB,#F8FAFC,#FFFFFF,#0F172A,#64748B,#CBD5E1,#15803D,#B45309,#B91C1C,semantic colors stay distinct from selection blue,references/accessibility.md
11
+ content-warm,Content Warm,#292524,#57534E,#C2410C,#FFF7ED,#FFFFFF,#292524,#78716C,#E7E5E4,#3F6212,#A16207,#B91C1C,warm reading surface with controlled emphasis,references/layout.md
12
+ dark-surface,Dark Surface,#E5E7EB,#9CA3AF,#60A5FA,#030712,#111827,#F9FAFB,#9CA3AF,#374151,#4ADE80,#FBBF24,#F87171,verify contrast for muted text and disabled controls,references/accessibility.md
13
+ event-sage,Event Sage,#243B35,#52675D,#B7795B,#F8F6F1,#FFFEFA,#24312D,#738078,#E0DED6,#3F6B4F,#A86D2E,#A84A4A,occasion-led palette with low saturation,references/anti-ai-ui.md
@@ -0,0 +1,20 @@
1
+ id,component,default_guidance,states,mobile_notes,desktop_notes,avoid,tags,reference
2
+ button,Button,one clear primary action per local decision area,default; hover; pressed; focus; disabled; loading,keep hit area generous,use shortcut only when action discoverability remains,multiple primary buttons with same weight,actions hierarchy,references/interaction.md
3
+ text-field,Text field,persistent label with nearby help or error text,empty; focus; filled; error; disabled,use correct keyboard and content type,show validation without disrupting typing,placeholder as only label,forms validation,references/accessibility.md
4
+ card,Card,use only when grouping has semantic value,default; selected; interactive if applicable,avoid nested cards,use alignment and whitespace before containers,wrapping every section in a card,grouping surfaces,references/anti-ai-ui.md
5
+ navigation,Navigation,make current location and next destination obvious,default; active; focus,respect platform back behavior,use persistent context for deep work,inventing nonstandard back semantics,navigation orientation,references/layout.md
6
+ dialog,Dialog,use for short blocking decisions,open; focus trap; confirm; cancel,prefer sheet when platform appropriate,keep content short and return focus,long forms in small modal,blocking decision,references/interaction.md
7
+ table,Table,align comparable data and preserve headers,loading; empty; sort; selected,replace with task-focused list on narrow screens,allow column density and keyboard navigation,horizontal squeeze with unreadable columns,data table,references/layout.md
8
+ tabs,Tabs,use for peer views not sequential steps,active; focus; disabled,keep labels short and visible,do not hide primary hierarchy behind tabs,using tabs as hidden navigation,peer views,references/layout.md
9
+ toast,Toast,use for non-blocking transient confirmation,success; warning; error,critical errors persist elsewhere,provide live announcement and dismiss,putting actionable critical errors only in toast,feedback transient,references/interaction.md
10
+ empty-state,Empty state,explain state and next useful action,first-use; filtered-empty; error-empty,keep action reachable,include reset filters and import affordance,generic illustration with no recovery action,empty recovery,references/interaction.md
11
+ skeleton,Skeleton,match eventual content geometry,loading,avoid long animation cost,do not use for instant content,random gray boxes unrelated to layout,loading geometry,references/interaction.md
12
+ bottom-sheet,Bottom sheet,use for contextual mobile actions,peek; expanded; dismissed,support drag back and keyboard safely,prefer dialog or side panel on desktop,desktop modal copied directly,mobile actions,references/responsive.md
13
+ search,Search,keep query visible and results state explicit,idle; typing; loading; no-results; error,debounce expensive remote search,show keyboard shortcut and result count,clearing query unexpectedly,search discovery,references/interaction.md
14
+ select,Select,use native select when option set is simple,closed; open; selected; error; disabled,use platform picker for mobile,searchable menu for large option sets,custom menu for a native problem,forms choice,references/accessibility.md
15
+ date-picker,Date picker,match input to date precision and locale,empty; open; invalid; selected; disabled,use platform calendar when it improves entry,allow typed input and timezone clarity,forcing a complex calendar for a simple date,date input,references/accessibility.md
16
+ pagination,Pagination,make range and next action explicit,first; middle; last; loading,prefer load-more when task is continuous,retain filters and scroll context,number links with no current state,data navigation,references/layout.md
17
+ tooltip,Tooltip,use for supplementary explanation not required content,hidden; visible; focus; dismissed,avoid hover-only meaning,keyboard focus and delay should be deterministic,putting essential instructions in tooltip,help affordance,references/accessibility.md
18
+ banner,Banner,use for persistent context-changing status,info; warning; error; dismissible,avoid consuming first viewport,provide clear action and scope,using toast for outage or required action,persistent status,references/interaction.md
19
+ avatar,Avatar,show identity only when it supports recognition,loaded; fallback; unavailable; selected,provide name in semantics,avoid oversized decorative circles,initials with no accessible name,identity,references/accessibility.md
20
+ chart,Chart,show title units source and takeaway,loading; empty; error; interactive; selected,provide concise summary before dense visual,allow keyboard and data table alternative,chart without labels or explanation,data visualization,references/accessibility.md
@@ -0,0 +1,25 @@
1
+ {
2
+ "version": 1,
3
+ "skill": "showdar-design",
4
+ "datasets": [
5
+ {"file":"data/products.csv","idField":"id","requiredColumns":["id","product","goals","density","tone","layout","avoid","tags","reference"],"searchableFields":["product","goals","tone","layout","avoid","tags"],"filterFields":["density"],"reference":"references/visual-hierarchy.md"},
6
+ {"file":"data/styles.csv","idField":"id","requiredColumns":["id","style","traits","best_for","avoid","keywords","reference"],"searchableFields":["style","traits","best_for","avoid","keywords"],"filterFields":[],"reference":"references/anti-ai-ui.md"},
7
+ {"file":"data/colors.csv","idField":"id","requiredColumns":["id","context","primary","secondary","accent","background","surface","text","muted","border","success","warning","danger","notes","reference"],"searchableFields":["context","notes"],"filterFields":["context"],"reference":"references/accessibility.md"},
8
+ {"file":"data/typography.csv","idField":"id","requiredColumns":["id","use_case","heading_direction","body_direction","mono_use","scale","line_height","notes","reference"],"searchableFields":["use_case","heading_direction","body_direction","mono_use","notes"],"filterFields":["use_case"],"reference":"references/visual-hierarchy.md"},
9
+ {"file":"data/motion.csv","idField":"id","requiredColumns":["id","pattern","duration_ms","easing","use","avoid","reduced_motion","tags","reference","stack"],"searchableFields":["pattern","use","avoid","reduced_motion","tags"],"filterFields":["stack"],"reference":"references/interaction.md"},
10
+ {"file":"data/accessibility.csv","idField":"id","requiredColumns":["id","area","rule","why","check","severity","tags","reference","stack"],"searchableFields":["area","rule","why","check","tags"],"filterFields":["area","severity","stack"],"reference":"references/accessibility.md"},
11
+ {"file":"data/components.csv","idField":"id","requiredColumns":["id","component","default_guidance","states","mobile_notes","desktop_notes","avoid","tags","reference"],"searchableFields":["component","default_guidance","states","mobile_notes","desktop_notes","avoid","tags"],"filterFields":["component"],"reference":"references/interaction.md"},
12
+ {"file":"data/ui-patterns.csv","idField":"id","requiredColumns":["id","pattern","when","structure","verification","anti_pattern","tags","reference","stack"],"searchableFields":["pattern","when","structure","verification","anti_pattern","tags"],"filterFields":["stack"],"reference":"references/layout.md"},
13
+ {"file":"data/stacks/compose.csv","idField":"id","requiredColumns":["id","category","stack","guideline","do","dont","severity","tags","reference"],"searchableFields":["category","guideline","do","dont","tags"],"filterFields":["category","stack","severity"],"reference":"stacks/jetpack-compose.md"},
14
+ {"file":"data/stacks/flutter.csv","idField":"id","requiredColumns":["id","category","stack","guideline","do","dont","severity","tags","reference"],"searchableFields":["category","guideline","do","dont","tags"],"filterFields":["category","stack","severity"],"reference":"stacks/flutter.md"},
15
+ {"file":"data/stacks/nextjs.csv","idField":"id","requiredColumns":["id","category","stack","guideline","do","dont","severity","tags","reference"],"searchableFields":["category","guideline","do","dont","tags"],"filterFields":["category","stack","severity"],"reference":"stacks/nextjs.md"},
16
+ {"file":"data/stacks/react-native.csv","idField":"id","requiredColumns":["id","category","stack","guideline","do","dont","severity","tags","reference"],"searchableFields":["category","guideline","do","dont","tags"],"filterFields":["category","stack","severity"],"reference":"stacks/react-native.md"},
17
+ {"file":"data/stacks/react.csv","idField":"id","requiredColumns":["id","category","stack","guideline","do","dont","severity","tags","reference"],"searchableFields":["category","guideline","do","dont","tags"],"filterFields":["category","stack","severity"],"reference":"stacks/react.md"},
18
+ {"file":"data/stacks/swiftui.csv","idField":"id","requiredColumns":["id","category","stack","guideline","do","dont","severity","tags","reference"],"searchableFields":["category","guideline","do","dont","tags"],"filterFields":["category","stack","severity"],"reference":"stacks/swiftui.md"},
19
+ {"file":"data/stacks/html-tailwind.csv","idField":"id","requiredColumns":["id","category","stack","guideline","do","dont","severity","tags","reference"],"searchableFields":["category","guideline","do","dont","tags"],"filterFields":["category","stack","severity"],"reference":"stacks/html-tailwind.md"},
20
+ {"file":"data/stacks/vue.csv","idField":"id","requiredColumns":["id","category","stack","guideline","do","dont","severity","tags","reference"],"searchableFields":["category","guideline","do","dont","tags"],"filterFields":["category","stack","severity"],"reference":"stacks/vue.md"},
21
+ {"file":"data/stacks/nuxt.csv","idField":"id","requiredColumns":["id","category","stack","guideline","do","dont","severity","tags","reference"],"searchableFields":["category","guideline","do","dont","tags"],"filterFields":["category","stack","severity"],"reference":"stacks/nuxt.md"},
22
+ {"file":"data/stacks/svelte.csv","idField":"id","requiredColumns":["id","category","stack","guideline","do","dont","severity","tags","reference"],"searchableFields":["category","guideline","do","dont","tags"],"filterFields":["category","stack","severity"],"reference":"stacks/svelte.md"},
23
+ {"file":"data/stacks/tauri.csv","idField":"id","requiredColumns":["id","category","stack","guideline","do","dont","severity","tags","reference"],"searchableFields":["category","guideline","do","dont","tags"],"filterFields":["category","stack","severity"],"reference":"stacks/tauri.md"}
24
+ ]
25
+ }
@@ -0,0 +1,13 @@
1
+ id,pattern,duration_ms,easing,use,avoid,reduced_motion,tags,reference,stack
2
+ tap-feedback,Tap feedback,80-140,ease-out,pressed state and button confirmation,scale below 0.94; springy critical actions,retain color or opacity feedback,tap feedback interaction,references/interaction.md,*
3
+ panel-enter,Panel enter,180-260,"cubic-bezier(.2,.8,.2,1)",drawer inspector sheet,large bounce or 500ms plus,fade or instant with focus preserved,panel transition,references/interaction.md,*
4
+ section-reveal,Section reveal,220-360,ease-out,editorial landing content,animating every card independently,disable translation; preserve visibility,editorial reveal,references/anti-ai-ui.md,*
5
+ list-change,List item change,140-220,ease-in-out,reorder or state update,layout thrash; long stagger,instant layout change,list feedback,references/interaction.md,*
6
+ modal,Modal,160-240,ease-out,dialog and confirmation,dramatic zoom from center,fade with focus order,modal transition,references/accessibility.md,*
7
+ navigation,Navigation,180-300,platform appropriate,mobile route transition,custom gesture-conflicting animation,use platform transition or instant,navigation motion,references/interaction.md,react-native
8
+ loading-skeleton,Loading skeleton,900-1400,linear,content placeholder shimmer,high contrast flashing,static skeleton with no movement,loading motion,references/accessibility.md,*
9
+ success-feedback,Success feedback,180-320,ease-out,small confirmation,confetti for routine actions,static icon and text,success feedback,references/interaction.md,*
10
+ drag-reorder,Drag reorder,120-220,ease-out,show pickup and drop position,decorative path animation,clear position and final order,drag interaction,references/interaction.md,react
11
+ tooltip,Tooltip,100-160,ease-out,explain unfamiliar control,tooltip for required content,show immediately on focus,tooltip accessibility,references/accessibility.md,*
12
+ progress,Progress,200-400,ease-in-out,show meaningful progress,indeterminate animation for known progress,static percentage or step label,progress feedback,references/interaction.md,*
13
+ page-shift,Page shift,180-280,ease-out,maintain spatial continuity when panel changes,move unrelated content,instant stable layout,page continuity,references/layout.md,*
@@ -0,0 +1,19 @@
1
+ id,product,goals,density,tone,layout,avoid,tags,reference
2
+ saas-dashboard,SaaS Dashboard,scan metrics; decide; act,medium-high,professional restrained,sidebar + workspace + decision metrics,oversized hero cards; vanity metrics,saas dashboard b2b metrics,references/visual-hierarchy.md
3
+ developer-tool,Developer Tool,understand state; execute precise actions,high,technical focused,sidebar/tree + main workspace + inspector,marketing cards; decorative whitespace,developer tools dense technical,references/anti-ai-ui.md
4
+ fintech-app,Fintech App,build trust; show money; complete safe action,medium,calm trustworthy,summary + primary action + transaction history,gamified neon; ambiguous money formatting,fintech banking trust,references/accessibility.md
5
+ ecommerce,E-commerce,discover; compare; convert,medium,visual commercial,search + categories + product grid + cart,hidden pricing; weak product hierarchy,ecommerce retail conversion,references/layout.md
6
+ wedding-invitation,Wedding Invitation,tell story; communicate event; RSVP,low-medium,editorial romantic elegant,immersive hero + narrative + details + RSVP,dashboard cards; generic SaaS styling,wedding event editorial,references/anti-ai-ui.md
7
+ portfolio,Portfolio,show craft; establish identity; prove outcomes,low-medium,editorial expressive,project-led narrative + case studies,template feature grids; skill bars,portfolio creative case-study,references/visual-hierarchy.md
8
+ healthcare-app,Healthcare App,reduce anxiety; enable safe action; explain next step,medium,calm clear reassuring,task-first home + appointment/content flow,dense jargon; alarming color overuse,health medical calm,references/accessibility.md
9
+ education-app,Education App,guide progress; sustain attention; practice,medium,friendly structured,learning path + focused lesson + progress,constant badges; noisy gamification,education learning progress,references/layout.md
10
+ social-app,Social App,create; connect; consume,medium-high,human lively,feed + creation affordance + profile,too many competing CTAs,social feed community creator,references/interaction.md
11
+ ai-assistant,AI Assistant,converse; inspect output; control context,medium-high,quiet intelligent,conversation + context/tools panel,purple gradients; fake intelligence decoration,ai assistant chat context,references/anti-ai-ui.md
12
+ landing-page,Landing Page,explain value; prove credibility; convert,low-medium,confident editorial,hero + proof + product story + CTA,feature-card soup; repeated CTAs,landing conversion proof,references/visual-hierarchy.md
13
+ admin-console,Admin Console,find records; apply policy; audit changes,high,utilitarian precise,filters + table + detail drawer,decorative dashboard tiles; hidden bulk actions,admin operations table,references/layout.md
14
+ content-media,Content and Media,discover; read/watch; resume,medium,immersive editorial,feed + detail + related content + player,autoplay overload; dense metadata everywhere,media content editorial,references/interaction.md
15
+ mobile-utility,Mobile Utility,complete one job quickly; recover from interruption,medium,direct native,single primary flow + settings/history,desktop layout squeezed into phone,mobile utility native,references/responsive.md
16
+ desktop-workspace,Desktop Workspace,manage many objects; preserve context; use shortcuts,high,focused productive,master-detail + command surface + inspector,phone-style full-screen routes; hover-only actions,desktop workspace master-detail,references/layout.md
17
+ event-site,Event Site,build anticipation; provide logistics; collect response,low-medium,warm occasion-led,hero + schedule + map/details + RSVP,overloaded registration dashboard,event event-site narrative,references/anti-ai-ui.md
18
+ commerce-checkout,Checkout,review totals; pay confidently; recover errors,medium,clear trustworthy,step summary + payment + confirmation,hidden fees; ambiguous disabled states,checkout payment trust,references/accessibility.md
19
+ developer-docs,Developer Documentation,find answer; understand example; copy safely,medium,quiet technical,search + nav tree + readable article + code,wall of prose; code without context,docs search code,references/visual-hierarchy.md
@@ -0,0 +1,9 @@
1
+ id,category,stack,guideline,do,dont,severity,tags,reference
2
+ compose-state,state,compose,hoist state to the lowest common owner,pass state and events down,mutable duplicated state across composables,high,state hoisting,references/interaction.md
3
+ compose-recomposition,performance,compose,keep inputs stable and work out of composition,use remember or derivedStateOf only when semantics fit,premature remember everywhere,medium,recomposition,references/interaction.md
4
+ compose-lists,lists,compose,use LazyColumn or LazyRow for long content,provide stable keys for mutable items,Column for unbounded lists,high,lazy list,references/interaction.md
5
+ compose-effects,effects,compose,use effect APIs according to lifecycle semantics,keep keys accurate,launching work directly during composition,high,effects lifecycle,references/interaction.md
6
+ compose-semantics,accessibility,compose,provide semantics for custom controls,use content descriptions and roles intentionally,decorative semantics polluting tree,high,semantics,references/accessibility.md
7
+ compose-adaptive,layout,compose,design with window size and insets,use adaptive layout instead of device-name checks,phone tablet branching by model,medium,adaptive layout,references/responsive.md
8
+ compose-stability,performance,compose,avoid unstable collections crossing recomposition,use immutable or stable models where measured,optimizing annotations without evidence,medium,stability,references/interaction.md
9
+ compose-navigation,navigation,compose,model navigation state from destination data,keep routes serializable and state-restorable,scattered imperative navigation,medium,navigation,references/layout.md
@@ -0,0 +1,9 @@
1
+ id,category,stack,guideline,do,dont,severity,tags,reference
2
+ flutter-rebuilds,rebuilds,flutter,keep rebuild scope proportional to changing state,use selectors buildWhen or listenables where measured,rebuild entire screen for one field,medium,rebuild performance,references/interaction.md
3
+ flutter-lists,lists,flutter,use lazy builders for long collections,ListView.builder or SliverList for dynamic content,Column with hundreds of children,high,lazy list,references/interaction.md
4
+ flutter-async,async,flutter,check lifecycle before using context after awaits,guard mounted and context validity,navigate or show snackbar after dispose,high,async lifecycle,references/interaction.md
5
+ flutter-layout,layout,flutter,use constraints deliberately,prefer flexible layout over fixed device dimensions,hardcoded screen widths,high,constraints,references/responsive.md
6
+ flutter-state,state,flutter,keep source of truth unambiguous,separate ephemeral widget state from domain state,duplicate state across widget and bloc,high,state ownership,references/interaction.md
7
+ flutter-accessibility,accessibility,flutter,provide Semantics where custom visuals hide meaning,test text scaling and semantics order,fixed-height text that clips,high,semantics text-scale,references/accessibility.md
8
+ flutter-disposal,lifecycle,flutter,dispose controllers streams and focus resources at owner,use StatefulWidget dispose or provider ownership,leaked controller listeners,high,resource lifecycle,references/interaction.md
9
+ flutter-platform,platform,flutter,treat platform channels as typed boundaries,handle platform error and unavailable capability,assume every platform method exists,high,platform channel,references/architecture.md
@@ -0,0 +1,9 @@
1
+ id,category,stack,guideline,do,dont,severity,tags,reference
2
+ tailwind-tokens,system,html-tailwind,define semantic tokens before utility composition,use CSS variables for theme roles,scatter arbitrary colors across markup,high,design tokens,references/visual-hierarchy.md
3
+ tailwind-semantics,accessibility,html-tailwind,use native HTML semantics and focus styles,pair utility classes with button input label roles,style divs into controls,high,semantic html,references/accessibility.md
4
+ tailwind-responsive,responsive,html-tailwind,design breakpoint changes as priority and reflow,use container queries or purposeful breakpoints,shrink every column proportionally,high,responsive,references/responsive.md
5
+ tailwind-states,interaction,html-tailwind,style complete interaction states,define hover focus active disabled and invalid,ship default-only controls,high,interaction states,references/interaction.md
6
+ tailwind-content,layout,html-tailwind,let real content determine min and max sizes,test long labels and localization,hardcode one screenshot width,medium,content sizing,references/layout.md
7
+ tailwind-dark,dark-mode,html-tailwind,treat dark theme as semantic surface remapping,verify contrast and elevation,simply invert colors,medium,dark mode,references/accessibility.md
8
+ tailwind-motion,motion,html-tailwind,use transition for continuity or feedback,respect prefers-reduced-motion,animate every utility class,medium,css motion,references/interaction.md
9
+ tailwind-components,maintainability,html-tailwind,extract components around repeated behavior not class count,keep variants named and local,create mega component for all variants,medium,component boundaries,references/anti-ai-ui.md
@@ -0,0 +1,9 @@
1
+ id,category,stack,guideline,do,dont,severity,tags,reference
2
+ next-boundaries,boundaries,nextjs,choose server and client boundary intentionally,keep client components narrow when browser state is needed,mark entire route tree use client,high,server client,references/architecture.md
3
+ next-data,data,nextjs,co-locate data fetching with ownership and cache semantics,define freshness and revalidation deliberately,assume cache behavior from framework version,high,cache data,references/interaction.md
4
+ next-images,media,nextjs,use optimized responsive image behavior,provide dimensions sizes and meaningful alt text,ship huge unoptimized hero images,medium,images performance,references/accessibility.md
5
+ next-routing,routing,nextjs,model route loading and error states explicitly,use route-level loading and error when meaningful,duplicate spinner logic in every component,medium,routing states,references/interaction.md
6
+ next-client-cost,performance,nextjs,watch JavaScript shipped to client,prefer server rendering for static or data presentation,import heavy client libraries for decoration,high,bundle performance,references/visual-hierarchy.md
7
+ next-metadata,content,nextjs,treat title description and social metadata as product surface,generate metadata from route content,use generic metadata on every page,low,metadata,references/visual-hierarchy.md
8
+ next-forms,forms,nextjs,keep server action or API validation authoritative,show pending and field errors near control,trust client-only validation,high,forms validation,references/accessibility.md
9
+ next-streaming,loading,nextjs,stream only when partial content is useful,keep skeleton geometry aligned with final content,add streaming to hide slow ownership,medium,streaming loading,references/interaction.md
@@ -0,0 +1,9 @@
1
+ id,category,stack,guideline,do,dont,severity,tags,reference
2
+ nuxt-rendering,boundaries,nuxt,choose server client and island boundaries intentionally,keep browser-only code in client boundary,read browser APIs during server render,high,ssr client,references/architecture.md
3
+ nuxt-data,data,nuxt,define fetch ownership and freshness,use keyed data and explicit invalidation,duplicate fetch in page and component,high,data cache,references/interaction.md
4
+ nuxt-routing,routing,nuxt,model route middleware and error states,keep auth policy server authoritative,guard only in client navigation,high,routing auth,references/security.md
5
+ nuxt-seo,content,nuxt,derive metadata from route content,set canonical and social metadata deliberately,copy generic title to every route,medium,seo metadata,references/visual-hierarchy.md
6
+ nuxt-hydration,rendering,nuxt,keep initial server and client output deterministic,defer time random and browser-only values,hide hydration warnings,high,hydration,references/interaction.md
7
+ nuxt-images,media,nuxt,serve responsive images with intrinsic dimensions,provide alt and loading intent,ship unbounded original images,medium,image performance,references/accessibility.md
8
+ nuxt-server,security,nuxt,validate server routes independently of UI,constrain input and secret access,trust client middleware as authorization,high,server security,references/security.md
9
+ nuxt-error,errors,nuxt,make route and server error recovery visible,provide retry or safe navigation,render empty page for all failures,high,error recovery,references/interaction.md
@@ -0,0 +1,9 @@
1
+ id,category,stack,guideline,do,dont,severity,tags,reference
2
+ rn-lists,lists,react-native,use virtualized lists for long or dynamic collections,stable keys and measured item strategy,render long datasets in ScrollView,high,virtualized list,references/interaction.md
3
+ rn-touch,touch,react-native,make hit targets ergonomic,use Pressable and hitSlop appropriately,tiny icon-only touch area,high,touch targets,references/accessibility.md
4
+ rn-navigation,navigation,react-native,keep params small and serializable,pass identifiers and read owning state,pass large mutable objects between screens,medium,navigation params,references/architecture.md
5
+ rn-js-thread,performance,react-native,protect JS thread from heavy synchronous work,move parsing or computation off hot interaction path,parse large JSON during gesture or scroll,high,js thread,references/interaction.md
6
+ rn-images,media,react-native,control decode size and cache behavior,request resolution appropriate for display,use full-resolution images in list cells,high,image performance,references/interaction.md
7
+ rn-accessibility,accessibility,react-native,set role label and state for custom controls,test screen reader focus order,use visual-only touchables,high,accessibility,references/accessibility.md
8
+ rn-keyboard,forms,react-native,design forms around keyboard and safe areas,keep focused field and action visible,fixed bottom CTA hidden by keyboard,high,keyboard safe-area,references/responsive.md
9
+ rn-lifecycle,lifecycle,react-native,unbind subscriptions and cancel screen-owned work,make focus and navigation ownership explicit,set state after unmount,high,lifecycle,references/interaction.md
@@ -0,0 +1,9 @@
1
+ id,category,stack,guideline,do,dont,severity,tags,reference
2
+ react-state,state,react,prefer composition and clear state ownership,keep derived UI state derived,mirror props into state,high,state ownership,references/architecture.md
3
+ react-rendering,performance,react,stabilize expensive subtree boundaries only after profiling,use memoization for measured churn,wrap every component in memo,medium,memoization,references/interaction.md
4
+ react-forms,forms,react,keep validation ownership explicit,use schema or form library only when complexity justifies it,scatter per-field side effects,medium,forms validation,references/accessibility.md
5
+ react-semantics,accessibility,react,use semantic HTML first,button means button and label controls,clickable div with manual keyboard patches,high,semantic html,references/accessibility.md
6
+ react-effects,effects,react,use effects to synchronize external systems,keep pure derivation out of effects,effect chains that compute render state,high,effect ownership,references/interaction.md
7
+ react-keys,lists,react,use stable domain keys,keys survive reorder and filter,array index key for mutable list,high,stable keys,references/interaction.md
8
+ react-context,architecture,react,keep context scope aligned to consumers,split high-churn context when measured,put all app state in one provider,medium,context state,references/architecture.md
9
+ react-errors,errors,react,provide error boundary where UI subtree can recover,show retry or safe fallback with cause context,blank screen or catch everything globally,high,error boundary,references/interaction.md
@@ -0,0 +1,9 @@
1
+ id,category,stack,guideline,do,dont,severity,tags,reference
2
+ svelte-state,state,svelte,keep reactive source of truth explicit,derive values rather than duplicate them,mutate unrelated module state from components,high,state ownership,references/architecture.md
3
+ svelte-effects,effects,svelte,use effects for external synchronization,clean up subscriptions and timers,derive render values in effects,high,effect lifecycle,references/interaction.md
4
+ svelte-actions,interaction,svelte,keep DOM actions focused and disposable,return destroy and update behavior,hide business policy in reusable action,medium,actions,references/architecture.md
5
+ svelte-a11y,accessibility,svelte,use semantic elements and compiler warnings as baseline,verify name focus and keyboard behavior,suppress warnings without behavior proof,high,semantics,references/accessibility.md
6
+ svelte-lists,lists,svelte,key each blocks by stable domain identity,virtualize large collections when needed,use index key for mutable data,high,lists,references/interaction.md
7
+ svelte-async,async,svelte,represent pending error and success explicitly,abort stale requests or compare request version,let late promise overwrite state,high,async race,references/interaction.md
8
+ svelte-layout,responsive,svelte,let content and CSS layout handle reflow,use CSS media/container queries,branch on viewport in business logic,medium,responsive,references/responsive.md
9
+ svelte-boundary,architecture,svelte,keep server and client data boundaries visible,validate actions on server,trust browser action as authorization,high,server boundary,references/security.md
@@ -0,0 +1,9 @@
1
+ id,category,stack,guideline,do,dont,severity,tags,reference
2
+ swiftui-state,state,swiftui,use the narrowest state ownership wrapper,choose State Binding Observable based on ownership,duplicate model state in multiple wrappers,high,state ownership,references/architecture.md
3
+ swiftui-identity,lists,swiftui,keep list identity stable,use domain identifiers,generate random UUID during render,high,list identity,references/interaction.md
4
+ swiftui-navigation,navigation,swiftui,model navigation state intentionally,keep destinations data-driven where appropriate,scatter imperative navigation effects,medium,navigation,references/layout.md
5
+ swiftui-layout,layout,swiftui,respect Dynamic Type and safe areas,let content drive size before fixed frames,fixed frames clip accessibility text,high,dynamic type,references/accessibility.md
6
+ swiftui-performance,performance,swiftui,keep expensive work out of body,precompute or cache heavy transformations,parse or decode inside body,high,body performance,references/interaction.md
7
+ swiftui-accessibility,accessibility,swiftui,use labels values hints and native controls,combine semantics intentionally,image-only actions without labels,high,semantics,references/accessibility.md
8
+ swiftui-async,async,swiftui,scope tasks to view lifetime and cancellation,check task cancellation before side effects,unowned async task updates view,high,task cancellation,references/interaction.md
9
+ swiftui-forms,forms,swiftui,use native controls with explicit validation,bind errors and focus state to fields,hide error in alert only,medium,forms,references/accessibility.md
@@ -0,0 +1,9 @@
1
+ id,category,stack,guideline,do,dont,severity,tags,reference
2
+ tauri-ipc,security,tauri,treat commands as a typed trust boundary,validate command input and return safe errors,trust arbitrary frontend payloads,high,ipc validation,references/security.md
3
+ tauri-capabilities,security,tauri,grant least capability to each window,review capability files with feature changes,enable broad filesystem or shell access,critical,capabilities permissions,references/security.md
4
+ tauri-state,state,tauri,keep authoritative state on the owning side,serialize small DTOs across IPC,share mutable frontend Rust state implicitly,high,state boundary,references/architecture.md
5
+ tauri-events,async,tauri,scope listeners and remove them with window lifetime,track event owner and cancellation,register listeners on every render,high,event lifecycle,references/interaction.md
6
+ tauri-performance,performance,tauri,avoid moving large payloads across IPC,query or stream bounded data,send full database or file contents repeatedly,medium,ipc performance,references/interaction.md
7
+ tauri-window,interaction,tauri,make window state and keyboard behavior deliberate,restore focus and size safely,assume browser defaults cover desktop,medium,desktop window,references/layout.md
8
+ tauri-update,release,tauri,verify updater signatures and compatibility before rollout,retain prior artifact and rollback path,ship unsigned or untested update,critical,updater release,references/release-readiness.md
9
+ tauri-platform,platform,tauri,verify OS-specific paths separately,build and smoke test each target,assume macOS behavior equals Windows or Linux,high,desktop platform,references/interaction.md
@@ -0,0 +1,9 @@
1
+ id,category,stack,guideline,do,dont,severity,tags,reference
2
+ vue-state,state,vue,keep source of truth explicit,derive computed state from one owner,mirror props through watchers,high,state ownership,references/architecture.md
3
+ vue-reactivity,performance,vue,understand reactive identity before optimizing,use computed and shallow boundaries where measured,deep reactive objects for everything,medium,reactivity,references/interaction.md
4
+ vue-forms,forms,vue,keep validation and submission ownership explicit,show field and form errors with labels,validate only on submit with no field context,high,forms validation,references/accessibility.md
5
+ vue-components,components,vue,compose around stable responsibilities,keep slots and props clear,component with unrelated modes,medium,composition,references/architecture.md
6
+ vue-accessibility,accessibility,vue,use semantic elements and focus management,forward labels and keyboard behavior,custom clickable containers,high,semantics,references/accessibility.md
7
+ vue-lists,lists,vue,use stable keys and virtualize large collections,track by domain identity,use array index for mutable rows,high,lists,references/interaction.md
8
+ vue-async,async,vue,abort or ignore stale async work,bind loading error and cancellation state,let late promise overwrite newer state,high,async race,references/interaction.md
9
+ vue-routing,routing,vue,make route and data loading states explicit,restore focus and document title,hide route failure behind spinner,medium,routing,references/layout.md
@@ -0,0 +1,13 @@
1
+ id,style,traits,best_for,avoid,keywords,reference
2
+ quiet-technical,Quiet Technical,neutral surfaces; mono accents; dense hierarchy,developer tools; admin; AI tools,decorative gradients; giant radii,technical restrained dense monospace,references/anti-ai-ui.md
3
+ editorial-minimal,Editorial Minimal,large type; asymmetric rhythm; strong whitespace,portfolio; wedding; premium landing,card grids; excessive badges,editorial elegant minimal typographic,references/visual-hierarchy.md
4
+ soft-utility,Soft Utility,subtle surfaces; rounded controls; warm neutral tone,consumer utilities; health; education,toy shadows; low contrast,soft calm utility rounded,references/layout.md
5
+ data-dense,Data Dense,compact spacing; aligned numbers; restrained color,finance; analytics; operations,oversized tiles; visual noise,dense data dashboard compact,references/visual-hierarchy.md
6
+ native-mobile,Native Mobile,platform conventions; clear hierarchy; thumb-friendly controls,mobile apps,hover-dependent UI; tiny targets,mobile native touch ergonomic,references/responsive.md
7
+ high-contrast-editorial,High Contrast Editorial,bold type; black/white base; one accent,creative sites; launches,many accents; weak hierarchy,bold editorial contrast,references/anti-ai-ui.md
8
+ warm-organic,Warm Organic,earthy palette; tactile imagery; soft typography,food; wellness; events,tech neon; clinical grids,organic warm tactile,references/anti-ai-ui.md
9
+ glass-accent,Glass Accent,limited translucency over a strong base,media; premium experiences,glass on every surface; poor contrast,glass translucent premium,references/accessibility.md
10
+ monochrome-pro,Monochrome Pro,grayscale structure; one semantic accent,B2B; developer; productivity,rainbow status color,professional monochrome restrained,references/anti-ai-ui.md
11
+ playful-geometric,Playful Geometric,simple shapes; bright accents; expressive illustration,education; youth products,enterprise finance; critical workflows,playful geometric colorful,references/interaction.md
12
+ neo-brutalist,Neo Brutalist,hard edges; explicit borders; high contrast; deliberate raw type,launches; creative tools; editorial campaigns,random roughness; inaccessible contrast,brutalist bold border,references/anti-ai-ui.md
13
+ quiet-luxury,Quiet Luxury,restrained contrast; generous rhythm; material detail,premium commerce; event; hospitality,thin unreadable type; ornament everywhere,luxury restrained premium,references/visual-hierarchy.md
@@ -0,0 +1,13 @@
1
+ id,use_case,heading_direction,body_direction,mono_use,scale,line_height,notes,reference
2
+ developer-tool,Developer Tool,compact grotesk or system sans,system sans,code; ids; metrics,1.125-1.25 modular,1.35 headings; 1.5 body,prioritize scan speed and alignment,references/visual-hierarchy.md
3
+ editorial,Editorial,high-contrast serif or distinctive display,neutral sans,rare,1.25-1.333 modular,0.95 display; 1.6 body,let type carry identity instead of decoration,references/anti-ai-ui.md
4
+ mobile-utility,Mobile Utility,platform or system sans,platform or system sans,technical values only,1.125 modular,1.25 headings; 1.45 body,respect Dynamic Type or equivalent scaling,references/accessibility.md
5
+ dashboard,Dashboard,neutral sans semibold,neutral sans,tabular numbers,1.125 modular,1.2 headings; 1.4 body,align comparable metrics and units,references/visual-hierarchy.md
6
+ fintech,Fintech,restrained sans,high-legibility sans,account ids; reference codes,1.125-1.2 modular,1.25 headings; 1.5 body,money values need predictable weight and numeric alignment,references/accessibility.md
7
+ wedding,Wedding,editorial serif or display,quiet humanist sans,avoid,1.333 modular,0.95 display; 1.65 body,use fewer sizes; avoid script body fonts,references/anti-ai-ui.md
8
+ healthcare,Healthcare,friendly humanist sans,high-legibility sans,avoid,1.2 modular,1.25 headings; 1.55 body,avoid condensed faces and light body weights,references/accessibility.md
9
+ marketing,Marketing,distinct display or strong grotesk,neutral sans,optional proof metrics,1.25 modular,1.05 display; 1.55 body,use type hierarchy instead of repeated cards,references/visual-hierarchy.md
10
+ documentation,Documentation,neutral sans or readable grotesk,high-legibility sans,code blocks only,1.2 modular,1.25 headings; 1.65 body,prioritize long-form reading and code contrast,references/layout.md
11
+ data-operations,Data Operations,compact neutral sans,compact neutral sans,tabular figures; IDs,1.125 modular,1.2 headings; 1.4 body,make units and precision obvious,references/visual-hierarchy.md
12
+ premium-commerce,Premium Commerce,distinctive display,quiet sans,product codes only,1.25-1.333 modular,1.05 display; 1.6 body,let product imagery carry richness,references/anti-ai-ui.md
13
+ accessible-default,Accessible Default,legible sans,legible sans,only technical tokens,1.2 modular,1.25 headings; 1.55 body,avoid thin weights and all-caps body labels,references/accessibility.md
@@ -0,0 +1,19 @@
1
+ id,pattern,when,structure,verification,anti_pattern,tags,reference,stack
2
+ master-detail,Master-detail,dense tools and settings with persistent context,navigation/list + detail workspace,selection persists and back semantics remain clear,opening every item as isolated full-screen route on desktop,desktop context,references/layout.md,*
3
+ progressive-disclosure,Progressive disclosure,advanced configuration or rare controls,essential fields first; advanced section later,common task works without advanced controls,hiding required information behind accordions,complexity control,references/interaction.md,*
4
+ command-palette,Command palette,keyboard-heavy developer or productivity tools,search input + ranked commands + shortcut hints,full keyboard navigation and deterministic selection,using as primary navigation for novices,keyboard productivity,references/interaction.md,react
5
+ sticky-action,Sticky action bar,long forms with important save or submit,scrolling content + persistent action region,does not obscure content or keyboard,floating CTA covering last fields,long form action,references/responsive.md,*
6
+ timeline,Timeline,ordered historical events,date grouping + event + metadata,chronology and status are scannable,using cards with no temporal alignment,history chronology,references/layout.md,*
7
+ metric-overview,Metric overview,small set of decision-driving KPIs,metric + trend + context,numbers share units and time window,dashboard full of vanity metrics,metrics dashboard,references/visual-hierarchy.md,*
8
+ story-scroll,Story scroll,editorial event or product narrative,hero + sequential sections + final action,content works without motion,every section animates from a different direction,editorial narrative,references/anti-ai-ui.md,*
9
+ split-auth,Split auth,authentication plus product context on wide screens,form pane + restrained visual or proof pane,mobile collapses to focused form,marketing carousel distracting from login,auth layout,references/responsive.md,*
10
+ filter-table,Filterable table,operations users need scan and refine records,filter bar + table + count + empty state,filter state survives reload or URL when appropriate,filters hidden in unrelated modal,admin data,references/layout.md,*
11
+ dashboard-shell,Dashboard shell,repeatable operational navigation and contextual workspace,sidebar + header + main + optional inspector,primary task remains dominant and responsive,metric cards determine every layout,dashboard shell,references/visual-hierarchy.md,*
12
+ checkout-stepper,Checkout stepper,multi-step purchase has real validation boundaries,summary + current step + next/back + confirmation,back preserves entered data and errors are local,cosmetic steps with no state boundary,checkout flow,references/accessibility.md,*
13
+ infinite-feed,Infinite feed,content consumption is continuous and ordered,feed + loading sentinel + end/error state,refresh and pagination do not duplicate items,unbounded loading with no recovery,feed pagination,references/interaction.md,react-native
14
+ empty-first-use,First-use empty state,user has no data yet,explain value + primary create/import action,action creates first valid object,generic empty illustration only,empty onboarding,references/interaction.md,*
15
+ filtered-empty,Filtered-empty,records exist but current filters match none,current filters + reset + explanation,reset restores known records,showing global no-data message,empty filters,references/interaction.md,*
16
+ offline-action,Offline action,task can be completed or queued without network,offline banner + local state + retry or sync,conflicts and pending state are visible,pretending success with no durable queue,offline mobile,references/interaction.md,react-native
17
+ error-recovery,Error recovery,request or data load fails,context + cause-safe message + retry or alternative,retry changes relevant state and reports repeated failure,blank screen or retry loop,error recovery,references/interaction.md,*
18
+ responsive-priority,Responsive priority,desktop information cannot fit narrow width,rank content then reflow or replace component,critical task remains possible at narrow width,uniform proportional shrinking,responsive layout,references/responsive.md,*
19
+ media-detail,Media detail,article video or gallery needs focus plus related content,primary media + metadata + action + related content,keyboard and mobile playback states are usable,autoplay and cluttered metadata,content media,references/layout.md,*
@@ -0,0 +1,19 @@
1
+ # Example design brief
2
+
3
+ Request: design a wedding invitation that helps guests understand the story,
4
+ event details, and RSVP path without feeling like an admin dashboard.
5
+
6
+ Inputs: mobile-first web, portrait photography, one primary RSVP action, date and
7
+ venue details, map link, family-language toggle, and an unknown final guest count.
8
+
9
+ Reasoning workflow:
10
+ 1. Choose an editorial-romantic direction with warm neutrals, a serif display face,
11
+ and a calm sans-serif body face.
12
+ 2. Make the hero, event facts, story, and RSVP the primary hierarchy.
13
+ 3. Use cards only for scannable facts; keep photography and type dominant.
14
+ 4. Preserve story order and RSVP visibility on narrow screens.
15
+ 5. Use gentle section reveals and disable them under reduced-motion preferences.
16
+
17
+ Expected output: tokens, page hierarchy, component/state inventory, responsive
18
+ rules, and implementation notes for the detected stack. Explicitly reject neon
19
+ gradients, glassmorphism, decorative UI chrome, and inaccessible text over photos.
@@ -0,0 +1,5 @@
1
+ # Accessibility design review
2
+
3
+ Treat accessibility as part of layout and component behavior. Verify contrast, semantic role/name/state, keyboard/focus, touch targets, reading order, reduced motion, error communication, text scaling, and color-independent state meaning.
4
+
5
+ A visually disabled control still needs understandable state. A custom control is not complete until assistive technology can identify and operate it.
@@ -0,0 +1,5 @@
1
+ # Avoid generic AI-looking UI
2
+
3
+ Common failure patterns are purple/blue gradients by default, excessive glass cards, giant rounded rectangles, feature-card grids for every section, floating decorative orbs, arbitrary sparkles, oversized hero copy with weak product proof, and multiple equally loud CTAs.
4
+
5
+ Prefer a product-specific visual premise: data density for tools, editorial type for invitations/portfolios, strong product photography for commerce, restrained trust signals for finance, or platform-native clarity for utilities. Use one or two signature moves consistently instead of many fashionable effects.
@@ -0,0 +1,12 @@
1
+ # Design architecture boundaries
2
+
3
+ Visual design is a decision system, not a pile of components. Preserve the existing token, component, navigation, and data ownership boundaries before introducing new visual primitives.
4
+
5
+ - Find the existing token source and extend semantic roles such as surface, text, action, danger, and focus rather than copying hex values.
6
+ - Keep product rules and state ownership outside presentational components; a component should receive the state it renders and emit named events.
7
+ - Separate responsive layout decisions from domain logic. CSS, layout primitives, and platform adaptation should decide geometry; business code should decide priority.
8
+ - Keep remote, draft, URL, and derived state distinct so visual polish does not create synchronization effects.
9
+ - Treat a new component as earned when behavior, accessibility, or a stable visual contract repeats; do not extract a class-name wrapper for its own sake.
10
+ - Verify design changes through the actual route/screen, realistic content, and existing build/test boundary.
11
+
12
+ When a design reference conflicts with an established product contract, preserve the user task and accessibility contract, then document the deliberate visual deviation.
@@ -0,0 +1,5 @@
1
+ # Interaction design
2
+
3
+ Every interactive element needs discoverable affordance, state feedback, error/recovery behavior, and an appropriate target size. Motion should explain continuity, state change, or hierarchy; decorative motion is optional.
4
+
5
+ Do not hide core actions behind hover on touch-capable experiences. Preserve platform back/escape expectations. Loading states should retain context and prevent accidental duplicate actions without freezing unrelated work.
@@ -0,0 +1,5 @@
1
+ # Layout
2
+
3
+ Start from content and task structure, not a component gallery. Use a grid/rhythm that survives real content lengths. Prefer alignment and whitespace before borders and cards. Cards are a semantic grouping device, not the default container for every block.
4
+
5
+ For tools, preserve stable navigation/context regions. For narrative pages, vary section rhythm intentionally without changing alignment logic every screen. For forms, keep labels, errors, and actions in predictable relation to fields.