fraim-framework 2.0.56 → 2.0.58

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 (224) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/bin/fraim-mcp.js +14 -0
  3. package/bin/fraim.js +23 -0
  4. package/dist/src/cli/commands/init-project.js +10 -4
  5. package/dist/src/cli/commands/mcp.js +65 -0
  6. package/dist/src/cli/setup/mcp-config-generator.js +19 -16
  7. package/dist/src/fraim/issue-tracking/ado-provider.js +304 -0
  8. package/dist/src/fraim/issue-tracking/factory.js +63 -0
  9. package/dist/src/fraim/issue-tracking/github-provider.js +200 -0
  10. package/dist/src/fraim/issue-tracking/types.js +7 -0
  11. package/dist/src/fraim/issue-tracking-config.js +83 -0
  12. package/dist/src/local-mcp-server/stdio-server.js +207 -0
  13. package/dist/src/utils/workflow-parser.js +81 -0
  14. package/package.json +17 -12
  15. package/registry/scripts/pdf-styles.css +172 -0
  16. package/registry/scripts/prep-issue.sh +46 -4
  17. package/registry/scripts/profile-server.ts +131 -130
  18. package/registry/stubs/workflows/customer-development/user-survey-dispatch.md +1 -1
  19. package/registry/stubs/workflows/customer-development/users-to-target.md +1 -1
  20. package/registry/stubs/workflows/product-building/design.md +1 -1
  21. package/registry/stubs/workflows/product-building/implement.md +1 -1
  22. package/Claude.md +0 -1
  23. package/dist/registry/ai-manager-rules/customer-development-phases/phase1-customer-profiling.md +0 -101
  24. package/dist/registry/ai-manager-rules/customer-development-phases/phase2-platform-discovery.md +0 -235
  25. package/dist/registry/ai-manager-rules/customer-development-phases/phase3-prospect-qualification.md +0 -243
  26. package/dist/registry/ai-manager-rules/customer-development-phases/phase4-inventory-compilation.md +0 -206
  27. package/dist/registry/ai-manager-rules/design-phases/design-completeness-review.md +0 -73
  28. package/dist/registry/ai-manager-rules/design-phases/design-design.md +0 -145
  29. package/dist/registry/ai-manager-rules/implement-phases/implement-code.md +0 -283
  30. package/dist/registry/ai-manager-rules/implement-phases/implement-completeness-review.md +0 -120
  31. package/dist/registry/ai-manager-rules/implement-phases/implement-regression.md +0 -173
  32. package/dist/registry/ai-manager-rules/implement-phases/implement-repro.md +0 -104
  33. package/dist/registry/ai-manager-rules/implement-phases/implement-scoping.md +0 -100
  34. package/dist/registry/ai-manager-rules/implement-phases/implement-smoke.md +0 -237
  35. package/dist/registry/ai-manager-rules/implement-phases/implement-spike.md +0 -121
  36. package/dist/registry/ai-manager-rules/implement-phases/implement-validate.md +0 -375
  37. package/dist/registry/ai-manager-rules/retrospective.md +0 -116
  38. package/dist/registry/ai-manager-rules/shared-phases/address-pr-feedback.md +0 -188
  39. package/dist/registry/ai-manager-rules/shared-phases/submit-pr.md +0 -202
  40. package/dist/registry/ai-manager-rules/shared-phases/wait-for-pr-review.md +0 -170
  41. package/dist/registry/ai-manager-rules/spec-phases/spec-competitor-analysis.md +0 -105
  42. package/dist/registry/ai-manager-rules/spec-phases/spec-completeness-review.md +0 -66
  43. package/dist/registry/ai-manager-rules/spec-phases/spec-spec.md +0 -139
  44. package/dist/registry/ai-manager-rules/user-survey-phases/phase1-survey-scoping.md +0 -60
  45. package/dist/registry/ai-manager-rules/user-survey-phases/phase2-survey-build-linkedin.md +0 -23
  46. package/dist/registry/ai-manager-rules/user-survey-phases/phase3-survey-build-reddit.md +0 -22
  47. package/dist/registry/ai-manager-rules/user-survey-phases/phase4-survey-build-x.md +0 -21
  48. package/dist/registry/ai-manager-rules/user-survey-phases/phase5-survey-build-facebook.md +0 -19
  49. package/dist/registry/ai-manager-rules/user-survey-phases/phase6-survey-build-custom.md +0 -15
  50. package/dist/registry/ai-manager-rules/user-survey-phases/phase7-survey-dispatch.md +0 -45
  51. package/dist/registry/providers/ado.json +0 -19
  52. package/dist/registry/providers/github.json +0 -19
  53. package/dist/registry/scripts/cleanup-branch.js +0 -287
  54. package/dist/registry/scripts/evaluate-code-quality.js +0 -66
  55. package/dist/registry/scripts/exec-with-timeout.js +0 -142
  56. package/dist/registry/scripts/generate-engagement-emails.js +0 -705
  57. package/dist/registry/scripts/newsletter-helpers.js +0 -671
  58. package/dist/registry/scripts/profile-server.js +0 -388
  59. package/dist/registry/scripts/run-thank-you-workflow.js +0 -92
  60. package/dist/registry/scripts/send-newsletter-simple.js +0 -85
  61. package/dist/registry/scripts/send-thank-you-emails.js +0 -54
  62. package/dist/registry/scripts/validate-openapi-limits.js +0 -311
  63. package/dist/registry/scripts/validate-test-coverage.js +0 -262
  64. package/dist/registry/scripts/verify-test-coverage.js +0 -66
  65. package/dist/registry/templates/bootstrap/ARCHITECTURE-TEMPLATE.md +0 -53
  66. package/dist/registry/templates/bootstrap/CODE-QUALITY-REPORT-TEMPLATE.md +0 -37
  67. package/dist/registry/templates/bootstrap/TEST-COVERAGE-REPORT-TEMPLATE.md +0 -35
  68. package/dist/registry/templates/business-development/IDEATION-REPORT-TEMPLATE.md +0 -29
  69. package/dist/registry/templates/business-development/PRICING-STRATEGY-TEMPLATE.md +0 -126
  70. package/dist/registry/templates/customer-development/customer-interview-template.md +0 -99
  71. package/dist/registry/templates/customer-development/customer-persona-template.md +0 -69
  72. package/dist/registry/templates/customer-development/follow-up-email-templates.md +0 -132
  73. package/dist/registry/templates/customer-development/insight-analysis-template.md +0 -74
  74. package/dist/registry/templates/customer-development/prospect-inventory-template.csv +0 -3
  75. package/dist/registry/templates/customer-development/search-strategy-template.md +0 -123
  76. package/dist/registry/templates/customer-development/strategic-recommendations-template.md +0 -53
  77. package/dist/registry/templates/customer-development/thank-you-email-template.html +0 -124
  78. package/dist/registry/templates/customer-development/thank-you-note-template.md +0 -16
  79. package/dist/registry/templates/customer-development/triage-log-template.md +0 -278
  80. package/dist/registry/templates/customer-development/weekly-newsletter-template.html +0 -204
  81. package/dist/registry/templates/evidence/Design-Evidence.md +0 -30
  82. package/dist/registry/templates/evidence/Implementation-BugEvidence.md +0 -94
  83. package/dist/registry/templates/evidence/Implementation-FeatureEvidence.md +0 -129
  84. package/dist/registry/templates/evidence/Spec-Evidence.md +0 -19
  85. package/dist/registry/templates/help/HelpNeeded.md +0 -14
  86. package/dist/registry/templates/legal/NDA-TEMPLATE.md +0 -170
  87. package/dist/registry/templates/legal/PATENT-TEMPLATE.md +0 -372
  88. package/dist/registry/templates/legal/TRADEMARK-TEMPLATE.md +0 -339
  89. package/dist/registry/templates/legal/contract-review-checklist.md +0 -193
  90. package/dist/registry/templates/legal/review-report-template.md +0 -198
  91. package/dist/registry/templates/legal/saas-terms-template.md +0 -174
  92. package/dist/registry/templates/legal/sow-template.md +0 -117
  93. package/dist/registry/templates/legal/template-variables.md +0 -131
  94. package/dist/registry/templates/marketing/DOMAIN-REGISTRATION-TEMPLATE.md +0 -194
  95. package/dist/registry/templates/marketing/HBR-ARTICLE-TEMPLATE.md +0 -66
  96. package/dist/registry/templates/marketing/STORYTELLING-TEMPLATE.md +0 -130
  97. package/dist/registry/templates/marketing/WEBSITE-TEMPLATE.md +0 -262
  98. package/dist/registry/templates/marketing/github-pages-workflow.yml +0 -64
  99. package/dist/registry/templates/replicate/implementation-checklist.md +0 -39
  100. package/dist/registry/templates/replicate/use-cases-template.md +0 -88
  101. package/dist/registry/templates/retrospective/RETROSPECTIVE-TEMPLATE.md +0 -55
  102. package/dist/registry/templates/specs/BUGSPEC-TEMPLATE.md +0 -37
  103. package/dist/registry/templates/specs/FEATURESPEC-TEMPLATE.md +0 -66
  104. package/dist/registry/templates/specs/TECHSPEC-TEMPLATE.md +0 -39
  105. package/dist/registry/workflows/bootstrap/create-architecture.md +0 -38
  106. package/dist/registry/workflows/bootstrap/detect-broken-windows.md +0 -300
  107. package/dist/registry/workflows/bootstrap/evaluate-code-quality.md +0 -35
  108. package/dist/registry/workflows/bootstrap/verify-test-coverage.md +0 -36
  109. package/dist/registry/workflows/brainstorming/blue-sky-brainstorming.md +0 -211
  110. package/dist/registry/workflows/brainstorming/codebase-brainstorming.md +0 -165
  111. package/dist/registry/workflows/business-development/create-business-plan.md +0 -737
  112. package/dist/registry/workflows/business-development/ideate-business-opportunity.md +0 -55
  113. package/dist/registry/workflows/business-development/price-product.md +0 -325
  114. package/dist/registry/workflows/compliance/detect-compliance-requirements.md +0 -78
  115. package/dist/registry/workflows/compliance/generate-audit-evidence.md +0 -75
  116. package/dist/registry/workflows/compliance/soc2-evidence-generator.md +0 -332
  117. package/dist/registry/workflows/customer-development/insight-analysis.md +0 -156
  118. package/dist/registry/workflows/customer-development/insight-triage.md +0 -938
  119. package/dist/registry/workflows/customer-development/interview-preparation.md +0 -452
  120. package/dist/registry/workflows/customer-development/linkedin-outreach.md +0 -593
  121. package/dist/registry/workflows/customer-development/strategic-brainstorming.md +0 -146
  122. package/dist/registry/workflows/customer-development/thank-customers.md +0 -203
  123. package/dist/registry/workflows/customer-development/user-survey-dispatch.md +0 -60
  124. package/dist/registry/workflows/customer-development/users-to-target.md +0 -112
  125. package/dist/registry/workflows/customer-development/weekly-newsletter.md +0 -366
  126. package/dist/registry/workflows/deploy/cloud-deployment.md +0 -310
  127. package/dist/registry/workflows/improve-fraim/contribute.md +0 -32
  128. package/dist/registry/workflows/improve-fraim/file-issue.md +0 -32
  129. package/dist/registry/workflows/learning/build-skillset.md +0 -212
  130. package/dist/registry/workflows/learning/synthesize-learnings.md +0 -284
  131. package/dist/registry/workflows/legal/contract-review-analysis.md +0 -382
  132. package/dist/registry/workflows/legal/nda.md +0 -69
  133. package/dist/registry/workflows/legal/patent-filing.md +0 -76
  134. package/dist/registry/workflows/legal/saas-contract-development.md +0 -213
  135. package/dist/registry/workflows/legal/trademark-filing.md +0 -77
  136. package/dist/registry/workflows/marketing/content-creation.md +0 -37
  137. package/dist/registry/workflows/marketing/convert-to-pdf.md +0 -235
  138. package/dist/registry/workflows/marketing/create-modern-website.md +0 -456
  139. package/dist/registry/workflows/marketing/domain-registration.md +0 -323
  140. package/dist/registry/workflows/marketing/hbr-article.md +0 -73
  141. package/dist/registry/workflows/marketing/launch-checklist.md +0 -37
  142. package/dist/registry/workflows/marketing/marketing-strategy.md +0 -45
  143. package/dist/registry/workflows/marketing/storytelling.md +0 -65
  144. package/dist/registry/workflows/performance/analyze-performance.md +0 -65
  145. package/dist/registry/workflows/product-building/design.md +0 -103
  146. package/dist/registry/workflows/product-building/implement.md +0 -74
  147. package/dist/registry/workflows/product-building/iterate-on-pr-comments.md +0 -70
  148. package/dist/registry/workflows/product-building/prep-issue.md +0 -41
  149. package/dist/registry/workflows/product-building/prototype.md +0 -65
  150. package/dist/registry/workflows/product-building/resolve.md +0 -168
  151. package/dist/registry/workflows/product-building/retrospect.md +0 -86
  152. package/dist/registry/workflows/product-building/spec.md +0 -181
  153. package/dist/registry/workflows/product-building/test.md +0 -125
  154. package/dist/registry/workflows/productivity-report/productivity-report.md +0 -263
  155. package/dist/registry/workflows/quality-assurance/browser-validation.md +0 -221
  156. package/dist/registry/workflows/quality-assurance/iterative-improvement-cycle.md +0 -562
  157. package/dist/registry/workflows/replicate/replicate-discovery.md +0 -336
  158. package/dist/registry/workflows/replicate/replicate-to-issues.md +0 -324
  159. package/dist/registry/workflows/reviewer/review-implementation-vs-design-spec.md +0 -638
  160. package/dist/registry/workflows/reviewer/review-implementation-vs-feature-spec.md +0 -675
  161. package/dist/registry/workflows/startup-credits/aws-activate-application.md +0 -535
  162. package/dist/registry/workflows/startup-credits/google-cloud-application.md +0 -647
  163. package/dist/registry/workflows/startup-credits/microsoft-azure-application.md +0 -538
  164. package/dist/scripts/build-stub-registry.js +0 -108
  165. package/dist/src/ai-manager/ai-manager.js +0 -480
  166. package/dist/src/ai-manager/phase-flow.js +0 -357
  167. package/dist/src/ai-manager/types.js +0 -5
  168. package/dist/src/fraim-mcp-server.js +0 -1885
  169. package/dist/tests/debug-tools.js +0 -80
  170. package/dist/tests/shared-server-utils.js +0 -57
  171. package/dist/tests/test-add-ide.js +0 -283
  172. package/dist/tests/test-ai-coach-edge-cases.js +0 -420
  173. package/dist/tests/test-ai-coach-mcp-integration.js +0 -450
  174. package/dist/tests/test-ai-coach-performance.js +0 -328
  175. package/dist/tests/test-ai-coach-phase-content.js +0 -264
  176. package/dist/tests/test-ai-coach-workflows.js +0 -514
  177. package/dist/tests/test-cli.js +0 -228
  178. package/dist/tests/test-client-scripts-validation.js +0 -167
  179. package/dist/tests/test-complete-setup-flow.js +0 -110
  180. package/dist/tests/test-config-system.js +0 -279
  181. package/dist/tests/test-debug-session.js +0 -134
  182. package/dist/tests/test-end-to-end-hybrid-validation.js +0 -328
  183. package/dist/tests/test-enhanced-session-init.js +0 -188
  184. package/dist/tests/test-first-run-journey.js +0 -368
  185. package/dist/tests/test-fraim-issues.js +0 -59
  186. package/dist/tests/test-genericization.js +0 -44
  187. package/dist/tests/test-hybrid-script-execution.js +0 -340
  188. package/dist/tests/test-ide-detector.js +0 -46
  189. package/dist/tests/test-improved-setup.js +0 -121
  190. package/dist/tests/test-mcp-config-generator.js +0 -99
  191. package/dist/tests/test-mcp-connection.js +0 -107
  192. package/dist/tests/test-mcp-issue-integration.js +0 -156
  193. package/dist/tests/test-mcp-lifecycle-methods.js +0 -240
  194. package/dist/tests/test-mcp-shared-server.js +0 -308
  195. package/dist/tests/test-mcp-template-processing.js +0 -160
  196. package/dist/tests/test-modular-issue-tracking.js +0 -165
  197. package/dist/tests/test-node-compatibility.js +0 -95
  198. package/dist/tests/test-npm-install.js +0 -68
  199. package/dist/tests/test-package-size.js +0 -108
  200. package/dist/tests/test-pr-review-workflow.js +0 -307
  201. package/dist/tests/test-prep-issue.js +0 -129
  202. package/dist/tests/test-productivity-integration.js +0 -157
  203. package/dist/tests/test-script-location-independence.js +0 -198
  204. package/dist/tests/test-script-sync.js +0 -557
  205. package/dist/tests/test-server-utils.js +0 -32
  206. package/dist/tests/test-session-rehydration.js +0 -148
  207. package/dist/tests/test-setup-integration.js +0 -98
  208. package/dist/tests/test-setup-scenarios.js +0 -322
  209. package/dist/tests/test-standalone.js +0 -143
  210. package/dist/tests/test-stub-registry.js +0 -136
  211. package/dist/tests/test-sync-stubs.js +0 -143
  212. package/dist/tests/test-sync-version-update.js +0 -93
  213. package/dist/tests/test-telemetry.js +0 -193
  214. package/dist/tests/test-token-validator.js +0 -30
  215. package/dist/tests/test-user-journey.js +0 -236
  216. package/dist/tests/test-users-to-target-workflow.js +0 -253
  217. package/dist/tests/test-utils.js +0 -109
  218. package/dist/tests/test-wizard.js +0 -71
  219. package/dist/tests/test-workflow-discovery.js +0 -242
  220. package/labels.json +0 -52
  221. package/registry/agent-guardrails.md +0 -63
  222. package/registry/fraim.md +0 -48
  223. package/setup.js +0 -171
  224. package/tsconfig.json +0 -23
