flyee 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (302) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +134 -0
  3. package/bin/install.js +357 -0
  4. package/bridge/bridge.py +1780 -0
  5. package/bridge/local_tracker.py +722 -0
  6. package/core/agents/backend-specialist.md +266 -0
  7. package/core/agents/code-archaeologist.md +106 -0
  8. package/core/agents/database-architect.md +226 -0
  9. package/core/agents/debugger.md +225 -0
  10. package/core/agents/devops-engineer.md +323 -0
  11. package/core/agents/documentation-writer.md +104 -0
  12. package/core/agents/explorer-agent.md +73 -0
  13. package/core/agents/frontend-specialist.md +743 -0
  14. package/core/agents/game-developer.md +162 -0
  15. package/core/agents/mobile-developer.md +377 -0
  16. package/core/agents/orchestrator.md +416 -0
  17. package/core/agents/penetration-tester.md +188 -0
  18. package/core/agents/performance-optimizer.md +187 -0
  19. package/core/agents/product-manager.md +112 -0
  20. package/core/agents/product-owner.md +95 -0
  21. package/core/agents/project-planner.md +470 -0
  22. package/core/agents/qa-automation-engineer.md +103 -0
  23. package/core/agents/security-auditor.md +170 -0
  24. package/core/agents/seo-specialist.md +111 -0
  25. package/core/agents/stitch-designer.md +190 -0
  26. package/core/agents/tdd-reviewer.md +282 -0
  27. package/core/agents/test-engineer.md +158 -0
  28. package/core/scripts/auto_preview.py +148 -0
  29. package/core/scripts/checklist.py +243 -0
  30. package/core/scripts/cost_report.py +149 -0
  31. package/core/scripts/doc-sync-check.py +461 -0
  32. package/core/scripts/parse_user_stories.py +79 -0
  33. package/core/scripts/prepare_notion_updates.py +172 -0
  34. package/core/scripts/print_create_payload.py +18 -0
  35. package/core/scripts/session_manager.py +120 -0
  36. package/core/scripts/task_complete.py +127 -0
  37. package/core/scripts/verify_all.py +327 -0
  38. package/core/skills/analytics-strategy/SKILL.md +128 -0
  39. package/core/skills/api-patterns/SKILL.md +81 -0
  40. package/core/skills/api-patterns/api-style.md +42 -0
  41. package/core/skills/api-patterns/auth.md +24 -0
  42. package/core/skills/api-patterns/documentation.md +26 -0
  43. package/core/skills/api-patterns/graphql.md +41 -0
  44. package/core/skills/api-patterns/rate-limiting.md +31 -0
  45. package/core/skills/api-patterns/response.md +37 -0
  46. package/core/skills/api-patterns/rest.md +40 -0
  47. package/core/skills/api-patterns/scripts/api_validator.py +211 -0
  48. package/core/skills/api-patterns/security-testing.md +122 -0
  49. package/core/skills/api-patterns/trpc.md +41 -0
  50. package/core/skills/api-patterns/versioning.md +22 -0
  51. package/core/skills/app-builder/SKILL.md +75 -0
  52. package/core/skills/app-builder/agent-coordination.md +71 -0
  53. package/core/skills/app-builder/feature-building.md +53 -0
  54. package/core/skills/app-builder/project-detection.md +34 -0
  55. package/core/skills/app-builder/scaffolding.md +118 -0
  56. package/core/skills/app-builder/tech-stack.md +40 -0
  57. package/core/skills/app-builder/templates/SKILL.md +39 -0
  58. package/core/skills/app-builder/templates/astro-static/TEMPLATE.md +76 -0
  59. package/core/skills/app-builder/templates/chrome-extension/TEMPLATE.md +92 -0
  60. package/core/skills/app-builder/templates/cli-tool/TEMPLATE.md +88 -0
  61. package/core/skills/app-builder/templates/electron-desktop/TEMPLATE.md +88 -0
  62. package/core/skills/app-builder/templates/express-api/TEMPLATE.md +83 -0
  63. package/core/skills/app-builder/templates/flutter-app/TEMPLATE.md +90 -0
  64. package/core/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +90 -0
  65. package/core/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +82 -0
  66. package/core/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +100 -0
  67. package/core/skills/app-builder/templates/nextjs-static/TEMPLATE.md +106 -0
  68. package/core/skills/app-builder/templates/nuxt-app/TEMPLATE.md +101 -0
  69. package/core/skills/app-builder/templates/python-fastapi/TEMPLATE.md +83 -0
  70. package/core/skills/app-builder/templates/react-native-app/TEMPLATE.md +93 -0
  71. package/core/skills/architecture/SKILL.md +55 -0
  72. package/core/skills/architecture/context-discovery.md +43 -0
  73. package/core/skills/architecture/examples.md +94 -0
  74. package/core/skills/architecture/pattern-selection.md +68 -0
  75. package/core/skills/architecture/patterns-reference.md +50 -0
  76. package/core/skills/architecture/trade-off-analysis.md +77 -0
  77. package/core/skills/atomic-design/SKILL.md +282 -0
  78. package/core/skills/atomic-design/references/classification-guide.md +132 -0
  79. package/core/skills/atomic-design/references/quality-checklist.md +60 -0
  80. package/core/skills/atomic-design/references/stacks/stack-blade.md +254 -0
  81. package/core/skills/atomic-design/references/stacks/stack-nextjs.md +272 -0
  82. package/core/skills/atomic-design/references/stacks/stack-react.md +239 -0
  83. package/core/skills/atomic-design/references/stacks/stack-vue.md +224 -0
  84. package/core/skills/bash-linux/SKILL.md +199 -0
  85. package/core/skills/behavioral-modes/SKILL.md +242 -0
  86. package/core/skills/brainstorming/SKILL.md +163 -0
  87. package/core/skills/brainstorming/dynamic-questioning.md +373 -0
  88. package/core/skills/checkpointing-patterns/SKILL.md +163 -0
  89. package/core/skills/clean-code/SKILL.md +201 -0
  90. package/core/skills/code-review-checklist/SKILL.md +109 -0
  91. package/core/skills/code-truth-validation/SKILL.md +149 -0
  92. package/core/skills/component-library-discovery/SKILL.md +154 -0
  93. package/core/skills/content-strategy/SKILL.md +222 -0
  94. package/core/skills/context-budget/SKILL.md +155 -0
  95. package/core/skills/context-gathering-patterns/SKILL.md +278 -0
  96. package/core/skills/cost-tracking/SKILL.md +206 -0
  97. package/core/skills/database-design/SKILL.md +52 -0
  98. package/core/skills/database-design/database-selection.md +43 -0
  99. package/core/skills/database-design/indexing.md +39 -0
  100. package/core/skills/database-design/migrations.md +48 -0
  101. package/core/skills/database-design/optimization.md +36 -0
  102. package/core/skills/database-design/orm-selection.md +30 -0
  103. package/core/skills/database-design/schema-design.md +56 -0
  104. package/core/skills/database-design/scripts/schema_validator.py +172 -0
  105. package/core/skills/deployment-procedures/SKILL.md +295 -0
  106. package/core/skills/design-md/README.md +34 -0
  107. package/core/skills/design-md/SKILL.md +172 -0
  108. package/core/skills/design-md/examples/DESIGN.md +154 -0
  109. package/core/skills/design-system-enforcement/SKILL.md +339 -0
  110. package/core/skills/doc.md +177 -0
  111. package/core/skills/document-registry/SKILL.md +130 -0
  112. package/core/skills/documentation-publishing/SKILL.md +174 -0
  113. package/core/skills/documentation-templates/SKILL.md +194 -0
  114. package/core/skills/enhance-prompt/README.md +34 -0
  115. package/core/skills/enhance-prompt/SKILL.md +204 -0
  116. package/core/skills/enhance-prompt/references/KEYWORDS.md +114 -0
  117. package/core/skills/frontend-design/SKILL.md +430 -0
  118. package/core/skills/frontend-design/animation-guide.md +331 -0
  119. package/core/skills/frontend-design/color-system.md +311 -0
  120. package/core/skills/frontend-design/decision-trees.md +418 -0
  121. package/core/skills/frontend-design/motion-graphics.md +306 -0
  122. package/core/skills/frontend-design/scripts/accessibility_checker.py +183 -0
  123. package/core/skills/frontend-design/scripts/ux_audit.py +722 -0
  124. package/core/skills/frontend-design/typography-system.md +345 -0
  125. package/core/skills/frontend-design/ux-psychology.md +541 -0
  126. package/core/skills/frontend-design/visual-effects.md +383 -0
  127. package/core/skills/game-development/2d-games/SKILL.md +119 -0
  128. package/core/skills/game-development/3d-games/SKILL.md +135 -0
  129. package/core/skills/game-development/SKILL.md +167 -0
  130. package/core/skills/game-development/game-art/SKILL.md +185 -0
  131. package/core/skills/game-development/game-audio/SKILL.md +190 -0
  132. package/core/skills/game-development/game-design/SKILL.md +129 -0
  133. package/core/skills/game-development/mobile-games/SKILL.md +108 -0
  134. package/core/skills/game-development/multiplayer/SKILL.md +132 -0
  135. package/core/skills/game-development/pc-games/SKILL.md +144 -0
  136. package/core/skills/game-development/vr-ar/SKILL.md +123 -0
  137. package/core/skills/game-development/web-games/SKILL.md +150 -0
  138. package/core/skills/geo-fundamentals/SKILL.md +156 -0
  139. package/core/skills/geo-fundamentals/scripts/geo_checker.py +289 -0
  140. package/core/skills/git-workflow/SKILL.md +263 -0
  141. package/core/skills/history-check-patterns/SKILL.md +125 -0
  142. package/core/skills/i18n-localization/SKILL.md +154 -0
  143. package/core/skills/i18n-localization/scripts/i18n_checker.py +241 -0
  144. package/core/skills/integration-completeness/SKILL.md +219 -0
  145. package/core/skills/intelligent-routing/SKILL.md +370 -0
  146. package/core/skills/lint-and-validate/SKILL.md +45 -0
  147. package/core/skills/lint-and-validate/scripts/lint_runner.py +173 -0
  148. package/core/skills/lint-and-validate/scripts/type_coverage.py +173 -0
  149. package/core/skills/local-verification/SKILL.md +195 -0
  150. package/core/skills/mcp-builder/SKILL.md +176 -0
  151. package/core/skills/mobile-design/SKILL.md +394 -0
  152. package/core/skills/mobile-design/decision-trees.md +516 -0
  153. package/core/skills/mobile-design/mobile-backend.md +491 -0
  154. package/core/skills/mobile-design/mobile-color-system.md +420 -0
  155. package/core/skills/mobile-design/mobile-debugging.md +122 -0
  156. package/core/skills/mobile-design/mobile-design-thinking.md +357 -0
  157. package/core/skills/mobile-design/mobile-navigation.md +458 -0
  158. package/core/skills/mobile-design/mobile-performance.md +767 -0
  159. package/core/skills/mobile-design/mobile-testing.md +356 -0
  160. package/core/skills/mobile-design/mobile-typography.md +433 -0
  161. package/core/skills/mobile-design/platform-android.md +666 -0
  162. package/core/skills/mobile-design/platform-ios.md +561 -0
  163. package/core/skills/mobile-design/scripts/mobile_audit.py +670 -0
  164. package/core/skills/mobile-design/touch-psychology.md +537 -0
  165. package/core/skills/nextjs-react-expert/1-async-eliminating-waterfalls.md +312 -0
  166. package/core/skills/nextjs-react-expert/2-bundle-bundle-size-optimization.md +240 -0
  167. package/core/skills/nextjs-react-expert/3-server-server-side-performance.md +490 -0
  168. package/core/skills/nextjs-react-expert/4-client-client-side-data-fetching.md +264 -0
  169. package/core/skills/nextjs-react-expert/5-rerender-re-render-optimization.md +581 -0
  170. package/core/skills/nextjs-react-expert/6-rendering-rendering-performance.md +432 -0
  171. package/core/skills/nextjs-react-expert/7-js-javascript-performance.md +684 -0
  172. package/core/skills/nextjs-react-expert/8-advanced-advanced-patterns.md +150 -0
  173. package/core/skills/nextjs-react-expert/SKILL.md +267 -0
  174. package/core/skills/nextjs-react-expert/scripts/convert_rules.py +222 -0
  175. package/core/skills/nextjs-react-expert/scripts/react_performance_checker.py +252 -0
  176. package/core/skills/nodejs-best-practices/SKILL.md +333 -0
  177. package/core/skills/notion-task-patterns/SKILL.md +2529 -0
  178. package/core/skills/page-specifications/SKILL.md +367 -0
  179. package/core/skills/parallel-agents/SKILL.md +175 -0
  180. package/core/skills/performance-profiling/SKILL.md +143 -0
  181. package/core/skills/performance-profiling/scripts/lighthouse_audit.py +76 -0
  182. package/core/skills/plan-writing/SKILL.md +190 -0
  183. package/core/skills/powershell-windows/SKILL.md +167 -0
  184. package/core/skills/project-foundation/SKILL.md +117 -0
  185. package/core/skills/project-setup/SKILL.md +141 -0
  186. package/core/skills/project-tracking-patterns/SKILL.md +357 -0
  187. package/core/skills/project-type-discovery/SKILL.md +239 -0
  188. package/core/skills/python-patterns/SKILL.md +441 -0
  189. package/core/skills/qa-test-generation/SKILL.md +156 -0
  190. package/core/skills/react-components/README.md +36 -0
  191. package/core/skills/react-components/SKILL.md +47 -0
  192. package/core/skills/react-components/examples/gold-standard-card.tsx +80 -0
  193. package/core/skills/react-components/package-lock.json +231 -0
  194. package/core/skills/react-components/package.json +16 -0
  195. package/core/skills/react-components/resources/architecture-checklist.md +15 -0
  196. package/core/skills/react-components/resources/component-template.tsx +37 -0
  197. package/core/skills/react-components/resources/stitch-api-reference.md +14 -0
  198. package/core/skills/react-components/resources/style-guide.json +27 -0
  199. package/core/skills/react-components/scripts/fetch-stitch.sh +30 -0
  200. package/core/skills/react-components/scripts/validate.js +68 -0
  201. package/core/skills/red-team-tactics/SKILL.md +199 -0
  202. package/core/skills/remotion/README.md +105 -0
  203. package/core/skills/remotion/SKILL.md +393 -0
  204. package/core/skills/remotion/examples/WalkthroughComposition.tsx +78 -0
  205. package/core/skills/remotion/examples/screens.json +56 -0
  206. package/core/skills/remotion/resources/composition-checklist.md +124 -0
  207. package/core/skills/remotion/resources/screen-slide-template.tsx +123 -0
  208. package/core/skills/remotion/scripts/download-stitch-asset.sh +38 -0
  209. package/core/skills/seo-fundamentals/SKILL.md +129 -0
  210. package/core/skills/seo-fundamentals/scripts/seo_checker.py +219 -0
  211. package/core/skills/server-management/SKILL.md +161 -0
  212. package/core/skills/session-resilience/SKILL.md +199 -0
  213. package/core/skills/shadcn-ui/README.md +248 -0
  214. package/core/skills/shadcn-ui/SKILL.md +326 -0
  215. package/core/skills/shadcn-ui/examples/auth-layout.tsx +177 -0
  216. package/core/skills/shadcn-ui/examples/data-table.tsx +313 -0
  217. package/core/skills/shadcn-ui/examples/form-pattern.tsx +177 -0
  218. package/core/skills/shadcn-ui/resources/component-catalog.md +481 -0
  219. package/core/skills/shadcn-ui/resources/customization-guide.md +516 -0
  220. package/core/skills/shadcn-ui/resources/migration-guide.md +463 -0
  221. package/core/skills/shadcn-ui/resources/setup-guide.md +412 -0
  222. package/core/skills/shadcn-ui/scripts/verify-setup.sh +134 -0
  223. package/core/skills/state-machine/SKILL.md +264 -0
  224. package/core/skills/stitch-loop/README.md +54 -0
  225. package/core/skills/stitch-loop/SKILL.md +203 -0
  226. package/core/skills/stitch-loop/examples/SITE.md +73 -0
  227. package/core/skills/stitch-loop/examples/next-prompt.md +25 -0
  228. package/core/skills/stitch-loop/resources/baton-schema.md +61 -0
  229. package/core/skills/stitch-loop/resources/site-template.md +104 -0
  230. package/core/skills/systematic-debugging/SKILL.md +109 -0
  231. package/core/skills/tailwind-patterns/SKILL.md +284 -0
  232. package/core/skills/tdd-validation/SKILL.md +243 -0
  233. package/core/skills/tdd-workflow/SKILL.md +284 -0
  234. package/core/skills/testing-patterns/SKILL.md +196 -0
  235. package/core/skills/testing-patterns/scripts/test_runner.py +219 -0
  236. package/core/skills/ui-ux-discovery/SKILL.md +329 -0
  237. package/core/skills/ui-validation/SKILL.md +190 -0
  238. package/core/skills/ui-validation/scripts/ui_antipattern_check.py +317 -0
  239. package/core/skills/verification-gate/SKILL.md +205 -0
  240. package/core/skills/vulnerability-scanner/SKILL.md +276 -0
  241. package/core/skills/vulnerability-scanner/checklists.md +121 -0
  242. package/core/skills/vulnerability-scanner/scripts/security_scan.py +458 -0
  243. package/core/skills/web-design-guidelines/SKILL.md +57 -0
  244. package/core/skills/webapp-testing/SKILL.md +187 -0
  245. package/core/skills/webapp-testing/scripts/playwright_runner.py +173 -0
  246. package/core/templates/ARCHITECTURE.template.md +407 -0
  247. package/core/templates/project-resources.example.json +71 -0
  248. package/core/workflows/atomic.md +182 -0
  249. package/core/workflows/brainstorm.md +134 -0
  250. package/core/workflows/check-task.md +242 -0
  251. package/core/workflows/copy-collect.md +306 -0
  252. package/core/workflows/create-agent.md +33 -0
  253. package/core/workflows/create-skill.md +39 -0
  254. package/core/workflows/create-workflow.md +33 -0
  255. package/core/workflows/create.md +92 -0
  256. package/core/workflows/debug.md +186 -0
  257. package/core/workflows/demand.md +443 -0
  258. package/core/workflows/deploy.md +260 -0
  259. package/core/workflows/discovery.md +267 -0
  260. package/core/workflows/document.md +272 -0
  261. package/core/workflows/ds-components.md +296 -0
  262. package/core/workflows/ds-init.md +58 -0
  263. package/core/workflows/ds-refactor.md +245 -0
  264. package/core/workflows/ds-references.md +197 -0
  265. package/core/workflows/ds-styleguide.md +237 -0
  266. package/core/workflows/ds-token-diff.md +103 -0
  267. package/core/workflows/ds-tokens.md +317 -0
  268. package/core/workflows/ds-validate.md +309 -0
  269. package/core/workflows/execute.md +483 -0
  270. package/core/workflows/extract-template.md +278 -0
  271. package/core/workflows/fix-failed-tests.md +160 -0
  272. package/core/workflows/init-project.md +386 -0
  273. package/core/workflows/legacy-project.md +849 -0
  274. package/core/workflows/log.md +97 -0
  275. package/core/workflows/new-project.md +610 -0
  276. package/core/workflows/new-project.md.bak +3292 -0
  277. package/core/workflows/new-task.md +404 -0
  278. package/core/workflows/orchestrate.md +237 -0
  279. package/core/workflows/page-build.md +296 -0
  280. package/core/workflows/plan.md +89 -0
  281. package/core/workflows/prd.md +255 -0
  282. package/core/workflows/preview.md +81 -0
  283. package/core/workflows/review-page.md +304 -0
  284. package/core/workflows/status.md +86 -0
  285. package/core/workflows/stitch.md +226 -0
  286. package/core/workflows/task-complete.md +473 -0
  287. package/core/workflows/task-update.md +163 -0
  288. package/core/workflows/tdd.md +344 -0
  289. package/core/workflows/test.md +251 -0
  290. package/core/workflows/ui-ux-pro-max.md +437 -0
  291. package/core/workflows/ux-mobile-optimize.md +262 -0
  292. package/core/workflows/ux-mobile-validate.md +297 -0
  293. package/engine-files/GEMINI.md +69 -0
  294. package/package.json +47 -0
  295. package/runtime-adapters/antigravity.js +26 -0
  296. package/runtime-adapters/claude.js +57 -0
  297. package/runtime-adapters/codex.js +51 -0
  298. package/runtime-adapters/copilot.js +51 -0
  299. package/runtime-adapters/cursor.js +51 -0
  300. package/runtime-adapters/gemini-cli.js +30 -0
  301. package/runtime-adapters/opencode.js +51 -0
  302. package/runtime-adapters/windsurf.js +51 -0
