agentic-sdlc 1.0.0 → 1.5.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 (227) hide show
  1. package/.agent/ide-integration/INTEGRATION-SUMMARY.md +309 -0
  2. package/.agent/ide-integration/KIRO-IDE.md +381 -0
  3. package/.agent/ide-integration/README.md +256 -209
  4. package/.agent/knowledge-base/AUTO-LEARNING-GUIDE.md +327 -0
  5. package/.agent/knowledge-base/HOW-IT-WORKS.md +365 -0
  6. package/.agent/knowledge-base/INDEX.md +43 -0
  7. package/.agent/knowledge-base/README.md +47 -7
  8. package/.agent/knowledge-base/architecture/KB-2026-01-01-003-neo4j-graph-database-skills.md +1146 -0
  9. package/.agent/knowledge-base/architecture/README.md +98 -0
  10. package/.agent/knowledge-base/bugs/KB-2026-01-02-yaml-special-character-escaping.md +56 -0
  11. package/.agent/knowledge-base/bugs/medium/KB-2026-01-01-001-example-auto-learned.md +198 -0
  12. package/.agent/knowledge-base/features/KB-2026-01-01-001-landing-page-design-trends-2026.md +646 -0
  13. package/.agent/knowledge-base/features/KB-2026-01-01-004-uiux-design-skills-2026.md +945 -0
  14. package/.agent/knowledge-base/features/KB-2026-01-01-005-modern-ai-landing-page-ui.md +310 -0
  15. package/.agent/knowledge-base/features/KB-2026-01-01-006-award-winning-landing-page-patterns.md +324 -0
  16. package/.agent/knowledge-base/features/KB-2026-01-02-001-cleanup-workflow.md +242 -0
  17. package/.agent/knowledge-base/features/KB-2026-01-02-002-landing-page-monorepo-architecture.md +148 -0
  18. package/.agent/knowledge-base/features/KB-2026-01-02-003-premium-glassmorphism-patterns.md +58 -0
  19. package/.agent/knowledge-base/features/KB-2026-01-04-ai-agent-enforcement.md +46 -0
  20. package/.agent/knowledge-base/features/README.md +83 -0
  21. package/.agent/knowledge-base/features/figma-landing-page-workflow.md +311 -0
  22. package/.agent/knowledge-base/features/figma-mcp-sa-guide.md +673 -0
  23. package/.agent/knowledge-base/features/figma-mcp-uiux-guide.md +459 -0
  24. package/.agent/knowledge-base/performance/KB-2026-01-02-lazy-loading-optimization.md +80 -0
  25. package/.agent/knowledge-base/platform-specific/KB-2026-01-02-windows-console-encoding.md +56 -0
  26. package/.agent/knowledge-base/role-guides/DEV-KB-Guide.md +527 -0
  27. package/.agent/knowledge-base/role-guides/DEVOPS-KB-Guide.md +491 -0
  28. package/.agent/knowledge-base/role-guides/PM-KB-Guide.md +299 -0
  29. package/.agent/knowledge-base/role-guides/SECA-KB-Guide.md +555 -0
  30. package/.agent/knowledge-base/role-guides/TESTER-KB-Guide.md +519 -0
  31. package/.agent/knowledge-base/security/KB-2026-01-02-input-validation-sanitization.md +74 -0
  32. package/.agent/rules/AUTO-LEARNING.md +418 -0
  33. package/.agent/rules/ai-enforcement.md +11 -0
  34. package/.agent/rules/artifacts.md +77 -58
  35. package/.agent/rules/git-workflow.md +25 -65
  36. package/.agent/rules/global.md +18 -13
  37. package/.agent/skills/role-ba.md +76 -0
  38. package/.agent/skills/role-brain.md +470 -0
  39. package/.agent/skills/role-dev.md +338 -0
  40. package/.agent/skills/role-devops.md +122 -0
  41. package/.agent/skills/role-orchestrator.md +223 -0
  42. package/.agent/skills/role-pm.md +258 -0
  43. package/.agent/skills/role-po.md +237 -0
  44. package/.agent/skills/role-qa.md +81 -0
  45. package/.agent/skills/role-reporter.md +117 -0
  46. package/.agent/skills/role-sa.md +277 -0
  47. package/.agent/skills/role-seca.md +294 -0
  48. package/.agent/skills/role-stakeholder.md +105 -0
  49. package/.agent/skills/role-tester.md +294 -0
  50. package/.agent/skills/role-uiux.md +264 -0
  51. package/.agent/templates/CHANGELOG-Template.md +83 -0
  52. package/.agent/templates/Knowledge-Entry-Template.md +3 -0
  53. package/.agent/workflows/brain.md +84 -53
  54. package/.agent/workflows/compound.md +51 -0
  55. package/.agent/workflows/cycle.md +61 -0
  56. package/.agent/workflows/emergency.md +114 -0
  57. package/.agent/workflows/explore.md +147 -0
  58. package/.agent/workflows/housekeeping.md +105 -0
  59. package/.agent/workflows/metrics.md +179 -0
  60. package/.agent/workflows/orchestrator.md +68 -0
  61. package/.agent/workflows/preflight.md +35 -0
  62. package/.agent/workflows/release.md +153 -0
  63. package/.agent/workflows/route.md +160 -0
  64. package/.agent/workflows/sprint.md +125 -0
  65. package/.agent/workflows/validate.md +146 -0
  66. package/CHANGELOG.md +349 -6
  67. package/README.md +171 -86
  68. package/bin/CROSS-PLATFORM-CLI.md +526 -0
  69. package/bin/README.md +525 -0
  70. package/bin/cli.js +65 -90
  71. package/bin/kb +34 -0
  72. package/bin/kb.bat +28 -0
  73. package/bin/kb_cli.py +226 -0
  74. package/bin/lib/README.md +411 -0
  75. package/bin/lib/__init__.py +7 -0
  76. package/bin/lib/__pycache__/kb_add.cpython-313.pyc +0 -0
  77. package/bin/lib/__pycache__/kb_common.cpython-313.pyc +0 -0
  78. package/bin/lib/__pycache__/kb_compound.cpython-313.pyc +0 -0
  79. package/bin/lib/__pycache__/kb_index.cpython-313.pyc +0 -0
  80. package/bin/lib/__pycache__/kb_list.cpython-313.pyc +0 -0
  81. package/bin/lib/__pycache__/kb_search.cpython-313.pyc +0 -0
  82. package/bin/lib/__pycache__/kb_stats.cpython-313.pyc +0 -0
  83. package/bin/lib/kb_add.py +203 -0
  84. package/bin/lib/kb_common.py +224 -0
  85. package/bin/lib/kb_compound.py +250 -0
  86. package/bin/lib/kb_index.py +193 -0
  87. package/bin/lib/kb_list.py +144 -0
  88. package/bin/lib/kb_search.py +121 -0
  89. package/bin/lib/kb_stats.py +153 -0
  90. package/docs/AGENT-MANAGEMENT-GUIDE.md +298 -0
  91. package/docs/ARCHITECTURE-OVERVIEW.md +350 -0
  92. package/docs/BRAIN-ARCHITECTURE.md +396 -0
  93. package/docs/COMPOUND-ENGINEERING-SETUP.md +326 -0
  94. package/docs/KNOWLEDGE-BASE-GUIDE.md +330 -0
  95. package/docs/KNOWLEDGE-BASE-SIMPLE.md +248 -0
  96. package/docs/MONOREPO-ARCHITECTURE.md +492 -0
  97. package/docs/PROJECT-DOCUMENTATION-INDEX.md +540 -0
  98. package/docs/SDLC-Diagram.md +235 -0
  99. package/docs/analysis/Workflow-Optimization-Diagram.md +524 -0
  100. package/docs/analysis/Workflows-Deep-Analysis-2026-01-03.md +604 -0
  101. package/docs/architecture/{brain.md → BRAIN.md} +1 -1
  102. package/docs/global/Master-Documentation.md +307 -0
  103. package/docs/global/reports/Final-Approval-Report.md +257 -0
  104. package/docs/guides/AUTO-LEARNING-COMPLETE-GUIDE.md +519 -0
  105. package/docs/guides/AUTO-LEARNING-SYSTEM.md +322 -0
  106. package/docs/guides/LEARNING-FLOW.md +0 -0
  107. package/docs/guides/MCP-QUICK-REFERENCE.md +104 -0
  108. package/docs/guides/MCP-SETUP.md +139 -0
  109. package/docs/guides/QUICK-START.md +4 -0
  110. package/docs/guides/ROLE-COMMUNICATION-SYSTEM.md +71 -0
  111. package/docs/reports/Metrics-Dashboard-2026-01-02.md +66 -0
  112. package/docs/reports/Metrics-Dashboard-2026-01-04.md +68 -0
  113. package/docs/reports/UIUX-Design-Skills-Research-Report-2026.md +91 -0
  114. package/docs/reports/Validation-Report-2026-01-04.md +23 -0
  115. package/docs/research-reports/research-20260103-101315.json +95 -0
  116. package/docs/research-reports/research-20260103-101315.md +78 -0
  117. package/docs/research-reports/research-20260103-183837.json +95 -0
  118. package/docs/research-reports/research-20260103-183837.md +78 -0
  119. package/docs/research-reports/research-20260103-190346.json +100 -0
  120. package/docs/research-reports/research-20260103-190346.md +83 -0
  121. package/docs/setup/{github-management.md → GITHUB-MANAGEMENT.md} +1 -1
  122. package/docs/setup/RESEARCH-AGENT-SETUP.md +575 -0
  123. package/docs/sprints/{sprint-github-issues.md → SPRINT-GITHUB-ISSUES.md} +1 -1
  124. package/docs/sprints/{sprint-leann-integration.md → SPRINT-LEANN-INTEGRATION.md} +1 -1
  125. package/docs/sprints/sprint-1/designs/Backend-Design-Spec-Sprint-1-v1.md +1206 -0
  126. package/docs/sprints/sprint-1/designs/System-Design-Spec-Sprint-1-v1.md +439 -0
  127. package/docs/sprints/sprint-1/designs/System-Design-Spec-v1.0.md +425 -0
  128. package/docs/sprints/sprint-1/designs/UIUX-Design-Spec-Sprint-1-v1.md +55 -0
  129. package/docs/sprints/sprint-1/designs/UIUX-Design-Spec-v1.0.md +644 -0
  130. package/docs/sprints/sprint-1/logs/DevOps-Plan-and-Log-Sprint-1-v1.md +253 -0
  131. package/docs/sprints/sprint-1/logs/Development-Log-Phase1.md +433 -0
  132. package/docs/sprints/sprint-1/logs/Development-Log-Sprint-1-v1.md +181 -0
  133. package/docs/sprints/sprint-1/logs/Development-Log-Sprint-1.md +548 -0
  134. package/docs/sprints/sprint-1/logs/Orchestration-Log-Sprint-1.md +46 -0
  135. package/docs/sprints/sprint-1/logs/Phase1-Summary.md +84 -0
  136. package/docs/sprints/sprint-1/plans/Product-Backlog-Sprint-1-v1.md +40 -0
  137. package/docs/sprints/sprint-1/plans/Product-Backlog-v1.0.md +613 -0
  138. package/docs/sprints/sprint-1/plans/Project-Plan-Sprint-1-v1.0.md +210 -0
  139. package/docs/sprints/sprint-1/plans/Project-Plan-Sprint-1-v1.md +377 -0
  140. package/docs/sprints/sprint-1/reports/Design-Verification-Report-v1.0.md +220 -0
  141. package/docs/sprints/sprint-1/reports/Phase-Report-Sprint-1-v1.md +238 -0
  142. package/docs/sprints/sprint-1/reports/Security-Review-Report-v1.0.md +285 -0
  143. package/docs/sprints/sprint-1/reports/Sprint-Report-Sprint-1.md +74 -0
  144. package/docs/sprints/sprint-1/reports/Test-Report-v1.0.md +346 -0
  145. package/docs/sprints/sprint-1/reviews/Design-Verification-Report.md +508 -0
  146. package/docs/sprints/sprint-1/reviews/Security-Review-Report.md +589 -0
  147. package/docs/sprints/sprint-1/sprint-current/logs/WORKFLOW-CLEANUP-FINAL.md +121 -0
  148. package/docs/sprints/sprint-1/sprint-current/logs/WORKFLOW-OPTIMIZATION-COMPLETE.md +224 -0
  149. package/docs/sprints/sprint-1/sprint-current/logs/Workflow-Optimization-Progress.md +310 -0
  150. package/docs/sprints/sprint-1/sprint-current/logs/Workflow-Optimization-Session-Summary.md +420 -0
  151. package/docs/sprints/sprint-1/sprint-current/plans/Workflow-Optimization-Implementation-Plan.md +1124 -0
  152. package/docs/sprints/sprint-2/SPRINT-SUMMARY.md +150 -0
  153. package/docs/sprints/sprint-2/designs/UIUX-Design-Spec-Sprint-2-v1.md +352 -0
  154. package/docs/sprints/sprint-2/logs/Development-Log-Sprint-2-v1.md +293 -0
  155. package/docs/sprints/sprint-2/plans/Product-Backlog-Sprint-2-v1.md +62 -0
  156. package/docs/sprints/sprint-2/plans/Project-Plan-Sprint-2-v1.md +228 -0
  157. package/docs/sprints/sprint-2/reports/Phase-Report-Sprint-2-v1.md +303 -0
  158. package/docs/sprints/sprint-3/designs/UIUX-Design-Spec-Sprint-3-v1.md +160 -0
  159. package/docs/sprints/sprint-3/logs/Development-Log-Sprint-3-v1.md +249 -0
  160. package/docs/sprints/sprint-3/logs/Testing-Report-Sprint-3-v1.md +244 -0
  161. package/docs/sprints/sprint-3/plans/Product-Backlog-Sprint-3-v1.md +95 -0
  162. package/docs/sprints/sprint-3/reports/Final-Approval-Report-Sprint-3-v1.md +299 -0
  163. package/docs/sprints/sprint-3/reports/Sprint-Summary-Sprint-3-v1.md +276 -0
  164. package/docs/sprints/sprint-3/reviews/Design-Verification-Report-Sprint-3-v1.md +122 -0
  165. package/docs/sprints/sprint-3/reviews/Security-Review-Report-Sprint-3-v1.md +67 -0
  166. package/docs/sprints/sprint-5/designs/Backend-Design-Spec-Sprint-5-v1.md +1734 -0
  167. package/docs/sprints/sprint-5/designs/Design-Verification-Report.md +101 -0
  168. package/docs/sprints/sprint-5/designs/Security-Review-Report.md +84 -0
  169. package/docs/sprints/sprint-6/.brain-state.json +29 -0
  170. package/package.json +92 -16
  171. package/.agent/ide-integration/aider-commands.md +0 -40
  172. package/.agent/ide-integration/cline-config.json +0 -108
  173. package/.agent/ide-integration/cursor-rules.md +0 -63
  174. package/.agent/ide-integration/github-copilot-instructions.md +0 -75
  175. package/.agent/ide-integration/vscode-commands.json +0 -190
  176. package/.agent/ide-integration/windsurf-cascade.md +0 -125
  177. package/.agent/knowledge-base/index.md +0 -202
  178. package/.agent/legacy/roles/designer.md +0 -311
  179. package/.agent/legacy/roles/dev.md +0 -177
  180. package/.agent/legacy/roles/devops.md +0 -146
  181. package/.agent/legacy/roles/orchestrator.md +0 -339
  182. package/.agent/legacy/roles/pm.md +0 -120
  183. package/.agent/legacy/roles/po.md +0 -89
  184. package/.agent/legacy/roles/qa.md +0 -108
  185. package/.agent/legacy/roles/reporter.md +0 -70
  186. package/.agent/legacy/roles/sa.md +0 -118
  187. package/.agent/legacy/roles/seca.md +0 -112
  188. package/.agent/legacy/roles/stakeholder.md +0 -111
  189. package/.agent/legacy/roles/tester.md +0 -129
  190. package/.agent/rules/global.md.bak +0 -154
  191. package/.agent/usage.md +0 -653
  192. package/.agent/workflows/auto.md +0 -35
  193. package/.agent/workflows/dev.md +0 -30
  194. package/.agent/workflows/devops.md +0 -28
  195. package/.agent/workflows/kb-search.md +0 -22
  196. package/.agent/workflows/pm.md +0 -42
  197. package/.agent/workflows/po.md +0 -21
  198. package/.agent/workflows/qa.md +0 -31
  199. package/.agent/workflows/reporter.md +0 -21
  200. package/.agent/workflows/sa.md +0 -51
  201. package/.agent/workflows/seca.md +0 -21
  202. package/.agent/workflows/stakeholder.md +0 -26
  203. package/.agent/workflows/tester.md +0 -21
  204. package/.agent/workflows/uiux.md +0 -38
  205. package/.cursorrules +0 -49
  206. package/.env.template +0 -10
  207. package/.github/ISSUE_TEMPLATE/bug_report.yml +0 -47
  208. package/.github/ISSUE_TEMPLATE/config.yml +0 -8
  209. package/.github/ISSUE_TEMPLATE/feature_request.yml +0 -33
  210. package/.github/ISSUE_TEMPLATE/security_alert.yml +0 -28
  211. package/.github/ISSUE_TEMPLATE/task_implementation.yml +0 -37
  212. package/.github/copilot-instructions.md +0 -60
  213. package/bin/commands/create.js +0 -96
  214. package/bin/commands/help.js +0 -69
  215. package/bin/commands/ide.js +0 -116
  216. package/bin/commands/init-kb.js +0 -74
  217. package/bin/commands/install.js +0 -68
  218. package/bin/commands/list.js +0 -35
  219. package/bin/graph_brain.py +0 -86
  220. package/bin/sync_github.py +0 -75
  221. package/bin/utils/args-parser.js +0 -33
  222. package/bin/utils/colors.js +0 -21
  223. package/bin/verify_neo4j.py +0 -25
  224. /package/.agent/rules/{knowledge-base.md → KNOWLEDGE-BASE.md} +0 -0
  225. /package/docs/architecture/{neo4j-learning-queries.md → NEO4J-LEARNING-QUERIES.md} +0 -0
  226. /package/docs/reports/{comparison-leann-neo4j.md → COMPARISON-LEANN-NEO4J.md} +0 -0
  227. /package/docs/sprints/{sprint-neo4j-brain.md → SPRINT-NEO4J-BRAIN.md} +0 -0
