@cubis/foundry 0.3.71 → 0.3.73

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 (276) hide show
  1. package/CHANGELOG.md +23 -2
  2. package/dist/cli/core.js +9 -22
  3. package/dist/cli/core.js.map +1 -1
  4. package/package.json +1 -1
  5. package/src/cli/core.ts +13 -22
  6. package/workflows/powers/accessibility/POWER.md +83 -94
  7. package/workflows/powers/accessibility/SKILL.md +82 -94
  8. package/workflows/powers/agent-design/POWER.md +201 -0
  9. package/workflows/powers/agent-design/SKILL.md +198 -0
  10. package/workflows/powers/agent-design/references/clarification-patterns.md +153 -0
  11. package/workflows/powers/agent-design/references/skill-testing.md +164 -0
  12. package/workflows/powers/agent-design/references/workflow-patterns.md +226 -0
  13. package/workflows/powers/agentic-eval/POWER.md +62 -0
  14. package/workflows/powers/agentic-eval/SKILL.md +59 -0
  15. package/workflows/powers/agentic-eval/references/rubric-and-regression-checklist.md +11 -0
  16. package/workflows/powers/api-designer/POWER.md +43 -71
  17. package/workflows/powers/api-designer/SKILL.md +43 -71
  18. package/workflows/powers/api-patterns/POWER.md +42 -56
  19. package/workflows/powers/api-patterns/SKILL.md +42 -57
  20. package/workflows/powers/architecture-designer/POWER.md +43 -60
  21. package/workflows/powers/architecture-designer/SKILL.md +43 -60
  22. package/workflows/powers/ask-questions-if-underspecified/POWER.md +51 -3
  23. package/workflows/powers/auth-architect/POWER.md +69 -0
  24. package/workflows/powers/auth-architect/SKILL.md +66 -0
  25. package/workflows/powers/auth-architect/references/session-token-policy-checklist.md +45 -0
  26. package/workflows/powers/behavioral-modes/POWER.md +100 -9
  27. package/workflows/powers/c-pro/POWER.md +105 -0
  28. package/workflows/powers/c-pro/SKILL.md +102 -0
  29. package/workflows/powers/c-pro/references/build-systems-and-toolchains.md +148 -0
  30. package/workflows/powers/c-pro/references/common-ub-and-portability.md +166 -0
  31. package/workflows/powers/c-pro/references/debugging-with-sanitizers.md +205 -0
  32. package/workflows/powers/c-pro/references/memory-safety-and-build-checklist.md +60 -0
  33. package/workflows/powers/c-pro/references/posix-and-platform-apis.md +244 -0
  34. package/workflows/powers/changelog-generator/POWER.md +127 -63
  35. package/workflows/powers/changelog-generator/SKILL.md +126 -63
  36. package/workflows/powers/ci-cd-pipelines/POWER.md +156 -0
  37. package/workflows/powers/ci-cd-pipelines/SKILL.md +153 -0
  38. package/workflows/powers/ci-cd-pipelines/references/github-actions-patterns.md +160 -0
  39. package/workflows/powers/ci-cd-pipelines/references/pipeline-security-checklist.md +57 -0
  40. package/workflows/powers/cli-developer/POWER.md +152 -95
  41. package/workflows/powers/cli-developer/SKILL.md +152 -95
  42. package/workflows/powers/cpp-pro/POWER.md +111 -0
  43. package/workflows/powers/cpp-pro/SKILL.md +108 -0
  44. package/workflows/powers/cpp-pro/references/concurrency-primitives.md +266 -0
  45. package/workflows/powers/cpp-pro/references/move-semantics-and-value-types.md +149 -0
  46. package/workflows/powers/cpp-pro/references/performance-and-profiling.md +191 -0
  47. package/workflows/powers/cpp-pro/references/raii-and-modern-cpp-checklist.md +87 -0
  48. package/workflows/powers/cpp-pro/references/template-and-concepts-patterns.md +205 -0
  49. package/workflows/powers/csharp-pro/POWER.md +47 -22
  50. package/workflows/powers/csharp-pro/SKILL.md +47 -22
  51. package/workflows/powers/dart-pro/POWER.md +68 -0
  52. package/workflows/powers/dart-pro/SKILL.md +65 -0
  53. package/workflows/powers/dart-pro/references/isolate-and-concurrency.md +180 -0
  54. package/workflows/powers/dart-pro/references/null-safety-and-async-patterns.md +133 -0
  55. package/workflows/powers/dart-pro/references/package-structure-and-linting.md +193 -0
  56. package/workflows/powers/dart-pro/references/sealed-records-patterns.md +173 -0
  57. package/workflows/powers/dart-pro/references/testing-and-mocking.md +235 -0
  58. package/workflows/powers/database-design/POWER.md +47 -33
  59. package/workflows/powers/database-design/SKILL.md +47 -33
  60. package/workflows/powers/database-optimizer/POWER.md +43 -64
  61. package/workflows/powers/database-optimizer/SKILL.md +43 -64
  62. package/workflows/powers/database-skills/POWER.md +59 -93
  63. package/workflows/powers/database-skills/SKILL.md +59 -93
  64. package/workflows/powers/debugging-strategies/POWER.md +69 -0
  65. package/workflows/powers/debugging-strategies/SKILL.md +66 -0
  66. package/workflows/powers/debugging-strategies/references/reproduce-isolate-verify-checklist.md +42 -0
  67. package/workflows/powers/deep-research/POWER.md +67 -0
  68. package/workflows/powers/deep-research/SKILL.md +64 -0
  69. package/workflows/powers/deep-research/references/multi-round-research-loop.md +80 -0
  70. package/workflows/powers/design-system-builder/POWER.md +130 -116
  71. package/workflows/powers/design-system-builder/SKILL.md +130 -116
  72. package/workflows/powers/devops-engineer/POWER.md +120 -57
  73. package/workflows/powers/devops-engineer/SKILL.md +120 -57
  74. package/workflows/powers/docker-kubernetes/POWER.md +94 -0
  75. package/workflows/powers/docker-kubernetes/SKILL.md +91 -0
  76. package/workflows/powers/docker-kubernetes/references/dockerfile-optimization-checklist.md +35 -0
  77. package/workflows/powers/docker-kubernetes/references/kubernetes-deployment-patterns.md +59 -0
  78. package/workflows/powers/documentation-templates/POWER.md +158 -127
  79. package/workflows/powers/documentation-templates/SKILL.md +158 -127
  80. package/workflows/powers/drizzle-expert/POWER.md +66 -0
  81. package/workflows/powers/drizzle-expert/SKILL.md +63 -0
  82. package/workflows/powers/drizzle-expert/references/runtime-pairing-matrix.md +16 -0
  83. package/workflows/powers/drizzle-expert/references/schema-and-migration-playbook.md +18 -0
  84. package/workflows/powers/error-ux-observability/POWER.md +144 -131
  85. package/workflows/powers/error-ux-observability/SKILL.md +143 -131
  86. package/workflows/powers/fastapi-expert/POWER.md +46 -60
  87. package/workflows/powers/fastapi-expert/SKILL.md +46 -60
  88. package/workflows/powers/firebase/POWER.md +65 -0
  89. package/workflows/powers/firebase/SKILL.md +62 -0
  90. package/workflows/powers/firebase/references/platform-routing.md +16 -0
  91. package/workflows/powers/firebase/references/rules-and-indexes-checklist.md +11 -0
  92. package/workflows/powers/flutter-design-system/POWER.md +63 -0
  93. package/workflows/powers/flutter-design-system/SKILL.md +60 -0
  94. package/workflows/powers/flutter-design-system/references/shared-widgets.md +29 -0
  95. package/workflows/powers/flutter-design-system/references/tokens-and-theme.md +34 -0
  96. package/workflows/powers/flutter-drift/POWER.md +65 -0
  97. package/workflows/powers/flutter-drift/SKILL.md +62 -0
  98. package/workflows/powers/flutter-drift/references/migrations.md +22 -0
  99. package/workflows/powers/flutter-drift/references/query-patterns.md +26 -0
  100. package/workflows/powers/flutter-feature/POWER.md +65 -0
  101. package/workflows/powers/flutter-feature/SKILL.md +62 -0
  102. package/workflows/powers/flutter-feature/references/architecture-rules.md +85 -0
  103. package/workflows/powers/flutter-feature/references/composite-provider.md +58 -0
  104. package/workflows/powers/flutter-feature/references/outbox-pattern.md +87 -0
  105. package/workflows/powers/flutter-feature/references/testing-patterns.md +218 -0
  106. package/workflows/powers/flutter-go-router/POWER.md +64 -0
  107. package/workflows/powers/flutter-go-router/SKILL.md +61 -0
  108. package/workflows/powers/flutter-go-router/references/guards-and-deeplinks.md +20 -0
  109. package/workflows/powers/flutter-go-router/references/typed-routes.md +27 -0
  110. package/workflows/powers/flutter-offline-sync/POWER.md +62 -0
  111. package/workflows/powers/flutter-offline-sync/SKILL.md +59 -0
  112. package/workflows/powers/flutter-offline-sync/references/outbox-full.md +44 -0
  113. package/workflows/powers/flutter-repository/POWER.md +64 -0
  114. package/workflows/powers/flutter-repository/SKILL.md +61 -0
  115. package/workflows/powers/flutter-repository/references/drift-patterns.md +21 -0
  116. package/workflows/powers/flutter-repository/references/retrofit-patterns.md +20 -0
  117. package/workflows/powers/flutter-riverpod/POWER.md +70 -0
  118. package/workflows/powers/flutter-riverpod/SKILL.md +67 -0
  119. package/workflows/powers/flutter-riverpod/references/async-and-mutations.md +19 -0
  120. package/workflows/powers/flutter-riverpod/references/async-lifecycle.md +19 -0
  121. package/workflows/powers/flutter-riverpod/references/provider-selection.md +20 -0
  122. package/workflows/powers/flutter-riverpod/references/testing.md +21 -0
  123. package/workflows/powers/flutter-riverpod/references/version-matrix.md +24 -0
  124. package/workflows/powers/flutter-state-machine/POWER.md +62 -0
  125. package/workflows/powers/flutter-state-machine/SKILL.md +59 -0
  126. package/workflows/powers/flutter-state-machine/references/app-state-contract.md +23 -0
  127. package/workflows/powers/flutter-state-machine/references/ui-rendering.md +14 -0
  128. package/workflows/powers/flutter-testing/POWER.md +64 -0
  129. package/workflows/powers/flutter-testing/SKILL.md +61 -0
  130. package/workflows/powers/flutter-testing/references/offline-sync-tests.md +16 -0
  131. package/workflows/powers/flutter-testing/references/test-layers.md +33 -0
  132. package/workflows/powers/frontend-code-review/POWER.md +137 -0
  133. package/workflows/powers/frontend-code-review/SKILL.md +134 -0
  134. package/workflows/powers/frontend-code-review/references/common-antipatterns.md +86 -0
  135. package/workflows/powers/frontend-code-review/references/performance-budgets.md +56 -0
  136. package/workflows/powers/frontend-code-review/references/review-checklists.md +47 -0
  137. package/workflows/powers/frontend-design/POWER.md +163 -362
  138. package/workflows/powers/frontend-design/SKILL.md +163 -362
  139. package/workflows/powers/game-development/POWER.md +57 -140
  140. package/workflows/powers/game-development/SKILL.md +57 -140
  141. package/workflows/powers/geo-fundamentals/POWER.md +64 -126
  142. package/workflows/powers/geo-fundamentals/SKILL.md +64 -127
  143. package/workflows/powers/git-workflow/POWER.md +135 -0
  144. package/workflows/powers/git-workflow/SKILL.md +132 -0
  145. package/workflows/powers/git-workflow/references/pr-review-checklist.md +63 -0
  146. package/workflows/powers/golang-pro/POWER.md +46 -35
  147. package/workflows/powers/golang-pro/SKILL.md +46 -35
  148. package/workflows/powers/graphql-architect/POWER.md +44 -62
  149. package/workflows/powers/graphql-architect/SKILL.md +44 -62
  150. package/workflows/powers/i18n-localization/POWER.md +118 -103
  151. package/workflows/powers/i18n-localization/SKILL.md +118 -103
  152. package/workflows/powers/java-pro/POWER.md +47 -22
  153. package/workflows/powers/java-pro/SKILL.md +47 -22
  154. package/workflows/powers/javascript-pro/POWER.md +47 -34
  155. package/workflows/powers/javascript-pro/SKILL.md +47 -34
  156. package/workflows/powers/kotlin-pro/POWER.md +46 -23
  157. package/workflows/powers/kotlin-pro/SKILL.md +46 -23
  158. package/workflows/powers/legacy-modernizer/POWER.md +43 -60
  159. package/workflows/powers/legacy-modernizer/SKILL.md +43 -60
  160. package/workflows/powers/mcp-builder/POWER.md +65 -0
  161. package/workflows/powers/mcp-builder/SKILL.md +62 -0
  162. package/workflows/powers/mcp-builder/references/testing-and-evals.md +17 -0
  163. package/workflows/powers/mcp-builder/references/transport-and-tool-design.md +17 -0
  164. package/workflows/powers/microservices-architect/POWER.md +43 -70
  165. package/workflows/powers/microservices-architect/SKILL.md +43 -70
  166. package/workflows/powers/mobile-design/POWER.md +110 -345
  167. package/workflows/powers/mobile-design/SKILL.md +110 -345
  168. package/workflows/powers/mongodb/POWER.md +67 -0
  169. package/workflows/powers/mongodb/SKILL.md +64 -0
  170. package/workflows/powers/mongodb/references/mongodb-checklist.md +20 -0
  171. package/workflows/powers/mysql/POWER.md +67 -0
  172. package/workflows/powers/mysql/SKILL.md +64 -0
  173. package/workflows/powers/mysql/references/mysql-checklist.md +20 -0
  174. package/workflows/powers/neki/POWER.md +67 -0
  175. package/workflows/powers/neki/SKILL.md +64 -0
  176. package/workflows/powers/neki/references/neki-checklist.md +18 -0
  177. package/workflows/powers/nestjs-expert/POWER.md +45 -91
  178. package/workflows/powers/nestjs-expert/SKILL.md +45 -91
  179. package/workflows/powers/nextjs-developer/POWER.md +51 -44
  180. package/workflows/powers/nextjs-developer/SKILL.md +51 -44
  181. package/workflows/powers/nodejs-best-practices/POWER.md +48 -29
  182. package/workflows/powers/nodejs-best-practices/SKILL.md +48 -29
  183. package/workflows/powers/observability/POWER.md +109 -0
  184. package/workflows/powers/observability/SKILL.md +106 -0
  185. package/workflows/powers/observability/references/alerting-and-slo-checklist.md +87 -0
  186. package/workflows/powers/observability/references/opentelemetry-setup-guide.md +121 -0
  187. package/workflows/powers/openai-docs/POWER.md +61 -0
  188. package/workflows/powers/openai-docs/SKILL.md +58 -0
  189. package/workflows/powers/openai-docs/references/official-source-playbook.md +10 -0
  190. package/workflows/powers/performance-profiling/POWER.md +61 -114
  191. package/workflows/powers/performance-profiling/SKILL.md +61 -114
  192. package/workflows/powers/php-pro/POWER.md +116 -0
  193. package/workflows/powers/php-pro/SKILL.md +113 -0
  194. package/workflows/powers/php-pro/references/architecture-and-di.md +239 -0
  195. package/workflows/powers/php-pro/references/modern-php-features.md +189 -0
  196. package/workflows/powers/php-pro/references/performance-and-deployment.md +197 -0
  197. package/workflows/powers/php-pro/references/php84-strict-typing-checklist.md +161 -0
  198. package/workflows/powers/php-pro/references/testing-and-static-analysis.md +235 -0
  199. package/workflows/powers/playwright-e2e/POWER.md +85 -0
  200. package/workflows/powers/playwright-e2e/SKILL.md +82 -0
  201. package/workflows/powers/playwright-e2e/references/locator-trace-flake-checklist.md +80 -0
  202. package/workflows/powers/postgres/POWER.md +67 -0
  203. package/workflows/powers/postgres/SKILL.md +64 -0
  204. package/workflows/powers/postgres/references/postgres-checklist.md +20 -0
  205. package/workflows/powers/prompt-engineer/POWER.md +47 -30
  206. package/workflows/powers/prompt-engineer/SKILL.md +47 -30
  207. package/workflows/powers/python-pro/POWER.md +47 -36
  208. package/workflows/powers/python-pro/SKILL.md +47 -36
  209. package/workflows/powers/react-best-practices/POWER.md +56 -33
  210. package/workflows/powers/react-best-practices/SKILL.md +56 -33
  211. package/workflows/powers/react-expert/POWER.md +47 -37
  212. package/workflows/powers/react-expert/SKILL.md +47 -37
  213. package/workflows/powers/redis/POWER.md +67 -0
  214. package/workflows/powers/redis/SKILL.md +64 -0
  215. package/workflows/powers/redis/references/redis-checklist.md +19 -0
  216. package/workflows/powers/ruby-pro/POWER.md +118 -0
  217. package/workflows/powers/ruby-pro/SKILL.md +115 -0
  218. package/workflows/powers/ruby-pro/references/modern-ruby-features.md +189 -0
  219. package/workflows/powers/ruby-pro/references/object-design-patterns.md +220 -0
  220. package/workflows/powers/ruby-pro/references/performance-and-profiling.md +224 -0
  221. package/workflows/powers/ruby-pro/references/ruby-concurrency-and-testing.md +190 -0
  222. package/workflows/powers/ruby-pro/references/testing-and-rspec.md +236 -0
  223. package/workflows/powers/rust-pro/POWER.md +45 -31
  224. package/workflows/powers/rust-pro/SKILL.md +45 -31
  225. package/workflows/powers/security-engineer/POWER.md +129 -0
  226. package/workflows/powers/security-engineer/SKILL.md +126 -0
  227. package/workflows/powers/seo-fundamentals/POWER.md +59 -102
  228. package/workflows/powers/seo-fundamentals/SKILL.md +59 -102
  229. package/workflows/powers/serverless-patterns/POWER.md +171 -0
  230. package/workflows/powers/serverless-patterns/SKILL.md +168 -0
  231. package/workflows/powers/skill-creator/POWER.md +90 -0
  232. package/workflows/powers/skill-creator/SKILL.md +87 -0
  233. package/workflows/powers/skill-creator/references/platform-formats.md +181 -0
  234. package/workflows/powers/skill-creator/references/schemas.md +430 -0
  235. package/workflows/powers/spec-miner/POWER.md +49 -57
  236. package/workflows/powers/spec-miner/SKILL.md +49 -57
  237. package/workflows/powers/sqlite/POWER.md +67 -0
  238. package/workflows/powers/sqlite/SKILL.md +64 -0
  239. package/workflows/powers/sqlite/references/sqlite-checklist.md +19 -0
  240. package/workflows/powers/sre-engineer/POWER.md +123 -64
  241. package/workflows/powers/sre-engineer/SKILL.md +123 -64
  242. package/workflows/powers/static-analysis/POWER.md +121 -77
  243. package/workflows/powers/static-analysis/SKILL.md +121 -77
  244. package/workflows/powers/stripe-best-practices/POWER.md +140 -17
  245. package/workflows/powers/stripe-best-practices/SKILL.md +139 -17
  246. package/workflows/powers/supabase/POWER.md +67 -0
  247. package/workflows/powers/supabase/SKILL.md +64 -0
  248. package/workflows/powers/supabase/references/supabase-checklist.md +19 -0
  249. package/workflows/powers/swift-pro/POWER.md +118 -0
  250. package/workflows/powers/swift-pro/SKILL.md +115 -0
  251. package/workflows/powers/swift-pro/references/concurrency-patterns.md +165 -0
  252. package/workflows/powers/swift-pro/references/protocol-and-generics.md +172 -0
  253. package/workflows/powers/swift-pro/references/sendable-and-isolation.md +116 -0
  254. package/workflows/powers/swift-pro/references/swift-concurrency-and-protocols.md +260 -0
  255. package/workflows/powers/swift-pro/references/testing-and-packages.md +192 -0
  256. package/workflows/powers/tailwind-patterns/POWER.md +71 -240
  257. package/workflows/powers/tailwind-patterns/SKILL.md +71 -240
  258. package/workflows/powers/testing-patterns/POWER.md +155 -10
  259. package/workflows/powers/testing-patterns/SKILL.md +155 -10
  260. package/workflows/powers/typescript-pro/POWER.md +47 -38
  261. package/workflows/powers/typescript-pro/SKILL.md +47 -38
  262. package/workflows/powers/vitess/POWER.md +67 -0
  263. package/workflows/powers/vitess/SKILL.md +64 -0
  264. package/workflows/powers/vitess/references/vitess-checklist.md +19 -0
  265. package/workflows/powers/vulnerability-scanner/POWER.md +146 -10
  266. package/workflows/powers/vulnerability-scanner/SKILL.md +146 -10
  267. package/workflows/powers/web-perf/POWER.md +43 -170
  268. package/workflows/powers/web-perf/SKILL.md +43 -170
  269. package/workflows/powers/webapp-testing/POWER.md +43 -164
  270. package/workflows/powers/webapp-testing/SKILL.md +43 -164
  271. package/workflows/workflows/agent-environment-setup/platforms/antigravity/rules/GEMINI.md +65 -42
  272. package/workflows/workflows/agent-environment-setup/platforms/claude/rules/CLAUDE.md +8 -6
  273. package/workflows/workflows/agent-environment-setup/platforms/codex/rules/AGENTS.md +65 -41
  274. package/workflows/workflows/agent-environment-setup/platforms/copilot/rules/copilot-instructions.md +8 -6
  275. package/workflows/workflows/agent-environment-setup/shared/rules/STEERING.md +9 -8
  276. package/workflows/workflows/agent-environment-setup/shared/rules/overrides/codex.md +1 -1