@@ -1,456 +0,0 @@
1
- # Workflow: create-modern-website
2
-
3
- **Path:** `workflows/marketing/create-modern-website.md`
4
-
5
- ---
6
-
7
- # Modern Website Creation Workflow
8
-
9
- ## INTENT
10
- To create modern, appealing, and valuable websites that showcase key value propositions and use cases for any product, leveraging competitive analysis and user preferences to deliver professional, conversion-focused web experiences.
11
-
12
- ## PRINCIPLES
13
- - **User-Centric Design**: Start with user preferences and competitor analysis
14
- - **Value-First Approach**: Lead with clear value propositions and use cases
15
- - **Modern Aesthetics**: Use contemporary design patterns, animations, and interactions
16
- - **Performance Optimized**: Fast loading, responsive, and accessible
17
- - **Conversion Focused**: Clear CTAs and user journey optimization
18
- - **Deployment Ready**: Complete with hosting options and deployment automation
19
-
20
- ## Prerequisites
21
- Before using this workflow, ensure you have:
22
- - Node.js installed (for running the website structure script)
23
- - Basic understanding of HTML/CSS/JavaScript (for customization)
24
- - Access to hosting platform accounts (GitHub, Netlify, etc.)
25
-
26
- ## Script Location
27
- The website structure creation script is synced to: `~/.fraim/scripts/create-website-structure.js`
28
-
29
- ## WEBSITE CREATION WORKFLOW
30
-
31
- ### Phase 1: Discovery & Research
32
-
33
- #### Step 1: User Preference Brainstorming
34
- Conduct collaborative session to understand user vision:
35
-
36
- **Questions to Explore:**
37
- - What websites do you admire and why? (Collect 3-5 examples)
38
- - What's your target audience? (Developers, business users, enterprises, etc.)
39
- - What's the primary goal? (Lead generation, product showcase, documentation, etc.)
40
- - What tone/personality should the site have? (Professional, playful, technical, etc.)
41
- - Any specific features you want? (Dark mode, animations, interactive demos, etc.)
42
- - Brand colors, fonts, or existing brand guidelines?
43
- - Content priorities: What should visitors see first?
44
-
45
- **Deliverable:** User preference document with examples and requirements
46
-
47
- #### Step 2: Competitive Analysis
48
- Research and analyze competitor websites:
49
-
50
- **Analysis Framework:**
51
- - **Visual Design**: Layout, color schemes, typography, imagery
52
- - **Content Strategy**: Messaging hierarchy, value props, use cases
53
- - **User Experience**: Navigation, CTAs, conversion funnels
54
- - **Technical Features**: Performance, mobile experience, interactions
55
- - **Strengths/Weaknesses**: What works well, what could be improved
56
-
57
- **Research Sources:**
58
- - Direct competitors in the same space
59
- - Aspirational brands in adjacent markets
60
- - Award-winning sites (Awwwards, CSS Design Awards)
61
- - Industry-specific showcases
62
-
63
- **Deliverable:** Competitive analysis report with screenshots and insights
64
-
65
- #### Step 3: Content Strategy Development
66
- Define the website's content architecture:
67
-
68
- **Content Audit:**
69
- - Existing marketing materials, documentation, case studies
70
- - Product features, benefits, and differentiators
71
- - Customer testimonials, reviews, and success stories
72
- - Technical specifications and integration details
73
-
74
- **Content Hierarchy:**
75
- - Hero section: Primary value proposition
76
- - Problem/solution fit demonstration
77
- - Feature showcase with benefits
78
- - Use cases and customer stories
79
- - Social proof and testimonials
80
- - Clear call-to-action strategy
81
-
82
- **Deliverable:** Content strategy document and site map
83
-
84
- ### Phase 2: Design & Development
85
-
86
- #### Step 4: Design System Creation
87
- Establish visual foundation:
88
-
89
- **Design Elements:**
90
- - Color palette (primary, secondary, accent colors)
91
- - Typography system (headings, body text, code fonts)
92
- - Spacing and layout grid system
93
- - Component library (buttons, cards, forms)
94
- - Icon set and imagery style
95
- - Animation and interaction patterns
96
-
97
- **Accessibility Considerations:**
98
- - Color contrast ratios (WCAG AA compliance)
99
- - Font size and readability
100
- - Keyboard navigation support
101
- - Screen reader compatibility
102
- - Focus states and indicators
103
-
104
- **Deliverable:** Design system documentation and CSS variables
105
-
106
- #### Step 5: Website Structure Creation
107
- Create the initial website foundation using the FRAIM script:
108
-
109
- **Verify Script Availability:**
110
- ```bash
111
- # Check if script exists
112
- ls -la ~/.fraim/scripts/create-website-structure.js
113
-
114
- # Test script functionality
115
- node ~/.fraim/scripts/create-website-structure.js --help
116
- ```
117
-
118
- **Create Website Structure:**
119
- ```bash
120
- # Navigate to your projects directory
121
- cd ~/projects
122
-
123
- # Create website structure (replace with actual project name)
124
- node ~/.fraim/scripts/create-website-structure.js {PROJECT_NAME}
125
-
126
- # Navigate to the created project
127
- cd {PROJECT_NAME}
128
-
129
- # Verify structure was created correctly
130
- ls -la
131
- ```
132
-
133
- **Generated Structure:**
134
- ```
135
- {PROJECT_NAME}/
136
- ├── index.html # Main landing page with hero section
137
- ├── css/
138
- │ └── styles.css # CSS with dark/light mode variables
139
- ├── js/
140
- │ └── script.js # Theme toggle and interactions
141
- ├── assets/
142
- │ ├── images/ # Image assets directory
143
- │ └── icons/ # Icon assets directory
144
- ├── docs/
145
- │ └── README.md # Project documentation
146
- ├── .gitignore # Git ignore file
147
- └── README.md # Main project README
148
- ```
149
-
150
- #### Step 6: Content Integration and Customization
151
- Populate the website with optimized content based on the generated structure:
152
-
153
- **Customize the Generated Foundation:**
154
- ```bash
155
- # Edit the main page content
156
- # Update index.html with your specific content
157
- # Modify css/styles.css for your brand colors
158
- # Enhance js/script.js with additional functionality
159
- ```
160
-
161
- **Content Optimization:**
162
- - Replace placeholder content with your product information
163
- - Update CSS variables with your brand colors
164
- - Add your images to the assets/images/ directory
165
- - Customize navigation links and structure
166
- - Integrate your specific call-to-action buttons
167
-
168
- **Brand Customization:**
169
- Edit CSS variables in `css/styles.css`:
170
- ```css
171
- :root {
172
- --bg-primary: #ffffff;
173
- --bg-secondary: #f8fafc;
174
- --text-primary: #1a1a1a;
175
- --text-secondary: #666666;
176
- --accent-color: #your-brand-color; /* Update this */
177
- --border-color: #e5e5e5;
178
- }
179
- ```
180
-
181
- **Additional Pages:**
182
- Create additional pages as needed:
183
- - `demo.html` - Interactive demo/features page
184
- - `pricing.html` - Pricing and plans (if applicable)
185
- - `about.html` - About/company page
186
- - `contact.html` - Contact and support
187
- - `404.html` - Custom error page
188
-
189
- **Modern Design Patterns to Implement:**
190
- - Hero section with compelling headline and CTA
191
- - Feature cards with icons and benefits
192
- - Before/after problem/solution sections
193
- - Interactive demos or screenshots
194
- - Customer testimonial carousels
195
- - FAQ accordion sections
196
- - Newsletter signup forms
197
- - Social proof indicators
198
-
199
- **Visual Content:**
200
- - High-quality product screenshots
201
- - Explanatory diagrams and infographics
202
- - Customer success story visuals
203
- - Team photos (if applicable)
204
- - Brand-consistent imagery
205
-
206
- **Deliverable:** Fully functional website with all content integrated
207
-
208
- ### Phase 3: Optimization & Testing
209
-
210
- #### Step 7: Performance & Quality Assurance
211
- Ensure website meets modern standards:
212
-
213
- **Performance Testing:**
214
- - Page load speed optimization (target: <3 seconds)
215
- - Image optimization and lazy loading
216
- - CSS and JavaScript minification
217
- - Mobile performance testing
218
- - Core Web Vitals compliance
219
-
220
- **Cross-Browser Testing:**
221
- - Chrome, Firefox, Safari, Edge compatibility
222
- - Mobile device testing (iOS, Android)
223
- - Responsive design validation
224
- - Accessibility testing with screen readers
225
-
226
- **SEO Optimization:**
227
- - Meta tags and descriptions
228
- - Structured data markup
229
- - XML sitemap generation
230
- - Internal linking strategy
231
- - Image alt text optimization
232
-
233
- **Deliverable:** Performance report and optimization recommendations
234
-
235
- #### Step 8: User Experience Validation
236
- Test and refine the user experience:
237
-
238
- **Usability Testing:**
239
- - Navigation flow testing
240
- - Call-to-action effectiveness
241
- - Form completion rates
242
- - Mobile user experience
243
- - Loading state and error handling
244
-
245
- **Conversion Optimization:**
246
- - A/B test different headlines
247
- - CTA button placement and copy
248
- - Form field optimization
249
- - Trust signal placement
250
- - Social proof positioning
251
-
252
- **Deliverable:** UX testing report with improvement recommendations
253
-
254
- ### Phase 4: Deployment & Launch
255
-
256
- #### Step 9: Hosting Options Analysis
257
- Present deployment options based on requirements:
258
-
259
- **Static Site Hosting (Recommended for most cases):**
260
- - **GitHub Pages**: Free, automatic deployment, custom domains
261
- - **Netlify**: Free tier, form handling, serverless functions
262
- - **Vercel**: Excellent performance, preview deployments
263
- - **Cloudflare Pages**: Global CDN, fast performance
264
-
265
- **Traditional Hosting:**
266
- - **Shared Hosting**: cPanel-based hosts (Bluehost, SiteGround)
267
- - **VPS/Cloud**: DigitalOcean, AWS, Google Cloud
268
- - **Managed WordPress**: If CMS functionality needed
269
-
270
- **Enterprise Options:**
271
- - **AWS S3 + CloudFront**: Scalable, enterprise-grade
272
- - **Azure Static Web Apps**: Microsoft ecosystem integration
273
- - **Google Cloud Storage**: Google ecosystem integration
274
-
275
- **Hosting Recommendation Matrix:**
276
- ```
277
- Budget-Conscious → GitHub Pages (Free)
278
- Performance-Critical → Vercel/Netlify (Free tier available)
279
- Enterprise/Scale → AWS S3 + CloudFront
280
- CMS Required → Managed WordPress hosting
281
- Custom Backend → VPS/Cloud hosting
282
- ```
283
-
284
- #### Step 10: Deployment Automation
285
- Set up automated deployment pipeline:
286
-
287
- **GitHub Actions Workflow:**
288
- - Automatic deployment on push to main branch
289
- - Build optimization (minification, compression)
290
- - Performance testing integration
291
- - Broken link checking
292
- - SEO validation
293
-
294
- **Domain Configuration:**
295
- - Custom domain setup (if provided)
296
- - SSL certificate configuration
297
- - DNS optimization (CDN setup)
298
- - Redirect management (www vs non-www)
299
-
300
- **Monitoring Setup:**
301
- - Google Analytics integration
302
- - Performance monitoring (Core Web Vitals)
303
- - Uptime monitoring
304
- - Error tracking setup
305
-
306
- **Deliverable:** Live website with automated deployment pipeline
307
-
308
- ### Phase 5: Launch & Optimization
309
-
310
- #### Step 11: Launch Preparation
311
- Prepare for website launch:
312
-
313
- **Pre-Launch Checklist:**
314
- - [ ] All content reviewed and approved
315
- - [ ] Contact forms tested and working
316
- - [ ] Analytics tracking verified
317
- - [ ] Social media integration tested
318
- - [ ] Mobile experience validated
319
- - [ ] Performance benchmarks met
320
- - [ ] SEO elements in place
321
- - [ ] Backup and recovery plan established
322
-
323
- **Launch Strategy:**
324
- - Soft launch for testing and feedback
325
- - Stakeholder review and approval
326
- - Public launch announcement
327
- - Social media promotion plan
328
- - Email marketing integration
329
-
330
- #### Step 12: Post-Launch Optimization
331
- Continuous improvement based on real user data:
332
-
333
- **Analytics Review:**
334
- - User behavior analysis
335
- - Conversion rate tracking
336
- - Performance monitoring
337
- - Mobile vs desktop usage patterns
338
- - Traffic source analysis
339
-
340
- **Iterative Improvements:**
341
- - A/B testing implementation
342
- - Content optimization based on user feedback
343
- - Performance enhancements
344
- - SEO improvements based on search data
345
- - Feature additions based on user requests
346
-
347
- **Deliverable:** Launch report and optimization roadmap
348
-
349
- ## AGENT INSTRUCTIONS
350
-
351
- When executing this workflow, agents should:
352
-
353
- ### Phase 1: Discovery & Research
354
- 1. **Conduct user brainstorming session** using the questions in Step 1
355
- 2. **Research competitor websites** and document findings
356
- 3. **Create content strategy** based on user input
357
-
358
- ### Phase 2: Design & Development
359
- 1. **ALWAYS start with the script**: Use `node ~/.fraim/scripts/create-website-structure.js {PROJECT_NAME}` to create the foundation
360
- 2. **Verify script output**: Check that all files were created correctly
361
- 3. **Customize based on user preferences**: Update colors, content, and structure
362
- 4. **Add additional pages** as needed for the specific project
363
-
364
- ### Phase 3: Testing & Optimization
365
- 1. **Test the generated website** in multiple browsers
366
- 2. **Validate performance** using tools like Lighthouse
367
- 3. **Check accessibility** compliance
368
-
369
- ### Phase 4: Deployment
370
- 1. **Analyze hosting options** based on user needs and budget
371
- 2. **Set up deployment pipeline** using provided templates
372
- 3. **Configure domain and SSL** if needed
373
-
374
- ## TEMPLATE USAGE
375
-
376
- Use `get_fraim_file({ path: "templates/marketing/WEBSITE-TEMPLATE.md" })` to create:
377
- - `docs/marketing/websites/{project-name}-website-brief.md`
378
-
379
- ## TOOLS & RESOURCES
380
-
381
- **FRAIM Scripts:**
382
- - `~/.fraim/scripts/create-website-structure.js` - Creates initial website structure with modern foundation
383
-
384
- **Script Usage:**
385
- ```bash
386
- # Basic usage
387
- node ~/.fraim/scripts/create-website-structure.js project-name
388
-
389
- # With custom output directory
390
- node ~/.fraim/scripts/create-website-structure.js project-name /path/to/output
391
-
392
- # Example
393
- node ~/.fraim/scripts/create-website-structure.js awesome-saas-product
394
- ```
395
-
396
- **Design Inspiration:**
397
- - Awwwards.com - Award-winning web design
398
- - Dribbble.com - Design inspiration
399
- - Behance.net - Creative portfolios
400
- - SiteInspire.com - Web design showcase
401
-
402
- **Development Tools:**
403
- - VS Code with Live Server extension
404
- - Chrome DevTools for debugging
405
- - Lighthouse for performance testing
406
- - WAVE for accessibility testing
407
-
408
- **Asset Resources:**
409
- - Unsplash.com - High-quality stock photos
410
- - Heroicons.com - Beautiful SVG icons
411
- - Google Fonts - Web typography
412
- - TinyPNG.com - Image compression
413
-
414
- **Performance Testing:**
415
- - PageSpeed Insights - Google's performance tool
416
- - GTmetrix - Detailed performance analysis
417
- - WebPageTest - Advanced performance testing
418
- - Pingdom - Website speed testing
419
-
420
- ## SUCCESS METRICS
421
-
422
- **Technical Metrics:**
423
- - Page load speed < 3 seconds
424
- - Mobile-friendly score > 95%
425
- - Accessibility score > 90%
426
- - SEO score > 85%
427
-
428
- **Business Metrics:**
429
- - Conversion rate improvement
430
- - Time on site increase
431
- - Bounce rate reduction
432
- - Lead generation increase
433
-
434
- **User Experience Metrics:**
435
- - User satisfaction scores
436
- - Task completion rates
437
- - Navigation success rates
438
- - Mobile usability scores
439
-
440
- ## OUTPUT
441
- - Modern, responsive website with dark/light mode
442
- - Competitive analysis and user research insights
443
- - Performance-optimized codebase
444
- - Automated deployment pipeline
445
- - Comprehensive hosting recommendations
446
- - Launch strategy and optimization roadmap
447
- - Complete documentation and handoff materials
448
-
449
- ## INTEGRATION WITH OTHER WORKFLOWS
450
-
451
- This workflow can be combined with:
452
- - Content creation workflows for ongoing updates
453
- - SEO optimization workflows for search visibility
454
- - Analytics and conversion optimization workflows
455
- - Brand development workflows for visual consistency
456
- - Customer development workflows for user feedback integration