@@ -0,0 +1,295 @@
1
+ ---
2
+ name: deployment-procedures
3
+ description: Production deployment principles and decision-making. Safe deployment workflows, rollback strategies, and verification. Teaches thinking, not scripts.
4
+ allowed-tools: Read, Glob, Grep, Bash
5
+ ---
6
+
7
+ # Deployment Procedures
8
+
9
+ > Deployment principles and decision-making for safe production releases.
10
+ > **Learn to THINK, not memorize scripts.**
11
+
12
+ ---
13
+
14
+ ## ⚠️ How to Use This Skill
15
+
16
+ This skill teaches **deployment principles**, not bash scripts to copy.
17
+
18
+ - Every deployment is unique
19
+ - Understand the WHY behind each step
20
+ - Adapt procedures to your platform
21
+
22
+ ---
23
+
24
+ ## 1. Platform Selection
25
+
26
+ ### Decision Tree
27
+
28
+ ```
29
+ What are you deploying?
30
+
31
+ ├── Static site / JAMstack
32
+ │ └── Vercel, Netlify, Cloudflare Pages
33
+
34
+ ├── Simple web app
35
+ │ ├── Managed → Railway, Render, Fly.io
36
+ │ └── Control → VPS + PM2/Docker
37
+
38
+ ├── Microservices
39
+ │ └── Container orchestration
40
+
41
+ └── Serverless
42
+ └── Edge functions, Lambda
43
+ ```
44
+
45
+ ### Each Platform Has Different Procedures
46
+
47
+ | Platform | Deployment Method |
48
+ |----------|------------------|
49
+ | **Vercel/Netlify** | Git push, auto-deploy |
50
+ | **Railway/Render** | Git push or CLI |
51
+ | **VPS + PM2** | SSH + manual steps |
52
+ | **Docker** | Image push + orchestration |
53
+ | **Kubernetes** | kubectl apply |
54
+
55
+ ---
56
+
57
+ ## 2. Pre-Deployment Principles
58
+
59
+ ### The 4 Verification Categories
60
+
61
+ | Category | What to Check |
62
+ |----------|--------------|
63
+ | **Code Quality** | Tests passing, linting clean, reviewed |
64
+ | **Build** | Production build works, no warnings |
65
+ | **Environment** | Env vars set, secrets current |
66
+ | **Safety** | Backup done, rollback plan ready |
67
+
68
+ ### Pre-Deployment Checklist
69
+
70
+ - [ ] All tests passing
71
+ - [ ] Code reviewed and approved
72
+ - [ ] Production build successful
73
+ - [ ] Environment variables verified
74
+ - [ ] Database migrations ready (if any)
75
+ - [ ] Rollback plan documented
76
+ - [ ] Team notified
77
+ - [ ] Monitoring ready
78
+
79
+ ---
80
+
81
+ ## 3. Deployment Workflow Principles
82
+
83
+ ### The 5-Phase Process
84
+
85
+ ```
86
+ 1. PREPARE
87
+ └── Verify code, build, env vars
88
+
89
+ 2. BACKUP
90
+ └── Save current state before changing
91
+
92
+ 3. DEPLOY
93
+ └── Execute with monitoring open
94
+
95
+ 4. VERIFY
96
+ └── Health check, logs, key flows
97
+
98
+ 5. CONFIRM or ROLLBACK
99
+ └── All good? Confirm. Issues? Rollback.
100
+ ```
101
+
102
+ ### Phase Principles
103
+
104
+ | Phase | Principle |
105
+ |-------|-----------|
106
+ | **Prepare** | Never deploy untested code |
107
+ | **Backup** | Can't rollback without backup |
108
+ | **Deploy** | Watch it happen, don't walk away |
109
+ | **Verify** | Trust but verify |
110
+ | **Confirm** | Have rollback trigger ready |
111
+
112
+ ---
113
+
114
+ ## 4. Post-Deployment Verification
115
+
116
+ ### What to Verify
117
+
118
+ | Check | Why |
119
+ |-------|-----|
120
+ | **Health endpoint** | Service is running |
121
+ | **Error logs** | No new errors |
122
+ | **Key user flows** | Critical features work |
123
+ | **Performance** | Response times acceptable |
124
+
125
+ ### Verification Window
126
+
127
+ - **First 5 minutes**: Active monitoring
128
+ - **15 minutes**: Confirm stable
129
+ - **1 hour**: Final verification
130
+ - **Next day**: Review metrics
131
+
132
+ ---
133
+
134
+ ## 5. Rollback Principles
135
+
136
+ ### When to Rollback
137
+
138
+ | Symptom | Action |
139
+ |---------|--------|
140
+ | Service down | Rollback immediately |
141
+ | Critical errors | Rollback |
142
+ | Performance >50% degraded | Consider rollback |
143
+ | Minor issues | Fix forward if quick |
144
+
145
+ ### Rollback Strategy by Platform
146
+
147
+ | Platform | Rollback Method |
148
+ |----------|----------------|
149
+ | **Vercel/Netlify** | Redeploy previous commit |
150
+ | **Railway/Render** | Rollback in dashboard |
151
+ | **VPS + PM2** | Restore backup, restart |
152
+ | **Docker** | Previous image tag |
153
+ | **K8s** | kubectl rollout undo |
154
+
155
+ ### Rollback Principles
156
+
157
+ 1. **Speed over perfection**: Rollback first, debug later
158
+ 2. **Don't compound errors**: One rollback, not multiple changes
159
+ 3. **Communicate**: Tell team what happened
160
+ 4. **Post-mortem**: Understand why after stable
161
+
162
+ ---
163
+
164
+ ## 6. Zero-Downtime Deployment
165
+
166
+ ### Strategies
167
+
168
+ | Strategy | How It Works |
169
+ |----------|--------------|
170
+ | **Rolling** | Replace instances one by one |
171
+ | **Blue-Green** | Switch traffic between environments |
172
+ | **Canary** | Gradual traffic shift |
173
+
174
+ ### Selection Principles
175
+
176
+ | Scenario | Strategy |
177
+ |----------|----------|
178
+ | Standard release | Rolling |
179
+ | High-risk change | Blue-green (easy rollback) |
180
+ | Need validation | Canary (test with real traffic) |
181
+
182
+ ---
183
+
184
+ ## 7. Emergency Procedures
185
+
186
+ ### Service Down Priority
187
+
188
+ 1. **Assess**: What's the symptom?
189
+ 2. **Quick fix**: Restart if unclear
190
+ 3. **Rollback**: If restart doesn't help
191
+ 4. **Investigate**: After stable
192
+
193
+ ### Investigation Order
194
+
195
+ | Check | Common Issues |
196
+ |-------|--------------|
197
+ | **Logs** | Errors, exceptions |
198
+ | **Resources** | Disk full, memory |
199
+ | **Network** | DNS, firewall |
200
+ | **Dependencies** | Database, APIs |
201
+
202
+ ---
203
+
204
+ ## 8. Anti-Patterns
205
+
206
+ | ❌ Don't | ✅ Do |
207
+ |----------|-------|
208
+ | Deploy on Friday | Deploy early in week |
209
+ | Rush deployment | Follow the process |
210
+ | Skip staging | Always test first |
211
+ | Deploy without backup | Backup before deploy |
212
+ | Walk away after deploy | Monitor for 15+ min |
213
+ | Multiple changes at once | One change at a time |
214
+
215
+ ---
216
+
217
+ ## 9. Decision Checklist
218
+
219
+ Before deploying:
220
+
221
+ - [ ] **Platform-appropriate procedure?**
222
+ - [ ] **Backup strategy ready?**
223
+ - [ ] **Rollback plan documented?**
224
+ - [ ] **Monitoring configured?**
225
+ - [ ] **Team notified?**
226
+ - [ ] **Time to monitor after?**
227
+
228
+ ---
229
+
230
+ ## 10. Environment Separation (MANDATORY)
231
+
232
+ > [!CAUTION]
233
+ > `.env.local` MUST NEVER contain production credentials. Every environment (dev, staging, prod)
234
+ > MUST have its own isolated configuration.
235
+
236
+ ### Rules
237
+
238
+ | Environment | File | Allowed Content |
239
+ |-------------|------|----------------|
240
+ | **Development** | `.env.local` | Local/dev URLs only. Mock keys or dev API keys |
241
+ | **Staging** | `.env.staging` | Staging URLs, staging API keys |
242
+ | **Production** | `.env.production` | Production URLs, live API keys |
243
+
244
+ ### Environment Strategy Template (for TDD)
245
+
246
+ Include this section in every TDD document:
247
+
248
+ ```markdown
249
+ ## Environment Strategy
250
+
251
+ | Service | Dev | Staging | Prod |
252
+ |---------|-----|---------|------|
253
+ | Database | Local SQLite / Supabase dev | Supabase staging | Supabase prod |
254
+ | Auth | Dev keys | Staging keys | Prod keys |
255
+ | API URL | http://localhost:3000 | https://staging.app.com | https://app.com |
256
+ | Payment | Stripe test mode | Stripe test mode | Stripe live mode |
257
+
258
+ ### Separation Rules
259
+ - `.env.local` = dev ONLY. Never prod credentials.
260
+ - Deployment platform (Vercel/Railway) manages prod env vars.
261
+ - CI/CD uses staging vars for preview deploys.
262
+ ```
263
+
264
+ ### Pre-Deploy Environment Discovery Gate
265
+
266
+ **Before ANY deployment, ask the user:**
267
+
268
+ ```markdown
269
+ ⚠️ ENVIRONMENT DISCOVERY — {project name}
270
+
271
+ [ ] How many environments? (dev / staging / prod)
272
+ [ ] Where is each deployed? (Vercel, Railway, VPS, etc.)
273
+ [ ] Are env vars configured on the deployment platform?
274
+ [ ] Is .env.local pointing to DEV (not prod)?
275
+ [ ] Database migrations ready for target environment?
276
+ ```
277
+
278
+ > **Historical Lesson:** Project ran for 10 sprints with `.env.local` pointing to production Supabase.
279
+ > Every developer was reading/writing production data during development—discovered only at Sprint 10.
280
+ > Fix: mandatory environment separation in TDD and pre-deploy check.
281
+
282
+ ---
283
+
284
+ ## 11. Best Practices
285
+
286
+ 1. **Small, frequent deploys** over big releases
287
+ 2. **Feature flags** for risky changes
288
+ 3. **Automate** repetitive steps
289
+ 4. **Document** every deployment
290
+ 5. **Review** what went wrong after issues
291
+ 6. **Test rollback** before you need it
292
+
293
+ ---
294
+
295
+ > **Remember:** Every deployment is a risk. Minimize risk through preparation, not speed.
@@ -0,0 +1,34 @@
1
+ # Stitch Design System Documentation Skill
2
+
3
+ ## Install
4
+
5
+ ```bash
6
+ npx add-skill google-labs-code/stitch-skills --skill design-md --global
7
+ ```
8
+
9
+ ## Example Prompt
10
+
11
+ ```text
12
+ Analyze my Furniture Collection project's Home screen and generate a comprehensive DESIGN.md file documenting the design system.
13
+ ```
14
+
15
+ ## Skill Structure
16
+
17
+ This repository follows the **Agent Skills** open standard. Each skill is self-contained with its own logic, workflow, and reference materials.
18
+
19
+ ```text
20
+ design-md/
21
+ ├── SKILL.md — Core instructions & workflow
22
+ ├── examples/ — Sample DESIGN.md outputs
23
+ └── README.md — This file
24
+ ```
25
+
26
+ ## How it Works
27
+
28
+ When activated, the agent follows a structured design analysis pipeline:
29
+
30
+ 1. **Retrieval**: Uses the Stitch MCP Server to fetch project screens, HTML code, and design metadata.
31
+ 2. **Extraction**: Identifies design tokens including colors, typography, spacing, and component patterns.
32
+ 3. **Translation**: Converts technical CSS/Tailwind values into descriptive, natural design language.
33
+ 4. **Synthesis**: Generates a comprehensive DESIGN.md following the semantic design system format.
34
+ 5. **Alignment**: Ensures output follows Stitch Effective Prompting Guide principles for optimal screen generation.
@@ -0,0 +1,172 @@
1
+ ---
2
+ name: design-md
3
+ description: Analyze Stitch projects and synthesize a semantic design system into DESIGN.md files
4
+ allowed-tools:
5
+ - "stitch*:*"
6
+ - "Read"
7
+ - "Write"
8
+ - "web_fetch"
9
+ ---
10
+
11
+ # Stitch DESIGN.md Skill
12
+
13
+ You are an expert Design Systems Lead. Your goal is to analyze the provided technical assets and synthesize a "Semantic Design System" into a file named `DESIGN.md`.
14
+
15
+ ## Overview
16
+
17
+ This skill helps you create `DESIGN.md` files that serve as the "source of truth" for prompting Stitch to generate new screens that align perfectly with existing design language. Stitch interprets design through "Visual Descriptions" supported by specific color values.
18
+
19
+ ## Prerequisites
20
+
21
+ - Access to the Stitch MCP Server
22
+ - A Stitch project with at least one designed screen
23
+ - Access to the Stitch Effective Prompting Guide: https://stitch.withgoogle.com/docs/learn/prompting/
24
+
25
+ ## The Goal
26
+
27
+ The `DESIGN.md` file will serve as the "source of truth" for prompting Stitch to generate new screens that align perfectly with the existing design language. Stitch interprets design through "Visual Descriptions" supported by specific color values.
28
+
29
+ ## Retrieval and Networking
30
+
31
+ To analyze a Stitch project, you must retrieve screen metadata and design assets using the Stitch MCP Server tools:
32
+
33
+ 1. **Namespace discovery**: Run `list_tools` to find the Stitch MCP prefix. Use this prefix (e.g., `mcp_stitch:`) for all subsequent calls.
34
+
35
+ 2. **Project lookup** (if Project ID is not provided):
36
+ - Call `[prefix]:list_projects` with `filter: "view=owned"` to retrieve all user projects
37
+ - Identify the target project by title or URL pattern
38
+ - Extract the Project ID from the `name` field (e.g., `projects/13534454087919359824`)
39
+
40
+ 3. **Screen lookup** (if Screen ID is not provided):
41
+ - Call `[prefix]:list_screens` with the `projectId` (just the numeric ID, not the full path)
42
+ - Review screen titles to identify the target screen (e.g., "Home", "Landing Page")
43
+ - Extract the Screen ID from the screen's `name` field
44
+
45
+ 4. **Metadata fetch**:
46
+ - Call `[prefix]:get_screen` with both `projectId` and `screenId` (both as numeric IDs only)
47
+ - This returns the complete screen object including:
48
+ - `screenshot.downloadUrl` - Visual reference of the design
49
+ - `htmlCode.downloadUrl` - Full HTML/CSS source code
50
+ - `width`, `height`, `deviceType` - Screen dimensions and target platform
51
+ - Project metadata including `designTheme` with color and style information
52
+
53
+ 5. **Asset download**:
54
+ - Use `web_fetch` or `read_url_content` to download the HTML code from `htmlCode.downloadUrl`
55
+ - Optionally download the screenshot from `screenshot.downloadUrl` for visual reference
56
+ - Parse the HTML to extract Tailwind classes, custom CSS, and component patterns
57
+
58
+ 6. **Project metadata extraction**:
59
+ - Call `[prefix]:get_project` with the project `name` (full path: `projects/{id}`) to get:
60
+ - `designTheme` object with color mode, fonts, roundness, custom colors
61
+ - Project-level design guidelines and descriptions
62
+ - Device type preferences and layout principles
63
+
64
+ ## Analysis & Synthesis Instructions
65
+
66
+ ### 1. Extract Project Identity (JSON)
67
+ - Locate the Project Title
68
+ - Locate the specific Project ID (e.g., from the `name` field in the JSON)
69
+
70
+ ### 2. Define the Atmosphere (Image/HTML)
71
+ Evaluate the screenshot and HTML structure to capture the overall "vibe." Use evocative adjectives to describe the mood (e.g., "Airy," "Dense," "Minimalist," "Utilitarian").
72
+
73
+ ### 3. Map the Color Palette (Tailwind Config/JSON)
74
+ Identify the key colors in the system. For each color, provide:
75
+ - A descriptive, natural language name that conveys its character (e.g., "Deep Muted Teal-Navy")
76
+ - The specific hex code in parentheses for precision (e.g., "#294056")
77
+ - Its specific functional role (e.g., "Used for primary actions")
78
+
79
+ ### 4. Translate Geometry & Shape (CSS/Tailwind)
80
+ Convert technical `border-radius` and layout values into physical descriptions:
81
+ - Describe `rounded-full` as "Pill-shaped"
82
+ - Describe `rounded-lg` as "Subtly rounded corners"
83
+ - Describe `rounded-none` as "Sharp, squared-off edges"
84
+
85
+ ### 5. Describe Depth & Elevation
86
+ Explain how the UI handles layers. Describe the presence and quality of shadows (e.g., "Flat," "Whisper-soft diffused shadows," or "Heavy, high-contrast drop shadows").
87
+
88
+ ## Output Guidelines
89
+
90
+ - **Language:** Use descriptive design terminology and natural language exclusively
91
+ - **Format:** Generate a clean Markdown file following the structure below
92
+ - **Precision:** Include exact hex codes for colors while using descriptive names
93
+ - **Context:** Explain the "why" behind design decisions, not just the "what"
94
+
95
+ ## Output Format (DESIGN.md Structure)
96
+
97
+ ```markdown
98
+ # Design System: [Project Title]
99
+ **Project ID:** [Insert Project ID Here]
100
+
101
+ ## 1. Visual Theme & Atmosphere
102
+ (Description of the mood, density, and aesthetic philosophy.)
103
+
104
+ ## 2. Color Palette & Roles
105
+ (List colors by Descriptive Name + Hex Code + Functional Role.)
106
+
107
+ ## 3. Typography Rules
108
+ (Description of font family, weight usage for headers vs. body, and letter-spacing character.)
109
+
110
+ ## 4. Component Stylings
111
+ * **Buttons:** (Shape description, color assignment, behavior).
112
+ * **Cards/Containers:** (Corner roundness description, background color, shadow depth).
113
+ * **Inputs/Forms:** (Stroke style, background).
114
+
115
+ ## 5. Layout Principles
116
+ (Description of whitespace strategy, margins, and grid alignment.)
117
+ ```
118
+
119
+ ## Usage Example
120
+
121
+ To use this skill for the Furniture Collection project:
122
+
123
+ 1. **Retrieve project information:**
124
+ ```
125
+ Use the Stitch MCP Server to get the Furniture Collection project
126
+ ```
127
+
128
+ 2. **Get the Home page screen details:**
129
+ ```
130
+ Retrieve the Home page screen's code, image, and screen object information
131
+ ```
132
+
133
+ 3. **Reference best practices:**
134
+ ```
135
+ Review the Stitch Effective Prompting Guide at:
136
+ https://stitch.withgoogle.com/docs/learn/prompting/
137
+ ```
138
+
139
+ 4. **Analyze and synthesize:**
140
+ - Extract all relevant design tokens from the screen
141
+ - Translate technical values into descriptive language
142
+ - Organize information according to the DESIGN.md structure
143
+
144
+ 5. **Generate the file:**
145
+ - Create `DESIGN.md` in the project directory
146
+ - Follow the prescribed format exactly
147
+ - Ensure all color codes are accurate
148
+ - Use evocative, designer-friendly language
149
+
150
+ ## Best Practices
151
+
152
+ - **Be Descriptive:** Avoid generic terms like "blue" or "rounded." Use "Ocean-deep Cerulean (#0077B6)" or "Gently curved edges"
153
+ - **Be Functional:** Always explain what each design element is used for
154
+ - **Be Consistent:** Use the same terminology throughout the document
155
+ - **Be Visual:** Help readers visualize the design through your descriptions
156
+ - **Be Precise:** Include exact values (hex codes, pixel values) in parentheses after natural language descriptions
157
+
158
+ ## Tips for Success
159
+
160
+ 1. **Start with the big picture:** Understand the overall aesthetic before diving into details
161
+ 2. **Look for patterns:** Identify consistent spacing, sizing, and styling patterns
162
+ 3. **Think semantically:** Name colors by their purpose, not just their appearance
163
+ 4. **Consider hierarchy:** Document how visual weight and importance are communicated
164
+ 5. **Reference the guide:** Use language and patterns from the Stitch Effective Prompting Guide
165
+
166
+ ## Common Pitfalls to Avoid
167
+
168
+ - ❌ Using technical jargon without translation (e.g., "rounded-xl" instead of "generously rounded corners")
169
+ - ❌ Omitting color codes or using only descriptive names
170
+ - ❌ Forgetting to explain functional roles of design elements
171
+ - ❌ Being too vague in atmosphere descriptions
172
+ - ❌ Ignoring subtle design details like shadows or spacing patterns
@@ -0,0 +1,154 @@
1
+ # Design System: Furniture Collections List
2
+ **Project ID:** 13534454087919359824
3
+
4
+ ## 1. Visual Theme & Atmosphere
5
+
6
+ The Furniture Collections List embodies a **sophisticated, minimalist sanctuary** that marries the pristine simplicity of Scandinavian design with the refined visual language of luxury editorial presentation. The interface feels **spacious and tranquil**, prioritizing breathing room and visual clarity above all else. The design philosophy is gallery-like and photography-first, allowing each furniture piece to command attention as an individual art object.
7
+
8
+ The overall mood is **airy yet grounded**, creating an aspirational aesthetic that remains approachable and welcoming. The interface feels **utilitarian in its restraint** but elegant in its execution, with every element serving a clear purpose while maintaining visual sophistication. The atmosphere evokes the serene ambiance of a high-end furniture showroom where customers can browse thoughtfully without visual overwhelm.
9
+
10
+ **Key Characteristics:**
11
+ - Expansive whitespace creating generous breathing room between elements
12
+ - Clean, architectural grid system with structured content blocks
13
+ - Photography-first presentation with minimal UI interference
14
+ - Whisper-soft visual hierarchy that guides without shouting
15
+ - Refined, understated interactive elements
16
+ - Professional yet inviting editorial tone
17
+
18
+ ## 2. Color Palette & Roles
19
+
20
+ ### Primary Foundation
21
+ - **Warm Barely-There Cream** (#FCFAFA) – Primary background color. Creates an almost imperceptible warmth that feels more inviting than pure white, serving as the serene canvas for the entire experience.
22
+ - **Crisp Very Light Gray** (#F5F5F5) – Secondary surface color used for card backgrounds and content areas. Provides subtle visual separation while maintaining the airy, ethereal quality.
23
+
24
+ ### Accent & Interactive
25
+ - **Deep Muted Teal-Navy** (#294056) – The sole vibrant accent in the palette. Used exclusively for primary call-to-action buttons (e.g., "Shop Now", "View all products"), active navigation links, selected filter states, and subtle interaction highlights. This sophisticated anchor color creates visual focus points without disrupting the serene neutral foundation.
26
+
27
+ ### Typography & Text Hierarchy
28
+ - **Charcoal Near-Black** (#2C2C2C) – Primary text color for headlines and product names. Provides strong readable contrast while being softer and more refined than pure black.
29
+ - **Soft Warm Gray** (#6B6B6B) – Secondary text used for body copy, product descriptions, and supporting metadata. Creates clear typographic hierarchy without harsh contrast.
30
+ - **Ultra-Soft Silver Gray** (#E0E0E0) – Tertiary color for borders, dividers, and subtle structural elements. Creates separation so gentle it's almost imperceptible.
31
+
32
+ ### Functional States (Reserved for system feedback)
33
+ - **Success Moss** (#10B981) – Stock availability, confirmation states, positive indicators
34
+ - **Alert Terracotta** (#EF4444) – Low stock warnings, error states, critical alerts
35
+ - **Informational Slate** (#64748B) – Neutral system messages, informational callouts
36
+
37
+ ## 3. Typography Rules
38
+
39
+ **Primary Font Family:** Manrope
40
+ **Character:** Modern, geometric sans-serif with gentle humanist warmth. Slightly rounded letterforms that feel contemporary yet approachable.
41
+
42
+ ### Hierarchy & Weights
43
+ - **Display Headlines (H1):** Semi-bold weight (600), generous letter-spacing (0.02em for elegance), 2.75-3.5rem size. Used sparingly for hero sections and major page titles.
44
+ - **Section Headers (H2):** Semi-bold weight (600), subtle letter-spacing (0.01em), 2-2.5rem size. Establishes clear content zones and featured collections.
45
+ - **Subsection Headers (H3):** Medium weight (500), normal letter-spacing, 1.5-1.75rem size. Product names and category labels.
46
+ - **Body Text:** Regular weight (400), relaxed line-height (1.7), 1rem size. Descriptions and supporting content prioritize comfortable readability.
47
+ - **Small Text/Meta:** Regular weight (400), slightly tighter line-height (1.5), 0.875rem size. Prices, availability, and metadata remain legible but visually recessive.
48
+ - **CTA Buttons:** Medium weight (500), subtle letter-spacing (0.01em), 1rem size. Balanced presence without visual aggression.
49
+
50
+ ### Spacing Principles
51
+ - Headers use slightly expanded letter-spacing for refined elegance
52
+ - Body text maintains generous line-height (1.7) for effortless reading
53
+ - Consistent vertical rhythm with 2-3rem between related text blocks
54
+ - Large margins (4-6rem) between major sections to reinforce spaciousness
55
+
56
+ ## 4. Component Stylings
57
+
58
+ ### Buttons
59
+ - **Shape:** Subtly rounded corners (8px/0.5rem radius) – approachable and modern without appearing playful or childish
60
+ - **Primary CTA:** Deep Muted Teal-Navy (#294056) background with pure white text, comfortable padding (0.875rem vertical, 2rem horizontal)
61
+ - **Hover State:** Subtle darkening to deeper navy, smooth 250ms ease-in-out transition
62
+ - **Focus State:** Soft outer glow in the primary color for keyboard navigation accessibility
63
+ - **Secondary CTA (if needed):** Outlined style with Deep Muted Teal-Navy border, transparent background, hover fills with whisper-soft teal tint
64
+
65
+ ### Cards & Product Containers
66
+ - **Corner Style:** Gently rounded corners (12px/0.75rem radius) creating soft, refined edges
67
+ - **Background:** Alternates between Warm Barely-There Cream and Crisp Very Light Gray based on layering needs
68
+ - **Shadow Strategy:** Flat by default. On hover, whisper-soft diffused shadow appears (`0 2px 8px rgba(0,0,0,0.06)`) creating subtle depth
69
+ - **Border:** Optional hairline border (1px) in Ultra-Soft Silver Gray for delicate definition when shadows aren't present
70
+ - **Internal Padding:** Generous 2-2.5rem creating comfortable breathing room for content
71
+ - **Image Treatment:** Full-bleed at the top of cards, square or 4:3 ratio, seamless edge-to-edge presentation
72
+
73
+ ### Navigation
74
+ - **Style:** Clean horizontal layout with generous spacing (2-3rem) between menu items
75
+ - **Typography:** Medium weight (500), subtle uppercase, expanded letter-spacing (0.06em) for refined sophistication
76
+ - **Default State:** Charcoal Near-Black text
77
+ - **Active/Hover State:** Smooth 200ms color transition to Deep Muted Teal-Navy
78
+ - **Active Indicator:** Thin underline (2px) in Deep Muted Teal-Navy appearing below current section
79
+ - **Mobile:** Converts to elegant hamburger menu with sliding drawer
80
+
81
+ ### Inputs & Forms
82
+ - **Stroke Style:** Refined 1px border in Soft Warm Gray
83
+ - **Background:** Warm Barely-There Cream with transition to Crisp Very Light Gray on focus
84
+ - **Corner Style:** Matching button roundness (8px/0.5rem) for visual consistency
85
+ - **Focus State:** Border color shifts to Deep Muted Teal-Navy with subtle outer glow
86
+ - **Padding:** Comfortable 0.875rem vertical, 1.25rem horizontal for touch-friendly targets
87
+ - **Placeholder Text:** Ultra-Soft Silver Gray, elegant and unobtrusive
88
+
89
+ ### Product Cards (Specific Pattern)
90
+ - **Image Area:** Square (1:1) or landscape (4:3) ratio filling card width completely
91
+ - **Content Stack:** Product name (H3), brief descriptor, material/finish, price
92
+ - **Price Display:** Emphasized with semi-bold weight (600) in Charcoal Near-Black
93
+ - **Hover Behavior:** Gentle lift effect (translateY -4px) combined with enhanced shadow
94
+ - **Spacing:** Consistent 1.5rem internal padding below image
95
+
96
+ ## 5. Layout Principles
97
+
98
+ ### Grid & Structure
99
+ - **Max Content Width:** 1440px for optimal readability and visual balance on large displays
100
+ - **Grid System:** Responsive 12-column grid with fluid gutters (24px mobile, 32px desktop)
101
+ - **Product Grid:** 4 columns on large desktop, 3 on desktop, 2 on tablet, 1 on mobile
102
+ - **Breakpoints:**
103
+ - Mobile: <768px
104
+ - Tablet: 768-1024px
105
+ - Desktop: 1024-1440px
106
+ - Large Desktop: >1440px
107
+
108
+ ### Whitespace Strategy (Critical to the Design)
109
+ - **Base Unit:** 8px for micro-spacing, 16px for component spacing
110
+ - **Vertical Rhythm:** Consistent 2rem (32px) base unit between related elements
111
+ - **Section Margins:** Generous 5-8rem (80-128px) between major sections creating dramatic breathing room
112
+ - **Edge Padding:** 1.5rem (24px) mobile, 3rem (48px) tablet/desktop for comfortable framing
113
+ - **Hero Sections:** Extra-generous top/bottom padding (8-12rem) for impactful presentation
114
+
115
+ ### Alignment & Visual Balance
116
+ - **Text Alignment:** Left-aligned for body and navigation (optimal readability), centered for hero headlines and featured content
117
+ - **Image to Text Ratio:** Heavily weighted toward imagery (70-30 split) reinforcing photography-first philosophy
118
+ - **Asymmetric Balance:** Large hero images offset by compact, refined text blocks
119
+ - **Visual Weight Distribution:** Strategic use of whitespace to draw eyes to hero products and primary CTAs
120
+ - **Reading Flow:** Clear top-to-bottom, left-to-right pattern with intentional focal points
121
+
122
+ ### Responsive Behavior & Touch
123
+ - **Mobile-First Foundation:** Core experience designed and perfected for smallest screens first
124
+ - **Progressive Enhancement:** Additional columns, imagery, and details added gracefully at larger breakpoints
125
+ - **Touch Targets:** Minimum 44x44px for all interactive elements (WCAG AAA compliant)
126
+ - **Image Optimization:** Responsive images with appropriate resolutions for each breakpoint, lazy-loading for performance
127
+ - **Collapsing Strategy:** Navigation collapses to hamburger, grid reduces columns, padding scales proportionally
128
+
129
+ ## 6. Design System Notes for Stitch Generation
130
+
131
+ When creating new screens for this project using Stitch, reference these specific instructions:
132
+
133
+ ### Language to Use
134
+ - **Atmosphere:** "Sophisticated minimalist sanctuary with gallery-like spaciousness"
135
+ - **Button Shapes:** "Subtly rounded corners" (not "rounded-md" or "8px")
136
+ - **Shadows:** "Whisper-soft diffused shadows on hover" (not "shadow-sm")
137
+ - **Spacing:** "Generous breathing room" and "expansive whitespace"
138
+
139
+ ### Color References
140
+ Always use the descriptive names with hex codes:
141
+ - Primary CTA: "Deep Muted Teal-Navy (#294056)"
142
+ - Backgrounds: "Warm Barely-There Cream (#FCFAFA)" or "Crisp Very Light Gray (#F5F5F5)"
143
+ - Text: "Charcoal Near-Black (#2C2C2C)" or "Soft Warm Gray (#6B6B6B)"
144
+
145
+ ### Component Prompts
146
+ - "Create a product card with gently rounded corners, full-bleed square product image, and whisper-soft shadow on hover"
147
+ - "Design a primary call-to-action button in Deep Muted Teal-Navy (#294056) with subtle rounded corners and comfortable padding"
148
+ - "Add a navigation bar with generous spacing between items, using medium-weight Manrope with subtle uppercase and expanded letter-spacing"
149
+
150
+ ### Incremental Iteration
151
+ When refining existing screens:
152
+ 1. Focus on ONE component at a time (e.g., "Update the product grid cards")
153
+ 2. Be specific about what to change (e.g., "Increase the internal padding of product cards from 1.5rem to 2rem")
154
+ 3. Reference this design system language consistently