@@ -2,420 +2,221 @@
2
2
  ---
3
3
  inclusion: manual
4
4
  name: frontend-design
5
- description: Design thinking and decision-making for web UI. Use when designing components, layouts, color schemes, typography, or creating aesthetic interfaces. Teaches principles, not fixed values.
6
- allowed-tools: Read, Write, Edit, Glob, Grep, Bash
5
+ description: Create distinctive, production-grade frontend interfaces with high design quality. Use when building pages, dashboards, or applications. Generates polished code that avoids generic AI aesthetics.
6
+ license: Apache-2.0
7
+ metadata:
8
+ author: cubis-foundry
9
+ version: "3.0"
10
+ compatibility: Claude Code, Codex, GitHub Copilot, Gemini CLI
7
11
  ---
8
12
 
9
- # Frontend Design System
13
+ # Frontend Design
10
14
 
11
- > **Philosophy:** Every pixel has purpose. Restraint is luxury. User psychology drives decisions.
12
- > **Core Principle:** THINK, don't memorize. ASK, don't assume.
15
+ ## Purpose
13
16
 
14
- ---
15
-
16
- ## 🎯 Selective Reading Rule (MANDATORY)
17
-
18
- **Read REQUIRED files always, OPTIONAL only when needed:**
19
-
20
- | File | Status | When to Read |
21
- |------|--------|--------------|
22
- | [ux-psychology.md](ux-psychology.md) | 🔴 **REQUIRED** | Always read first! |
23
- | [color-system.md](color-system.md) | ⚪ Optional | Color/palette decisions |
24
- | [typography-system.md](typography-system.md) | ⚪ Optional | Font selection/pairing |
25
- | [visual-effects.md](visual-effects.md) | ⚪ Optional | Glassmorphism, shadows, gradients |
26
- | [animation-guide.md](animation-guide.md) | ⚪ Optional | Animation needed |
27
- | [motion-graphics.md](motion-graphics.md) | ⚪ Optional | Lottie, GSAP, 3D |
28
- | [decision-trees.md](decision-trees.md) | ⚪ Optional | Context templates |
29
-
30
- > 🔴 **ux-psychology.md = ALWAYS READ. Others = only if relevant.**
31
-
32
- ---
33
-
34
- ## 🔧 Runtime Scripts
35
-
36
- **Execute these for audits (don't read, just run):**
37
-
38
- | Script | Purpose | Usage |
39
- |--------|---------|-------|
40
- | `scripts/ux_audit.py` | UX Psychology & Accessibility Audit | `python scripts/ux_audit.py <project_path>` |
41
-
42
- ---
43
-
44
- ## ⚠️ CRITICAL: ASK BEFORE ASSUMING (MANDATORY)
45
-
46
- > **STOP! If the user's request is open-ended, DO NOT default to your favorites.**
47
-
48
- ### When User Prompt is Vague, ASK:
49
-
50
- **Color not specified?** Ask:
51
- > "What color palette do you prefer? (blue/green/orange/neutral/other?)"
52
-
53
- **Style not specified?** Ask:
54
- > "What style are you going for? (minimal/bold/retro/futuristic/organic?)"
55
-
56
- **Layout not specified?** Ask:
57
- > "Do you have a layout preference? (single column/grid/asymmetric/full-width?)"
58
-
59
- ### ⛔ DEFAULT TENDENCIES TO AVOID (ANTI-SAFE HARBOR):
60
-
61
- | AI Default Tendency | Why It's Bad | Think Instead |
62
- |---------------------|--------------|---------------|
63
- | **Bento Grids (Modern Cliché)** | Used in every AI design | Why does this content NEED a grid? |
64
- | **Hero Split (Left/Right)** | Predictable & Boring | How about Massive Typography or Vertical Narrative? |
65
- | **Mesh/Aurora Gradients** | The "new" lazy background | What's a radical color pairing? |
66
- | **Glassmorphism** | AI's idea of "premium" | How about solid, high-contrast flat? |
67
- | **Deep Cyan / Fintech Blue** | Safe harbor from purple ban | Why not Red, Black, or Neon Green? |
68
- | **"Orchestrate / Empower"** | AI-generated copywriting | How would a human say this? |
69
- | Dark background + neon glow | Overused, "AI look" | What does the BRAND actually need? |
70
- | **Rounded everything** | Generic/Safe | Where can I use sharp, brutalist edges? |
17
+ Guide creation of distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. Synthesize design thinking, visual direction, and implementation into working code with exceptional attention to aesthetic details, accessibility, and creative choices. Serve both technical and non-technical users with clear communication about design decisions.
71
18
 
72
- > 🔴 **"Every 'safe' structure you choose brings you one step closer to a generic template. TAKE RISKS."**
19
+ ## When to Use
73
20
 
74
- ---
75
-
76
- ## 1. Constraint Analysis (ALWAYS FIRST)
77
-
78
- Before any design work, ANSWER THESE or ASK USER:
79
-
80
- | Constraint | Question | Why It Matters |
81
- |------------|----------|----------------|
82
- | **Timeline** | How much time? | Determines complexity |
83
- | **Content** | Ready or placeholder? | Affects layout flexibility |
84
- | **Brand** | Existing guidelines? | May dictate colors/fonts |
85
- | **Tech** | What stack? | Affects capabilities |
86
- | **Audience** | Who exactly? | Drives all visual decisions |
87
-
88
- ### Audience → Design Approach
89
-
90
- | Audience | Think About |
91
- |----------|-------------|
92
- | **Gen Z** | Bold, fast, mobile-first, authentic |
93
- | **Millennials** | Clean, minimal, value-driven |
94
- | **Gen X** | Familiar, trustworthy, clear |
95
- | **Boomers** | Readable, high contrast, simple |
96
- | **B2B** | Professional, data-focused, trust |
97
- | **Luxury** | Restrained elegance, whitespace |
98
-
99
- ---
100
-
101
- ## 2. UX Psychology Principles
102
-
103
- ### Core Laws (Internalize These)
21
+ - Building web components, pages, artifacts, posters, or applications
22
+ - Designing layouts, choosing visual direction, or selecting typography
23
+ - Creating dashboards, landing pages, marketing sites, or SaaS interfaces
24
+ - Reviewing interface clarity, visual hierarchy, or interaction patterns
25
+ - Styling or beautifying existing web UI that looks generic or templated
26
+ - Making color system decisions (palettes, dark mode, contrast)
27
+ - Adding motion, animation, or micro-interactions to an interface
28
+ - Designing component states (hover, active, disabled, loading, error, empty)
104
29
 
105
- | Law | Principle | Application |
106
- |-----|-----------|-------------|
107
- | **Hick's Law** | More choices = slower decisions | Limit options, use progressive disclosure |
108
- | **Fitts' Law** | Bigger + closer = easier to click | Size CTAs appropriately |
109
- | **Miller's Law** | ~7 items in working memory | Chunk content into groups |
110
- | **Von Restorff** | Different = memorable | Make CTAs visually distinct |
111
- | **Serial Position** | First/last remembered most | Key info at start/end |
30
+ ## Instructions
112
31
 
113
- ### Emotional Design Levels
32
+ ### Step 1 — Understand the Context
114
33
 
115
- ```
116
- VISCERAL (instant) → First impression: colors, imagery, overall feel
117
- BEHAVIORAL (use) → Using it: speed, feedback, efficiency
118
- REFLECTIVE (memory) → After: "I like what this says about me"
119
- ```
34
+ Before writing code, ask or infer:
120
35
 
121
- ### Trust Building
36
+ 1. **Purpose** — What problem does this interface solve? Who uses it?
37
+ 2. **Brand** — Is there an existing brand system, style guide, or named brand (e.g. "Anthropic", client guidelines, hex palette) to follow? If yes, load `references/brand-presets.md` and use `/brand` to apply it before choosing aesthetic direction.
38
+ 3. **Tone** — If no brand system exists, pick a bold aesthetic direction: brutally minimal, maximalist chaos, retro-futuristic, organic/natural, luxury/refined, playful/toy-like, editorial/magazine, brutalist/raw, art deco/geometric, soft/pastel, industrial/utilitarian. There are many flavors. Pick one and commit.
39
+ 4. **Constraints** — Technical requirements (framework, performance, a11y level, browser support).
40
+ 5. **Differentiation** — What makes this UNFORGETTABLE? What's the one thing someone will remember?
122
41
 
123
- - Security indicators on sensitive actions
124
- - Social proof where relevant
125
- - Clear contact/support access
126
- - Consistent, professional design
127
- - Transparent policies
42
+ Choose a clear conceptual direction and execute it with precision. Bold maximalism and refined minimalism both work — the key is intentionality, not intensity.
128
43
 
129
- ---
130
-
131
- ## 3. Layout Principles
132
-
133
- ### Golden Ratio (φ = 1.618)
134
-
135
- ```
136
- Use for proportional harmony:
137
- ├── Content : Sidebar = roughly 62% : 38%
138
- ├── Each heading size = previous × 1.618 (for dramatic scale)
139
- ├── Spacing can follow: sm → md → lg (each × 1.618)
140
- ```
141
-
142
- ### 8-Point Grid Concept
44
+ When communicating with non-technical users: explain design decisions in plain language. Say "this font pairing creates a sense of professionalism" rather than "I used a sans-serif display font with a serif body font." Show the reasoning, not the jargon.
143
45
 
144
- ```
145
- All spacing and sizing in multiples of 8:
146
- ├── Tight: 4px (half-step for micro)
147
- ├── Small: 8px
148
- ├── Medium: 16px
149
- ├── Large: 24px, 32px
150
- ├── XL: 48px, 64px, 80px
151
- └── Adjust based on content density
152
- ```
46
+ ### Step 2 — Commit to a Design Direction
153
47
 
154
- ### Key Sizing Principles
48
+ Implement working code that is:
155
49
 
156
- | Element | Consideration |
157
- |---------|---------------|
158
- | **Touch targets** | Minimum comfortable tap size |
159
- | **Buttons** | Height based on importance hierarchy |
160
- | **Inputs** | Match button height for alignment |
161
- | **Cards** | Consistent padding, breathable |
162
- | **Reading width** | 45-75 characters optimal |
50
+ - Production-grade and functional
51
+ - Visually striking and memorable
52
+ - Cohesive with a clear aesthetic point-of-view
53
+ - Meticulously refined in every detail
163
54
 
164
- ---
55
+ Match implementation complexity to the aesthetic vision. Maximalist designs need elaborate code with extensive animations and effects. Minimalist or refined designs need restraint, precision, and careful attention to spacing, typography, and subtle details.
165
56
 
166
- ## 4. Color Principles
57
+ ### Step 3 — Apply Aesthetics Guidelines
167
58
 
168
- ### 60-30-10 Rule
59
+ For each domain, follow the DO/DON'T guidance below. Load the corresponding reference file when deeper expertise is needed.
169
60
 
170
- ```
171
- 60% → Primary/Background (calm, neutral base)
172
- 30% → Secondary (supporting areas)
173
- 10% → Accent (CTAs, highlights, attention)
174
- ```
61
+ **Typography** → see `references/typography.md`
175
62
 
176
- ### Color Psychology (For Decision Making)
63
+ - DO: Use a modular type scale with fluid sizing (clamp)
64
+ - DO: Vary font weights and sizes to create clear visual hierarchy
65
+ - DO: Choose fonts that are beautiful, unique, and interesting — pair a distinctive display font with a refined body font
66
+ - DON'T: Use overused fonts — Inter, Roboto, Arial, Open Sans, system defaults
67
+ - DON'T: Use monospace typography as lazy shorthand for "technical/developer" vibes
68
+ - DON'T: Put large icons with rounded corners above every heading
177
69
 
178
- | If You Need... | Consider Hues | Avoid |
179
- |----------------|---------------|-------|
180
- | Trust, calm | Blue family | Aggressive reds |
181
- | Growth, nature | Green family | Industrial grays |
182
- | Energy, urgency | Orange, red | Passive blues |
183
- | Luxury, creativity | Deep Teal, Gold, Emerald | Cheap-feeling brights |
184
- | Clean, minimal | Neutrals | Overwhelming color |
70
+ **Color & Theme** see `references/color-and-contrast.md`
185
71
 
186
- ### Selection Process
72
+ - DO: Use modern CSS color functions (oklch, color-mix, light-dark) for perceptually uniform, maintainable palettes
73
+ - DO: Tint neutrals toward the brand hue for subconscious cohesion
74
+ - DON'T: Use gray text on colored backgrounds — use a shade of the background color instead
75
+ - DON'T: Use pure black (#000) or pure white (#fff) — always tint; pure values never appear in nature
76
+ - DON'T: Use the AI color palette: cyan-on-dark, purple-to-blue gradients, neon accents on dark backgrounds
77
+ - DON'T: Default to dark mode with glowing accents — it looks "cool" without requiring actual design decisions
187
78
 
188
- 1. **What's the industry?** (narrows options)
189
- 2. **What's the emotion?** (picks primary)
190
- 3. **Light or dark mode?** (sets foundation)
191
- 4. **ASK USER** if not specified
79
+ **Layout & Space** see `references/spatial-design.md`
192
80
 
193
- For detailed color theory: [color-system.md](color-system.md)
81
+ - DO: Create visual rhythm through varied spacing — tight groupings, generous separations
82
+ - DO: Use fluid spacing with clamp() that breathes on larger screens
83
+ - DO: Use asymmetry and unexpected compositions; break the grid intentionally for emphasis
84
+ - DON'T: Wrap everything in cards — not everything needs a container
85
+ - DON'T: Nest cards inside cards — visual noise, flatten the hierarchy
86
+ - DON'T: Use identical card grids — same-sized cards with icon + heading + text, repeated endlessly
87
+ - DON'T: Center everything — left-aligned text with asymmetric layouts feels more designed
88
+ - DON'T: Use the same spacing everywhere — without rhythm, layouts feel monotonous
194
89
 
195
- ---
90
+ **Visual Details**
196
91
 
197
- ## 5. Typography Principles
92
+ - DO: Use intentional, purposeful decorative elements that reinforce brand
93
+ - DON'T: Use glassmorphism everywhere — blur effects and glass cards used decoratively rather than purposefully
94
+ - DON'T: Use rounded rectangles with generic drop shadows — safe, forgettable
95
+ - DON'T: Use sparklines as decoration — tiny charts that convey nothing meaningful
96
+ - DON'T: Use modals unless there's truly no better alternative
198
97
 
199
- ### Scale Selection
98
+ **Motion** see `references/motion-design.md`
200
99
 
201
- | Content Type | Scale Ratio | Feel |
202
- |--------------|-------------|------|
203
- | Dense UI | 1.125-1.2 | Compact, efficient |
204
- | General web | 1.25 | Balanced (most common) |
205
- | Editorial | 1.333 | Readable, spacious |
206
- | Hero/display | 1.5-1.618 | Dramatic impact |
100
+ - DO: Use motion to convey state changes — entrances, exits, feedback
101
+ - DO: Use exponential easing (ease-out-quart/quint/expo) for natural deceleration
102
+ - DO: For height animations, use grid-template-rows transitions instead of animating height directly
103
+ - DON'T: Animate layout properties (width, height, padding, margin) — use transform and opacity only
104
+ - DON'T: Use bounce or elastic easing — they feel dated and tacky
207
105
 
208
- ### Pairing Concept
106
+ **Interaction** see `references/interaction-design.md`
209
107
 
210
- ```
211
- Contrast + Harmony:
212
- ├── DIFFERENT enough for hierarchy
213
- ├── SIMILAR enough for cohesion
214
- └── Usually: display + neutral, or serif + sans
215
- ```
108
+ - DO: Use progressive disclosure — start simple, reveal sophistication through interaction
109
+ - DO: Design empty states that teach the interface, not just say "nothing here"
110
+ - DO: Make every interactive surface feel intentional and responsive
111
+ - DON'T: Repeat the same information — redundant headers, intros that restate the heading
112
+ - DON'T: Make every button primary — use ghost buttons, text links, secondary styles; hierarchy matters
216
113
 
217
- ### Readability Rules
114
+ **Responsive** see `references/responsive-design.md`
218
115
 
219
- - **Line length**: 45-75 characters optimal
220
- - **Line height**: 1.4-1.6 for body text
221
- - **Contrast**: Check WCAG requirements
222
- - **Size**: 16px+ for body on web
116
+ - DO: Use container queries (@container) for component-level responsiveness
117
+ - DO: Adapt the interface for different contexts — don't just shrink it
118
+ - DON'T: Hide critical functionality on mobile — adapt the interface, don't amputate it
223
119
 
224
- For detailed typography: [typography-system.md](typography-system.md)
120
+ **UX Writing** see `references/ux-writing.md`
225
121
 
226
- ---
122
+ - DO: Make every word earn its place
123
+ - DON'T: Repeat information users can already see
227
124
 
228
- ## 6. Visual Effects Principles
125
+ ### Step 4 Run the AI Slop Test
229
126
 
230
- ### Glassmorphism (When Appropriate)
127
+ Before delivering, review: if you showed this interface to someone and said "AI made this," would they believe you immediately? If yes, that's the problem.
231
128
 
232
- ```
233
- Key properties:
234
- ├── Semi-transparent background
235
- ├── Backdrop blur
236
- ├── Subtle border for definition
237
- └── ⚠️ **WARNING:** Standard blue/white glassmorphism is a modern cliché. Use it radically or not at all.
238
- ```
129
+ A distinctive interface should make someone ask "how was this made?" not "which AI made this?"
239
130
 
240
- ### Shadow Hierarchy
131
+ Review the DON'T guidelines above — they are the fingerprints of AI-generated work. Also check for these anti-patterns:
241
132
 
242
- ```
243
- Elevation concept:
244
- ├── Higher elements = larger shadows
245
- ├── Y-offset > X-offset (light from above)
246
- ├── Multiple layers = more realistic
247
- └── Dark mode: may need glow instead
248
- ```
133
+ - Bento grids (modern cliché)
134
+ - Hero splits with image/text 50-50 (predictable)
135
+ - Mesh/Aurora gradients (lazy atmosphere)
136
+ - Deep cyan / fintech blue (safe harbor color)
137
+ - Gradient text for "impact" — especially on metrics or headings
249
138
 
250
- ### Gradient Usage
139
+ ### Step 5 — Verify Accessibility
251
140
 
252
- ```
253
- Harmonious gradients:
254
- ├── Adjacent colors on wheel (analogous)
255
- ├── OR same hue, different lightness
256
- ├── Avoid harsh complementary pairs
257
- ├── 🚫 **NO Mesh/Aurora Gradients** (floating blobs)
258
- └── VARY from project to project radically
259
- ```
141
+ Do not treat visual polish as a substitute for accessibility:
260
142
 
261
- For complete effects guide: [visual-effects.md](visual-effects.md)
143
+ 1. Confirm color contrast ratios meet WCAG 2.1 AA (4.5:1 for normal text, 3:1 for large text)
144
+ 2. Verify all interactive elements are keyboard-navigable
145
+ 3. Add appropriate ARIA attributes where semantic HTML is insufficient
146
+ 4. Ensure motion respects `prefers-reduced-motion`
147
+ 5. Test focus states are visible and intentional
262
148
 
263
- ---
149
+ ### Step 6 — Explain Decisions to the User
264
150
 
265
- ## 7. Animation Principles
151
+ When delivering, explain:
266
152
 
267
- ### Timing Concept
153
+ - What aesthetic direction was chosen and why
154
+ - Key design decisions the user should understand
155
+ - What trade-offs were made (performance, browser support, complexity)
156
+ - What to change if the user wants to adjust the direction
268
157
 
269
- ```
270
- Duration based on:
271
- ├── Distance (further = longer)
272
- ├── Size (larger = slower)
273
- ├── Importance (critical = clear)
274
- └── Context (urgent = fast, luxury = slow)
275
- ```
158
+ Use plain language. Avoid unexplained jargon. If the user is non-technical, lead with the visual impact and emotional tone, not the implementation details.
276
159
 
277
- ### Easing Selection
160
+ ## Output Format
161
+
162
+ Deliver:
163
+
164
+ 1. **Working code** — Production-grade HTML/CSS/JS, React, Vue, Svelte, or framework-specific code
165
+ 2. **Design rationale** — Brief explanation of aesthetic direction, key choices, and trade-offs
166
+ 3. **Accessibility notes** — Contrast ratios checked, keyboard navigation verified, ARIA attributes applied
167
+ 4. **Next steps** — What to iterate on, what commands to run for refinement (see Commands section)
278
168
 
279
- | Action | Easing | Why |
280
- |--------|--------|-----|
281
- | Entering | Ease-out | Decelerate, settle in |
282
- | Leaving | Ease-in | Accelerate, exit |
283
- | Emphasis | Ease-in-out | Smooth, deliberate |
284
- | Playful | Bounce | Fun, energetic |
169
+ ## References
170
+
171
+ Load only what the current step needs.
172
+
173
+ | File | Load when |
174
+ | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
175
+ | `references/typography.md` | Task involves font selection, type scale, font loading, or text hierarchy decisions. |
176
+ | `references/color-and-contrast.md` | Task involves palette selection, dark mode, OKLCH color, contrast ratios, or tinted neutrals. |
177
+ | `references/spatial-design.md` | Task involves grid systems, spacing rhythm, container queries, or layout composition. |
178
+ | `references/motion-design.md` | Task involves animation timing, easing curves, staggered reveals, or reduced motion support. |
179
+ | `references/interaction-design.md` | Task involves form design, focus management, loading states, or progressive disclosure patterns. |
180
+ | `references/responsive-design.md` | Task involves mobile-first design, fluid layouts, container queries, or adaptive interfaces. |
181
+ | `references/ux-writing.md` | Task involves button labels, error messages, empty states, or microcopy decisions. |
182
+ | `references/ux-psychology.md` | Task involves cognitive load, decision architecture, trust building, or emotional design principles. |
183
+ | `references/brand-presets.md` | Task involves applying existing brand guidelines, a named brand system (e.g. Anthropic), or converting a hex palette into CSS tokens. |
285
184
 
286
- ### Performance
185
+ ## Commands
287
186
 
288
- - Animate only transform and opacity
289
- - Respect reduced-motion preference
290
- - Test on low-end devices
187
+ 17 specialized commands for targeted design operations. Each command focuses on a specific design concern and can be applied to a whole page or a specific element.
291
188
 
292
- For animation patterns: [animation-guide.md](animation-guide.md), for advanced: [motion-graphics.md](motion-graphics.md)
189
+ | Command | Purpose |
190
+ | ------------------- | ------------------------------------------------------------------------------------------------------------------- |
191
+ | `/audit` | Run technical quality checks: accessibility, performance, responsive behavior |
192
+ | `/critique` | UX design review: hierarchy, clarity, emotional resonance, user flow |
193
+ | `/normalize` | Align with design system standards: tokens, spacing, typography consistency |
194
+ | `/polish` | Final pass before shipping: micro-details, alignment, visual refinement |
195
+ | `/distill` | Strip to essence: remove unnecessary complexity, simplify without losing character |
196
+ | `/clarify` | Improve unclear UX copy: labels, instructions, error messages, empty states |
197
+ | `/optimize` | Performance improvements: image sizes, render-blocking, bundle impact |
198
+ | `/harden` | Error handling, i18n readiness, edge cases, defensive UI patterns |
199
+ | `/animate` | Add purposeful motion: transitions, micro-interactions, state changes |
200
+ | `/colorize` | Introduce strategic color: palette refinement, accent placement, contrast fixes |
201
+ | `/bolder` | Amplify timid designs: stronger hierarchy, more contrast, bigger gestures |
202
+ | `/quieter` | Tone down overwhelming designs: reduce noise, increase whitespace, simplify |
203
+ | `/delight` | Add moments of joy: easter eggs, satisfying interactions, personality |
204
+ | `/extract` | Pull into reusable components: identify patterns, create component API |
205
+ | `/adapt` | Adapt for different devices: responsive breakpoints, touch targets, viewport optimization |
206
+ | `/onboard` | Design onboarding flows: first-run experience, empty states, progressive disclosure |
207
+ | `/teach-impeccable` | One-time setup: gather project design context, save preferences for future sessions |
208
+ | `/brand` | Apply or enforce a specific brand identity: convert guideline colors to CSS tokens, set typography, verify contrast |
293
209
 
294
- ---
210
+ Usage: Most commands accept an optional argument to focus on a specific area (e.g., `/audit header`, `/polish checkout-form`).
295
211
 
296
- ## 8. "Wow Factor" Checklist
297
-
298
- ### Premium Indicators
299
-
300
- - [ ] Generous whitespace (luxury = breathing room)
301
- - [ ] Subtle depth and dimension
302
- - [ ] Smooth, purposeful animations
303
- - [ ] Attention to detail (alignment, consistency)
304
- - [ ] Cohesive visual rhythm
305
- - [ ] Custom elements (not all defaults)
306
-
307
- ### Trust Builders
308
-
309
- - [ ] Security cues where appropriate
310
- - [ ] Social proof / testimonials
311
- - [ ] Clear value proposition
312
- - [ ] Professional imagery
313
- - [ ] Consistent design language
314
-
315
- ### Emotional Triggers
316
-
317
- - [ ] Hero that evokes intended emotion
318
- - [ ] Human elements (faces, stories)
319
- - [ ] Progress/achievement indicators
320
- - [ ] Moments of delight
321
-
322
- ---
323
-
324
- ## 9. Anti-Patterns (What NOT to Do)
325
-
326
- ### ❌ Lazy Design Indicators
327
-
328
- - Default system fonts without consideration
329
- - Stock imagery that doesn't match
330
- - Inconsistent spacing
331
- - Too many competing colors
332
- - Walls of text without hierarchy
333
- - Inaccessible contrast
334
-
335
- ### ❌ AI Tendency Patterns (AVOID!)
336
-
337
- - **Same colors every project**
338
- - **Dark + neon as default**
339
- - **Purple/violet everything (PURPLE BAN ✅)**
340
- - **Bento grids for simple landing pages**
341
- - **Mesh Gradients & Glow Effects**
342
- - **Same layout structure / Vercel clone**
343
- - **Not asking user preferences**
344
-
345
- ### ❌ Dark Patterns (Unethical)
346
-
347
- - Hidden costs
348
- - Fake urgency
349
- - Forced actions
350
- - Deceptive UI
351
- - Confirmshaming
352
-
353
- ---
354
-
355
- ## 10. Decision Process Summary
356
-
357
- ```
358
- For EVERY design task:
359
-
360
- 1. CONSTRAINTS
361
- └── What's the timeline, brand, tech, audience?
362
- └── If unclear → ASK
363
-
364
- 2. CONTENT
365
- └── What content exists?
366
- └── What's the hierarchy?
367
-
368
- 3. STYLE DIRECTION
369
- └── What's appropriate for context?
370
- └── If unclear → ASK (don't default!)
371
-
372
- 4. EXECUTION
373
- └── Apply principles above
374
- └── Check against anti-patterns
375
-
376
- 5. REVIEW
377
- └── "Does this serve the user?"
378
- └── "Is this different from my defaults?"
379
- └── "Would I be proud of this?"
380
- ```
381
-
382
- ---
383
-
384
- ## Reference Files
385
-
386
- For deeper guidance on specific areas:
387
-
388
- - [color-system.md](color-system.md) - Color theory and selection process
389
- - [typography-system.md](typography-system.md) - Font pairing and scale decisions
390
- - [visual-effects.md](visual-effects.md) - Effects principles and techniques
391
- - [animation-guide.md](animation-guide.md) - Motion design principles
392
- - [motion-graphics.md](motion-graphics.md) - Advanced: Lottie, GSAP, SVG, 3D, Particles
393
- - [decision-trees.md](decision-trees.md) - Context-specific templates
394
- - [ux-psychology.md](ux-psychology.md) - User psychology deep dive
395
-
396
- ---
397
-
398
- ## Related Skills
399
-
400
- | Skill | When to Use |
401
- |-------|-------------|
402
- | **frontend-design** (this) | Before coding - Learn design principles (color, typography, UX psychology) |
403
- | **[web-design-guidelines](../web-design-guidelines/SKILL.md)** | After coding - Audit for accessibility, performance, and best practices |
404
-
405
- ## Post-Design Workflow
406
-
407
- After implementing your design, run the audit:
408
-
409
- ```
410
- 1. DESIGN → Read frontend-design principles ← YOU ARE HERE
411
- 2. CODE → Implement the design
412
- 3. AUDIT → Run web-design-guidelines review
413
- 4. FIX → Address findings from audit
414
- ```
415
-
416
- > **Next Step:** After coding, use `web-design-guidelines` skill to audit your implementation for accessibility, focus states, animations, and performance issues.
417
-
418
- ---
212
+ ## Examples
419
213
 
420
- > **Remember:** Design is THINKING, not copying. Every project deserves fresh consideration based on its unique context and users. **Avoid the Modern SaaS Safe Harbor!**
214
+ - "Build a landing page for a developer tool make it feel premium and editorial, not like every other SaaS template."
215
+ - "Redesign this dashboard. It looks like AI made it. Make it distinctive."
216
+ - "/audit this page — check accessibility, responsive behavior, and performance."
217
+ - "/critique the checkout flow — is the hierarchy clear? Does it build trust?"
218
+ - "/polish the hero section before we ship."
219
+ - "I need a color system for a health tech app. No fintech blue, no AI purple."
220
+ - "/brand anthropic — apply Anthropic's brand colors and typography to this interface."
221
+ - "Here's our brand guide with hex values. Apply it to this dashboard — /brand"
421
222
  ````