@@ -0,0 +1,311 @@
1
+ ---
2
+ title: "Figma Landing Page Design & Development Workflow"
3
+ category: feature
4
+ priority: high
5
+ sprint: research
6
+ date: 2026-01-02
7
+ tags: [figma, landing-page, design-to-code, tailwind, astro, mcp, ai-workflow]
8
+ related_files: [landing-page/src/components/, landing-page/tailwind.config.mjs]
9
+ time_saved: "8+ hours per landing page"
10
+ ---
11
+
12
+ ## Overview
13
+
14
+ Comprehensive guide for designing landing pages in Figma and converting them to production-ready code using AI tools, MCP (Model Context Protocol), and modern frameworks like Astro + Tailwind CSS.
15
+
16
+ ## Key Learnings from Research
17
+
18
+ ### 1. Figma Landing Page Design Best Practices
19
+
20
+ **Essential Elements:**
21
+ - Clear, compelling headline (first thing visitors see)
22
+ - Persuasive subheadings and body copy
23
+ - Strong call-to-action (CTA) buttons
24
+ - Visual hierarchy to guide attention
25
+ - Clean layouts preventing distractions
26
+ - Responsive design for all devices
27
+
28
+ **Canvas Sizes:**
29
+ - Desktop: 1920 x 1080px or 1440 x 1024px
30
+ - iPhone X: 375 x 812px
31
+ - Android: 360 x 640px
32
+
33
+ **Layout Structure:**
34
+ - Use 12-column grid system for consistency
35
+ - Apply Auto Layout for responsive behavior
36
+ - Organize sections: Header → Hero → Features → CTA → Footer
37
+
38
+ ### 2. Figma File Organization for AI Conversion
39
+
40
+ **Critical for AI Tools:**
41
+ ```
42
+ ✅ Consistent naming conventions (HeaderNavigation, ProductCard, PrimaryButton)
43
+ ✅ Component hierarchy matching React structure
44
+ ✅ Reusable components for buttons, forms, headers
45
+ ✅ Auto Layout configured to mimic CSS flexbox/grid
46
+ ✅ Design tokens for colors, spacing, typography
47
+ ✅ Variants for component states (hover, active, disabled)
48
+ ✅ Accessibility annotations (ARIA labels, tab order)
49
+ ```
50
+
51
+ **File Structure:**
52
+ ```
53
+ Figma File
54
+ ├── Design System Page (components library)
55
+ ├── Desktop (1440px frames)
56
+ ├── Tablet (768px frames)
57
+ └── Mobile (375px frames)
58
+ ```
59
+
60
+ ### 3. Design-to-Code Workflow
61
+
62
+ **8-Step Process:**
63
+
64
+ 1. **Plan** - Define goal (leads, product promo, conversions)
65
+ 2. **Structure** - Create frame hierarchy with clear information flow
66
+ 3. **Components** - Build reusable elements for consistency
67
+ 4. **Optimize** - Refine typography, colors, images, CTAs
68
+ 5. **Integrate Tools** - Connect Figma to code generation tools
69
+ 6. **Domain** - Link to custom domain
70
+ 7. **Test** - Verify responsive design across devices
71
+ 8. **Publish** - Deploy and promote
72
+
73
+ ### 4. Figma to Tailwind CSS Conversion
74
+
75
+ **AI Tools Available:**
76
+ - **Builder.io Visual Copilot** - Supports multiple frameworks, Tailwind/Emotion/Styled Components
77
+ - **Dualite Alpha** - Figma to Tailwind automation
78
+ - **QuestAI** - Material UI focused
79
+ - **DhiWise** - Full app development automation
80
+
81
+ **MCP Integration Benefits:**
82
+ - Dynamic understanding of component relationships
83
+ - Maintains consistency across design system
84
+ - Generates code matching team standards
85
+ - Reduces manual translation effort
86
+
87
+ ### 5. Figma MCP Tools for Landing Pages
88
+
89
+ **Available MCP Figma Tools:**
90
+ ```typescript
91
+ // Get design context and generate code
92
+ mcp_figma_get_design_context({
93
+ fileKey: "extracted-from-url",
94
+ nodeId: "1:2",
95
+ clientLanguages: "typescript,html,css",
96
+ clientFrameworks: "astro,react"
97
+ })
98
+
99
+ // Get screenshot for reference
100
+ mcp_figma_get_screenshot({
101
+ fileKey: "file-key",
102
+ nodeId: "1:2"
103
+ })
104
+
105
+ // Get metadata structure
106
+ mcp_figma_get_metadata({
107
+ fileKey: "file-key",
108
+ nodeId: "1:2"
109
+ })
110
+
111
+ // Get design variables/tokens
112
+ mcp_figma_get_variable_defs({
113
+ fileKey: "file-key",
114
+ nodeId: "1:2"
115
+ })
116
+
117
+ // Map to code components
118
+ mcp_figma_get_code_connect_map({
119
+ fileKey: "file-key",
120
+ nodeId: "1:2"
121
+ })
122
+ ```
123
+
124
+ ### 6. Tailwind vs MUI for Landing Pages
125
+
126
+ **Tailwind CSS (Recommended for Landing Pages):**
127
+ - ✅ Utility-first approach
128
+ - ✅ Highly customizable
129
+ - ✅ Smaller CSS bundles (purges unused styles)
130
+ - ✅ Perfect for unique, custom designs
131
+ - ✅ Better performance for static sites
132
+ - ⚠️ Steeper learning curve initially
133
+
134
+ **Material UI (MUI):**
135
+ - ✅ Pre-built components
136
+ - ✅ Faster initial setup
137
+ - ✅ Easier for React developers
138
+ - ✅ Material Design consistency
139
+ - ⚠️ Larger library size
140
+ - ⚠️ Less flexible for custom designs
141
+
142
+ **For Astro Landing Pages: Use Tailwind CSS**
143
+
144
+ ### 7. Component Patterns for Landing Pages
145
+
146
+ **Common Components:**
147
+ ```
148
+ landing-page/src/components/
149
+ ├── Hero.astro # Main headline + CTA
150
+ ├── Features.astro # Feature grid/list
151
+ ├── UseCases.astro # Use case examples
152
+ ├── Testimonials.astro # Social proof
153
+ ├── FAQ.astro # Common questions
154
+ ├── QuickStart.astro # Getting started
155
+ ├── TrustBadges.astro # Credibility indicators
156
+ ├── GitHubStats.astro # Open source metrics
157
+ ├── Footer.astro # Links + legal
158
+ └── StickyHeaderCTA.astro # Persistent CTA
159
+ ```
160
+
161
+ ### 8. Figma to Astro + Tailwind Workflow
162
+
163
+ **Step-by-Step:**
164
+
165
+ 1. **Design in Figma**
166
+ - Use 1440px desktop frame
167
+ - Apply 12-column grid
168
+ - Create component variants
169
+ - Add responsive constraints
170
+
171
+ 2. **Extract Design Tokens**
172
+ ```javascript
173
+ // tailwind.config.mjs
174
+ export default {
175
+ theme: {
176
+ extend: {
177
+ colors: {
178
+ primary: '#...', // From Figma variables
179
+ secondary: '#...',
180
+ },
181
+ spacing: {
182
+ // From Figma spacing tokens
183
+ }
184
+ }
185
+ }
186
+ }
187
+ ```
188
+
189
+ 3. **Generate Component Code**
190
+ - Use MCP Figma tools or Visual Copilot
191
+ - Convert to Astro components
192
+ - Apply Tailwind classes
193
+
194
+ 4. **Optimize for Production**
195
+ - Lazy load images
196
+ - Optimize fonts
197
+ - Minify CSS/JS
198
+ - Add SEO meta tags
199
+
200
+ ### 9. Accessibility Requirements
201
+
202
+ **Must-Have Features:**
203
+ - Color contrast ratios (WCAG 2.1 AA)
204
+ - Keyboard navigation
205
+ - ARIA labels for interactive elements
206
+ - Focus states clearly visible
207
+ - Alt text for images
208
+ - Semantic HTML structure
209
+ - Screen reader compatibility
210
+
211
+ ### 10. Performance Optimization
212
+
213
+ **Landing Page Specific:**
214
+ - Above-the-fold content loads first
215
+ - Lazy load images below fold
216
+ - Inline critical CSS
217
+ - Preload hero images
218
+ - Use WebP/AVIF formats
219
+ - Minimize JavaScript
220
+ - CDN for static assets
221
+
222
+ ## Implementation for Current Project
223
+
224
+ **For `landing-page/` directory:**
225
+
226
+ 1. **Create Figma Design System**
227
+ - Extract existing component styles
228
+ - Document in Figma with proper naming
229
+ - Create variants for all states
230
+
231
+ 2. **Setup MCP Figma Integration**
232
+ - Add Figma file URL to project docs
233
+ - Configure Code Connect mappings
234
+ - Link components to source files
235
+
236
+ 3. **Automate Design Updates**
237
+ - Use MCP tools to sync design changes
238
+ - Generate updated Tailwind classes
239
+ - Maintain component consistency
240
+
241
+ 4. **Testing Workflow**
242
+ - Preview in Figma (desktop/tablet/mobile)
243
+ - Test in Astro dev server
244
+ - Verify responsive breakpoints
245
+ - Check accessibility with tools
246
+
247
+ ## Tools & Resources
248
+
249
+ **Design Tools:**
250
+ - [Figma](https://figma.com) - Design platform
251
+ - [Landify](https://www.bypeople.com/figma-landing-page-template/) - 500+ components, 170+ blocks
252
+ - [Figcomponents](https://www.figcomponents.com) - Free component library
253
+ - [Untitled UI](https://www.untitledui.com) - Landing page examples
254
+
255
+ **Conversion Tools:**
256
+ - [Builder.io Visual Copilot](https://www.builder.io) - Figma to code
257
+ - [Dualite Alpha](https://dualite.dev) - Figma to Tailwind
258
+ - [Detachless](https://detachless.com) - Publish from Figma
259
+
260
+ **Documentation:**
261
+ - [Tailwind CSS Docs](https://tailwindcss.com/docs)
262
+ - [Astro Docs](https://docs.astro.build)
263
+ - [Figma Best Practices](https://www.geeksforgeeks.org/websites-apps/figma-best-practices/)
264
+
265
+ ## ROI & Time Savings
266
+
267
+ **Manual Process:**
268
+ - Design: 4-6 hours
269
+ - Code conversion: 8-12 hours
270
+ - Responsive testing: 2-4 hours
271
+ - **Total: 14-22 hours**
272
+
273
+ **AI-Assisted Process:**
274
+ - Design: 4-6 hours
275
+ - AI conversion: 1-2 hours
276
+ - Refinement: 2-3 hours
277
+ - Testing: 1-2 hours
278
+ - **Total: 8-13 hours**
279
+
280
+ **Time Saved: 6-9 hours per landing page (40-50% reduction)**
281
+
282
+ ## Best Practices Summary
283
+
284
+ 1. ✅ **Design System First** - Create reusable components
285
+ 2. ✅ **Consistent Naming** - Match Figma to code conventions
286
+ 3. ✅ **Mobile-First** - Design for smallest screen first
287
+ 4. ✅ **Accessibility Built-In** - Not an afterthought
288
+ 5. ✅ **Performance Focused** - Optimize from the start
289
+ 6. ✅ **Test Early** - Verify responsive behavior in Figma
290
+ 7. ✅ **Document Everything** - Comments, annotations, guides
291
+ 8. ✅ **Version Control** - Track design iterations
292
+ 9. ✅ **Collaborate** - Designers + developers aligned
293
+ 10. ✅ **Iterate** - Continuous improvement based on metrics
294
+
295
+ ## Next Steps for Implementation
296
+
297
+ 1. Create Figma file for landing page redesign
298
+ 2. Setup MCP Figma integration in `.kiro/settings/mcp.json`
299
+ 3. Document component mapping
300
+ 4. Test conversion workflow with one component
301
+ 5. Scale to full landing page
302
+ 6. Automate with CI/CD pipeline
303
+
304
+ ## Related Patterns
305
+
306
+ - [Design System Documentation](./design-system-setup.md)
307
+ - [Component Library Architecture](../architecture/component-library.md)
308
+ - [Performance Optimization](../performance/landing-page-optimization.md)
309
+ - [Accessibility Guidelines](../architecture/accessibility-standards.md)
310
+
311
+ #figma #landing-page #design-to-code #tailwind #astro #mcp #ai-workflow