@cubis/foundry 0.3.71 → 0.3.72
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.
- package/CHANGELOG.md +15 -0
- package/dist/cli/core.js +4 -18
- package/dist/cli/core.js.map +1 -1
- package/package.json +1 -1
- package/src/cli/core.ts +4 -18
- package/workflows/powers/accessibility/POWER.md +83 -94
- package/workflows/powers/accessibility/SKILL.md +82 -94
- package/workflows/powers/agent-design/POWER.md +201 -0
- package/workflows/powers/agent-design/SKILL.md +198 -0
- package/workflows/powers/agent-design/references/clarification-patterns.md +153 -0
- package/workflows/powers/agent-design/references/skill-testing.md +164 -0
- package/workflows/powers/agent-design/references/workflow-patterns.md +226 -0
- package/workflows/powers/agentic-eval/POWER.md +62 -0
- package/workflows/powers/agentic-eval/SKILL.md +59 -0
- package/workflows/powers/agentic-eval/references/rubric-and-regression-checklist.md +11 -0
- package/workflows/powers/api-designer/POWER.md +43 -71
- package/workflows/powers/api-designer/SKILL.md +43 -71
- package/workflows/powers/api-patterns/POWER.md +42 -56
- package/workflows/powers/api-patterns/SKILL.md +42 -57
- package/workflows/powers/architecture-designer/POWER.md +43 -60
- package/workflows/powers/architecture-designer/SKILL.md +43 -60
- package/workflows/powers/ask-questions-if-underspecified/POWER.md +51 -3
- package/workflows/powers/auth-architect/POWER.md +69 -0
- package/workflows/powers/auth-architect/SKILL.md +66 -0
- package/workflows/powers/auth-architect/references/session-token-policy-checklist.md +45 -0
- package/workflows/powers/behavioral-modes/POWER.md +100 -9
- package/workflows/powers/c-pro/POWER.md +105 -0
- package/workflows/powers/c-pro/SKILL.md +102 -0
- package/workflows/powers/c-pro/references/build-systems-and-toolchains.md +148 -0
- package/workflows/powers/c-pro/references/common-ub-and-portability.md +166 -0
- package/workflows/powers/c-pro/references/debugging-with-sanitizers.md +205 -0
- package/workflows/powers/c-pro/references/memory-safety-and-build-checklist.md +60 -0
- package/workflows/powers/c-pro/references/posix-and-platform-apis.md +244 -0
- package/workflows/powers/changelog-generator/POWER.md +127 -63
- package/workflows/powers/changelog-generator/SKILL.md +126 -63
- package/workflows/powers/ci-cd-pipelines/POWER.md +156 -0
- package/workflows/powers/ci-cd-pipelines/SKILL.md +153 -0
- package/workflows/powers/ci-cd-pipelines/references/github-actions-patterns.md +160 -0
- package/workflows/powers/ci-cd-pipelines/references/pipeline-security-checklist.md +57 -0
- package/workflows/powers/cli-developer/POWER.md +152 -95
- package/workflows/powers/cli-developer/SKILL.md +152 -95
- package/workflows/powers/cpp-pro/POWER.md +111 -0
- package/workflows/powers/cpp-pro/SKILL.md +108 -0
- package/workflows/powers/cpp-pro/references/concurrency-primitives.md +266 -0
- package/workflows/powers/cpp-pro/references/move-semantics-and-value-types.md +149 -0
- package/workflows/powers/cpp-pro/references/performance-and-profiling.md +191 -0
- package/workflows/powers/cpp-pro/references/raii-and-modern-cpp-checklist.md +87 -0
- package/workflows/powers/cpp-pro/references/template-and-concepts-patterns.md +205 -0
- package/workflows/powers/csharp-pro/POWER.md +47 -22
- package/workflows/powers/csharp-pro/SKILL.md +47 -22
- package/workflows/powers/dart-pro/POWER.md +68 -0
- package/workflows/powers/dart-pro/SKILL.md +65 -0
- package/workflows/powers/dart-pro/references/isolate-and-concurrency.md +180 -0
- package/workflows/powers/dart-pro/references/null-safety-and-async-patterns.md +133 -0
- package/workflows/powers/dart-pro/references/package-structure-and-linting.md +193 -0
- package/workflows/powers/dart-pro/references/sealed-records-patterns.md +173 -0
- package/workflows/powers/dart-pro/references/testing-and-mocking.md +235 -0
- package/workflows/powers/database-design/POWER.md +47 -33
- package/workflows/powers/database-design/SKILL.md +47 -33
- package/workflows/powers/database-optimizer/POWER.md +43 -64
- package/workflows/powers/database-optimizer/SKILL.md +43 -64
- package/workflows/powers/database-skills/POWER.md +59 -93
- package/workflows/powers/database-skills/SKILL.md +59 -93
- package/workflows/powers/debugging-strategies/POWER.md +69 -0
- package/workflows/powers/debugging-strategies/SKILL.md +66 -0
- package/workflows/powers/debugging-strategies/references/reproduce-isolate-verify-checklist.md +42 -0
- package/workflows/powers/deep-research/POWER.md +67 -0
- package/workflows/powers/deep-research/SKILL.md +64 -0
- package/workflows/powers/deep-research/references/multi-round-research-loop.md +80 -0
- package/workflows/powers/design-system-builder/POWER.md +130 -116
- package/workflows/powers/design-system-builder/SKILL.md +130 -116
- package/workflows/powers/devops-engineer/POWER.md +120 -57
- package/workflows/powers/devops-engineer/SKILL.md +120 -57
- package/workflows/powers/docker-kubernetes/POWER.md +94 -0
- package/workflows/powers/docker-kubernetes/SKILL.md +91 -0
- package/workflows/powers/docker-kubernetes/references/dockerfile-optimization-checklist.md +35 -0
- package/workflows/powers/docker-kubernetes/references/kubernetes-deployment-patterns.md +59 -0
- package/workflows/powers/documentation-templates/POWER.md +158 -127
- package/workflows/powers/documentation-templates/SKILL.md +158 -127
- package/workflows/powers/drizzle-expert/POWER.md +66 -0
- package/workflows/powers/drizzle-expert/SKILL.md +63 -0
- package/workflows/powers/drizzle-expert/references/runtime-pairing-matrix.md +16 -0
- package/workflows/powers/drizzle-expert/references/schema-and-migration-playbook.md +18 -0
- package/workflows/powers/error-ux-observability/POWER.md +144 -131
- package/workflows/powers/error-ux-observability/SKILL.md +143 -131
- package/workflows/powers/fastapi-expert/POWER.md +46 -60
- package/workflows/powers/fastapi-expert/SKILL.md +46 -60
- package/workflows/powers/firebase/POWER.md +65 -0
- package/workflows/powers/firebase/SKILL.md +62 -0
- package/workflows/powers/firebase/references/platform-routing.md +16 -0
- package/workflows/powers/firebase/references/rules-and-indexes-checklist.md +11 -0
- package/workflows/powers/flutter-design-system/POWER.md +63 -0
- package/workflows/powers/flutter-design-system/SKILL.md +60 -0
- package/workflows/powers/flutter-design-system/references/shared-widgets.md +29 -0
- package/workflows/powers/flutter-design-system/references/tokens-and-theme.md +34 -0
- package/workflows/powers/flutter-drift/POWER.md +65 -0
- package/workflows/powers/flutter-drift/SKILL.md +62 -0
- package/workflows/powers/flutter-drift/references/migrations.md +22 -0
- package/workflows/powers/flutter-drift/references/query-patterns.md +26 -0
- package/workflows/powers/flutter-feature/POWER.md +65 -0
- package/workflows/powers/flutter-feature/SKILL.md +62 -0
- package/workflows/powers/flutter-feature/references/architecture-rules.md +85 -0
- package/workflows/powers/flutter-feature/references/composite-provider.md +58 -0
- package/workflows/powers/flutter-feature/references/outbox-pattern.md +87 -0
- package/workflows/powers/flutter-feature/references/testing-patterns.md +218 -0
- package/workflows/powers/flutter-go-router/POWER.md +64 -0
- package/workflows/powers/flutter-go-router/SKILL.md +61 -0
- package/workflows/powers/flutter-go-router/references/guards-and-deeplinks.md +20 -0
- package/workflows/powers/flutter-go-router/references/typed-routes.md +27 -0
- package/workflows/powers/flutter-offline-sync/POWER.md +62 -0
- package/workflows/powers/flutter-offline-sync/SKILL.md +59 -0
- package/workflows/powers/flutter-offline-sync/references/outbox-full.md +44 -0
- package/workflows/powers/flutter-repository/POWER.md +64 -0
- package/workflows/powers/flutter-repository/SKILL.md +61 -0
- package/workflows/powers/flutter-repository/references/drift-patterns.md +21 -0
- package/workflows/powers/flutter-repository/references/retrofit-patterns.md +20 -0
- package/workflows/powers/flutter-riverpod/POWER.md +70 -0
- package/workflows/powers/flutter-riverpod/SKILL.md +67 -0
- package/workflows/powers/flutter-riverpod/references/async-and-mutations.md +19 -0
- package/workflows/powers/flutter-riverpod/references/async-lifecycle.md +19 -0
- package/workflows/powers/flutter-riverpod/references/provider-selection.md +20 -0
- package/workflows/powers/flutter-riverpod/references/testing.md +21 -0
- package/workflows/powers/flutter-riverpod/references/version-matrix.md +24 -0
- package/workflows/powers/flutter-state-machine/POWER.md +62 -0
- package/workflows/powers/flutter-state-machine/SKILL.md +59 -0
- package/workflows/powers/flutter-state-machine/references/app-state-contract.md +23 -0
- package/workflows/powers/flutter-state-machine/references/ui-rendering.md +14 -0
- package/workflows/powers/flutter-testing/POWER.md +64 -0
- package/workflows/powers/flutter-testing/SKILL.md +61 -0
- package/workflows/powers/flutter-testing/references/offline-sync-tests.md +16 -0
- package/workflows/powers/flutter-testing/references/test-layers.md +33 -0
- package/workflows/powers/frontend-code-review/POWER.md +137 -0
- package/workflows/powers/frontend-code-review/SKILL.md +134 -0
- package/workflows/powers/frontend-code-review/references/common-antipatterns.md +86 -0
- package/workflows/powers/frontend-code-review/references/performance-budgets.md +56 -0
- package/workflows/powers/frontend-code-review/references/review-checklists.md +47 -0
- package/workflows/powers/frontend-design/POWER.md +163 -362
- package/workflows/powers/frontend-design/SKILL.md +163 -362
- package/workflows/powers/game-development/POWER.md +57 -140
- package/workflows/powers/game-development/SKILL.md +57 -140
- package/workflows/powers/geo-fundamentals/POWER.md +64 -126
- package/workflows/powers/geo-fundamentals/SKILL.md +64 -127
- package/workflows/powers/git-workflow/POWER.md +135 -0
- package/workflows/powers/git-workflow/SKILL.md +132 -0
- package/workflows/powers/git-workflow/references/pr-review-checklist.md +63 -0
- package/workflows/powers/golang-pro/POWER.md +46 -35
- package/workflows/powers/golang-pro/SKILL.md +46 -35
- package/workflows/powers/graphql-architect/POWER.md +44 -62
- package/workflows/powers/graphql-architect/SKILL.md +44 -62
- package/workflows/powers/i18n-localization/POWER.md +118 -103
- package/workflows/powers/i18n-localization/SKILL.md +118 -103
- package/workflows/powers/java-pro/POWER.md +47 -22
- package/workflows/powers/java-pro/SKILL.md +47 -22
- package/workflows/powers/javascript-pro/POWER.md +47 -34
- package/workflows/powers/javascript-pro/SKILL.md +47 -34
- package/workflows/powers/kotlin-pro/POWER.md +46 -23
- package/workflows/powers/kotlin-pro/SKILL.md +46 -23
- package/workflows/powers/legacy-modernizer/POWER.md +43 -60
- package/workflows/powers/legacy-modernizer/SKILL.md +43 -60
- package/workflows/powers/mcp-builder/POWER.md +65 -0
- package/workflows/powers/mcp-builder/SKILL.md +62 -0
- package/workflows/powers/mcp-builder/references/testing-and-evals.md +17 -0
- package/workflows/powers/mcp-builder/references/transport-and-tool-design.md +17 -0
- package/workflows/powers/microservices-architect/POWER.md +43 -70
- package/workflows/powers/microservices-architect/SKILL.md +43 -70
- package/workflows/powers/mobile-design/POWER.md +110 -345
- package/workflows/powers/mobile-design/SKILL.md +110 -345
- package/workflows/powers/mongodb/POWER.md +67 -0
- package/workflows/powers/mongodb/SKILL.md +64 -0
- package/workflows/powers/mongodb/references/mongodb-checklist.md +20 -0
- package/workflows/powers/mysql/POWER.md +67 -0
- package/workflows/powers/mysql/SKILL.md +64 -0
- package/workflows/powers/mysql/references/mysql-checklist.md +20 -0
- package/workflows/powers/neki/POWER.md +67 -0
- package/workflows/powers/neki/SKILL.md +64 -0
- package/workflows/powers/neki/references/neki-checklist.md +18 -0
- package/workflows/powers/nestjs-expert/POWER.md +45 -91
- package/workflows/powers/nestjs-expert/SKILL.md +45 -91
- package/workflows/powers/nextjs-developer/POWER.md +51 -44
- package/workflows/powers/nextjs-developer/SKILL.md +51 -44
- package/workflows/powers/nodejs-best-practices/POWER.md +48 -29
- package/workflows/powers/nodejs-best-practices/SKILL.md +48 -29
- package/workflows/powers/observability/POWER.md +109 -0
- package/workflows/powers/observability/SKILL.md +106 -0
- package/workflows/powers/observability/references/alerting-and-slo-checklist.md +87 -0
- package/workflows/powers/observability/references/opentelemetry-setup-guide.md +121 -0
- package/workflows/powers/openai-docs/POWER.md +61 -0
- package/workflows/powers/openai-docs/SKILL.md +58 -0
- package/workflows/powers/openai-docs/references/official-source-playbook.md +10 -0
- package/workflows/powers/performance-profiling/POWER.md +61 -114
- package/workflows/powers/performance-profiling/SKILL.md +61 -114
- package/workflows/powers/php-pro/POWER.md +116 -0
- package/workflows/powers/php-pro/SKILL.md +113 -0
- package/workflows/powers/php-pro/references/architecture-and-di.md +239 -0
- package/workflows/powers/php-pro/references/modern-php-features.md +189 -0
- package/workflows/powers/php-pro/references/performance-and-deployment.md +197 -0
- package/workflows/powers/php-pro/references/php84-strict-typing-checklist.md +161 -0
- package/workflows/powers/php-pro/references/testing-and-static-analysis.md +235 -0
- package/workflows/powers/playwright-e2e/POWER.md +85 -0
- package/workflows/powers/playwright-e2e/SKILL.md +82 -0
- package/workflows/powers/playwright-e2e/references/locator-trace-flake-checklist.md +80 -0
- package/workflows/powers/postgres/POWER.md +67 -0
- package/workflows/powers/postgres/SKILL.md +64 -0
- package/workflows/powers/postgres/references/postgres-checklist.md +20 -0
- package/workflows/powers/prompt-engineer/POWER.md +47 -30
- package/workflows/powers/prompt-engineer/SKILL.md +47 -30
- package/workflows/powers/python-pro/POWER.md +47 -36
- package/workflows/powers/python-pro/SKILL.md +47 -36
- package/workflows/powers/react-best-practices/POWER.md +56 -33
- package/workflows/powers/react-best-practices/SKILL.md +56 -33
- package/workflows/powers/react-expert/POWER.md +47 -37
- package/workflows/powers/react-expert/SKILL.md +47 -37
- package/workflows/powers/redis/POWER.md +67 -0
- package/workflows/powers/redis/SKILL.md +64 -0
- package/workflows/powers/redis/references/redis-checklist.md +19 -0
- package/workflows/powers/ruby-pro/POWER.md +118 -0
- package/workflows/powers/ruby-pro/SKILL.md +115 -0
- package/workflows/powers/ruby-pro/references/modern-ruby-features.md +189 -0
- package/workflows/powers/ruby-pro/references/object-design-patterns.md +220 -0
- package/workflows/powers/ruby-pro/references/performance-and-profiling.md +224 -0
- package/workflows/powers/ruby-pro/references/ruby-concurrency-and-testing.md +190 -0
- package/workflows/powers/ruby-pro/references/testing-and-rspec.md +236 -0
- package/workflows/powers/rust-pro/POWER.md +45 -31
- package/workflows/powers/rust-pro/SKILL.md +45 -31
- package/workflows/powers/security-engineer/POWER.md +129 -0
- package/workflows/powers/security-engineer/SKILL.md +126 -0
- package/workflows/powers/seo-fundamentals/POWER.md +59 -102
- package/workflows/powers/seo-fundamentals/SKILL.md +59 -102
- package/workflows/powers/serverless-patterns/POWER.md +171 -0
- package/workflows/powers/serverless-patterns/SKILL.md +168 -0
- package/workflows/powers/skill-creator/POWER.md +90 -0
- package/workflows/powers/skill-creator/SKILL.md +87 -0
- package/workflows/powers/skill-creator/references/platform-formats.md +181 -0
- package/workflows/powers/skill-creator/references/schemas.md +430 -0
- package/workflows/powers/spec-miner/POWER.md +49 -57
- package/workflows/powers/spec-miner/SKILL.md +49 -57
- package/workflows/powers/sqlite/POWER.md +67 -0
- package/workflows/powers/sqlite/SKILL.md +64 -0
- package/workflows/powers/sqlite/references/sqlite-checklist.md +19 -0
- package/workflows/powers/sre-engineer/POWER.md +123 -64
- package/workflows/powers/sre-engineer/SKILL.md +123 -64
- package/workflows/powers/static-analysis/POWER.md +121 -77
- package/workflows/powers/static-analysis/SKILL.md +121 -77
- package/workflows/powers/stripe-best-practices/POWER.md +140 -17
- package/workflows/powers/stripe-best-practices/SKILL.md +139 -17
- package/workflows/powers/supabase/POWER.md +67 -0
- package/workflows/powers/supabase/SKILL.md +64 -0
- package/workflows/powers/supabase/references/supabase-checklist.md +19 -0
- package/workflows/powers/swift-pro/POWER.md +118 -0
- package/workflows/powers/swift-pro/SKILL.md +115 -0
- package/workflows/powers/swift-pro/references/concurrency-patterns.md +165 -0
- package/workflows/powers/swift-pro/references/protocol-and-generics.md +172 -0
- package/workflows/powers/swift-pro/references/sendable-and-isolation.md +116 -0
- package/workflows/powers/swift-pro/references/swift-concurrency-and-protocols.md +260 -0
- package/workflows/powers/swift-pro/references/testing-and-packages.md +192 -0
- package/workflows/powers/tailwind-patterns/POWER.md +71 -240
- package/workflows/powers/tailwind-patterns/SKILL.md +71 -240
- package/workflows/powers/testing-patterns/POWER.md +155 -10
- package/workflows/powers/testing-patterns/SKILL.md +155 -10
- package/workflows/powers/typescript-pro/POWER.md +47 -38
- package/workflows/powers/typescript-pro/SKILL.md +47 -38
- package/workflows/powers/vitess/POWER.md +67 -0
- package/workflows/powers/vitess/SKILL.md +64 -0
- package/workflows/powers/vitess/references/vitess-checklist.md +19 -0
- package/workflows/powers/vulnerability-scanner/POWER.md +146 -10
- package/workflows/powers/vulnerability-scanner/SKILL.md +146 -10
- package/workflows/powers/web-perf/POWER.md +43 -170
- package/workflows/powers/web-perf/SKILL.md +43 -170
- package/workflows/powers/webapp-testing/POWER.md +43 -164
- package/workflows/powers/webapp-testing/SKILL.md +43 -164
|
@@ -2,420 +2,221 @@
|
|
|
2
2
|
---
|
|
3
3
|
inclusion: manual
|
|
4
4
|
name: frontend-design
|
|
5
|
-
description:
|
|
6
|
-
|
|
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
|
|
13
|
+
# Frontend Design
|
|
10
14
|
|
|
11
|
-
|
|
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
|
-
|
|
19
|
+
## When to Use
|
|
73
20
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
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
|
-
|
|
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
|
-
###
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
48
|
+
Implement working code that is:
|
|
155
49
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
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
|
-
|
|
57
|
+
### Step 3 — Apply Aesthetics Guidelines
|
|
167
58
|
|
|
168
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
98
|
+
**Motion** → see `references/motion-design.md`
|
|
200
99
|
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
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
|
-
|
|
106
|
+
**Interaction** → see `references/interaction-design.md`
|
|
209
107
|
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
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
|
-
|
|
114
|
+
**Responsive** → see `references/responsive-design.md`
|
|
218
115
|
|
|
219
|
-
-
|
|
220
|
-
-
|
|
221
|
-
-
|
|
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
|
-
|
|
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
|
-
|
|
125
|
+
### Step 4 — Run the AI Slop Test
|
|
229
126
|
|
|
230
|
-
|
|
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
|
-
|
|
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
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
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
|
-
###
|
|
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
|
-
|
|
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
|
-
|
|
151
|
+
When delivering, explain:
|
|
266
152
|
|
|
267
|
-
|
|
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
|
-
|
|
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
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
|
284
|
-
|
|
|
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
|
-
|
|
185
|
+
## Commands
|
|
287
186
|
|
|
288
|
-
|
|
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
|
-
|
|
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
|
-
##
|
|
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
|
-
|
|
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
|
````
|