bobo-ai-cli 3.0.4 → 3.0.5

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 (238) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +259 -259
  3. package/bundled-skills/CORE_SKILLS.txt +18 -18
  4. package/bundled-skills/backend-expert/SKILL.md +97 -97
  5. package/bundled-skills/code-review/SKILL.md +280 -280
  6. package/bundled-skills/code-review-expert/SKILL.md +85 -85
  7. package/bundled-skills/context-budget-analyzer/SKILL.md +76 -76
  8. package/bundled-skills/context-compressor/SKILL.md +75 -75
  9. package/bundled-skills/context-optimization-suite/SKILL.md +162 -162
  10. package/bundled-skills/frontend-expert/SKILL.md +93 -93
  11. package/bundled-skills/github/SKILL.md +12 -12
  12. package/bundled-skills/high-agency/SKILL.md +473 -473
  13. package/bundled-skills/high-agency/references/builder-patterns.md +126 -126
  14. package/bundled-skills/high-agency/references/recovery-playbook.md +298 -298
  15. package/bundled-skills/memory-manager/SKILL.md +214 -214
  16. package/bundled-skills/memory-manager/references/advanced-config.md +65 -65
  17. package/bundled-skills/orchestrator/SKILL.md +681 -681
  18. package/bundled-skills/planning-with-files/SKILL.md +193 -193
  19. package/bundled-skills/skill-creator/SKILL.md +220 -220
  20. package/bundled-skills/testing-expert/SKILL.md +99 -99
  21. package/bundled-skills/verify/SKILL.md +15 -15
  22. package/dist/agent.d.ts +5 -0
  23. package/dist/agent.js +11 -1
  24. package/dist/agent.js.map +1 -1
  25. package/dist/agents/catalog.d.ts +47 -0
  26. package/dist/agents/catalog.js +63 -5
  27. package/dist/agents/catalog.js.map +1 -1
  28. package/dist/agents/router.d.ts +12 -1
  29. package/dist/agents/router.js +43 -3
  30. package/dist/agents/router.js.map +1 -1
  31. package/dist/agents/spawn.js +36 -18
  32. package/dist/agents/spawn.js.map +1 -1
  33. package/dist/autonomous.js +5 -5
  34. package/dist/cli.js +23 -21
  35. package/dist/cli.js.map +1 -1
  36. package/dist/compactor.js +39 -39
  37. package/dist/dream.js +29 -29
  38. package/dist/image-input.d.ts +44 -0
  39. package/dist/image-input.js +161 -0
  40. package/dist/image-input.js.map +1 -0
  41. package/dist/memory.js +13 -13
  42. package/dist/project.js +15 -15
  43. package/dist/repl.js +88 -0
  44. package/dist/repl.js.map +1 -1
  45. package/dist/skills.js +54 -54
  46. package/dist/sub-agents.js +65 -65
  47. package/dist/tools/browser.js +21 -21
  48. package/dist/tools/claude-code.js +10 -10
  49. package/dist/web.js +7 -7
  50. package/dist/wiki-commands.d.ts +2 -0
  51. package/dist/wiki-commands.js +249 -0
  52. package/dist/wiki-commands.js.map +1 -0
  53. package/dist/wiki.d.ts +90 -0
  54. package/dist/wiki.js +614 -0
  55. package/dist/wiki.js.map +1 -0
  56. package/knowledge/advanced-patterns.md +70 -70
  57. package/knowledge/agent-directives.md +74 -74
  58. package/knowledge/api-integration-patterns.md +102 -0
  59. package/knowledge/code-review-protocol.md +69 -0
  60. package/knowledge/dream.md +36 -36
  61. package/knowledge/engineering.md +52 -46
  62. package/knowledge/error-catalog.md +38 -33
  63. package/knowledge/event-driven-architecture.md +43 -0
  64. package/knowledge/external-alignment.md +47 -0
  65. package/knowledge/high-agency.md +73 -0
  66. package/knowledge/image-generation.md +48 -0
  67. package/knowledge/index.json +194 -169
  68. package/knowledge/llm-wiki-pattern.md +71 -0
  69. package/knowledge/long-task-management.md +79 -0
  70. package/knowledge/memory/cache-optimization-and-skill-integration.md +102 -102
  71. package/knowledge/memory/engineering-patterns.md +134 -134
  72. package/knowledge/memory/feedback_root_structure.md +15 -15
  73. package/knowledge/memory/project-contexts.md +69 -69
  74. package/knowledge/memory/tools-and-services.md +85 -85
  75. package/knowledge/memory-management.md +72 -0
  76. package/knowledge/rules/advisor-strategy.md +204 -0
  77. package/knowledge/rules/agents.md +62 -62
  78. package/knowledge/rules/blocking-rules.md +323 -323
  79. package/knowledge/rules/cache-management.md +379 -379
  80. package/knowledge/rules/capability-evolution.md +132 -132
  81. package/knowledge/rules/coding.md +126 -126
  82. package/knowledge/rules/engineering-workflows.md +225 -225
  83. package/knowledge/rules/evomap-content-guidelines.md +354 -354
  84. package/knowledge/rules/evomap-guide.md +224 -224
  85. package/knowledge/rules/external-alignment.md +22 -0
  86. package/knowledge/rules/git.md +31 -31
  87. package/knowledge/rules/hooks.md +106 -106
  88. package/knowledge/rules/performance.md +101 -101
  89. package/knowledge/rules/remotion-auto-production.md +1120 -1120
  90. package/knowledge/rules/security.md +46 -46
  91. package/knowledge/rules/testing.md +32 -32
  92. package/knowledge/rules/work-mode.md +208 -208
  93. package/knowledge/rules.md +62 -62
  94. package/knowledge/self-evolution.md +78 -0
  95. package/knowledge/self-rationalization-guard.md +52 -0
  96. package/knowledge/skills/Skill_Seekers.md +1722 -1722
  97. package/knowledge/skills/ab-test-setup.md +557 -557
  98. package/knowledge/skills/agent-sdk-dev.md +238 -238
  99. package/knowledge/skills/agent-tools.md +136 -136
  100. package/knowledge/skills/analytics-tracking.md +597 -597
  101. package/knowledge/skills/artifacts-builder.md +89 -89
  102. package/knowledge/skills/asana.md +12 -12
  103. package/knowledge/skills/backend-expert.md +97 -97
  104. package/knowledge/skills/brand-voice.md +481 -481
  105. package/knowledge/skills/browser-use.md +419 -419
  106. package/knowledge/skills/cache-optimization-skill.md +179 -179
  107. package/knowledge/skills/canvas-design.md +147 -147
  108. package/knowledge/skills/citation-validator.md +203 -203
  109. package/knowledge/skills/clangd-lsp.md +52 -52
  110. package/knowledge/skills/code-review-expert.md +85 -85
  111. package/knowledge/skills/code-review.md +280 -280
  112. package/knowledge/skills/code-simplifier.md +12 -12
  113. package/knowledge/skills/commit-commands.md +258 -258
  114. package/knowledge/skills/competitor-alternatives.md +795 -795
  115. package/knowledge/skills/content-atomizer.md +910 -910
  116. package/knowledge/skills/content-research-writer.md +605 -605
  117. package/knowledge/skills/context-optimization-suite.md +162 -162
  118. package/knowledge/skills/context7.md +12 -12
  119. package/knowledge/skills/copy-editing.md +494 -494
  120. package/knowledge/skills/copywriting.md +510 -510
  121. package/knowledge/skills/csharp-lsp.md +40 -40
  122. package/knowledge/skills/decision-making-framework.md +154 -154
  123. package/knowledge/skills/developer-growth-analysis.md +335 -335
  124. package/knowledge/skills/direct-response-copy.md +2336 -2336
  125. package/knowledge/skills/docker-expert.md +229 -229
  126. package/knowledge/skills/document-skills.md +12 -12
  127. package/knowledge/skills/documentation-expert.md +126 -126
  128. package/knowledge/skills/email-sequence.md +1061 -1061
  129. package/knowledge/skills/email-sequences.md +910 -910
  130. package/knowledge/skills/example-plugin.md +72 -72
  131. package/knowledge/skills/explanatory-output-style.md +82 -82
  132. package/knowledge/skills/feature-dev.md +458 -458
  133. package/knowledge/skills/file-organizer.md +466 -466
  134. package/knowledge/skills/firebase.disabled.md +12 -12
  135. package/knowledge/skills/form-cro.md +488 -488
  136. package/knowledge/skills/free-tool-strategy.md +636 -636
  137. package/knowledge/skills/frontend-design-offical.md +55 -55
  138. package/knowledge/skills/frontend-design.md +41 -41
  139. package/knowledge/skills/frontend-expert.md +93 -93
  140. package/knowledge/skills/github.md +12 -12
  141. package/knowledge/skills/gitlab.md +12 -12
  142. package/knowledge/skills/gopls-lsp.md +32 -32
  143. package/knowledge/skills/got-controller.md +218 -218
  144. package/knowledge/skills/greptile.md +72 -72
  145. package/knowledge/skills/hookify.md +376 -376
  146. package/knowledge/skills/image-editor.md +189 -189
  147. package/knowledge/skills/image-enhancer.md +109 -109
  148. package/knowledge/skills/jdtls-lsp.md +49 -49
  149. package/knowledge/skills/json-canvas.md +654 -654
  150. package/knowledge/skills/keyword-research.md +559 -559
  151. package/knowledge/skills/kotlin-lsp.md +28 -28
  152. package/knowledge/skills/laravel-boost.md +12 -12
  153. package/knowledge/skills/launch-strategy.md +394 -394
  154. package/knowledge/skills/lead-magnet.md +393 -393
  155. package/knowledge/skills/learning-output-style.md +106 -106
  156. package/knowledge/skills/linear.md +12 -12
  157. package/knowledge/skills/lua-lsp.md +47 -47
  158. package/knowledge/skills/marketing-ideas.md +720 -720
  159. package/knowledge/skills/marketing-psychology.md +534 -534
  160. package/knowledge/skills/mcp-builder.md +369 -369
  161. package/knowledge/skills/meeting-insights-analyzer.md +347 -347
  162. package/knowledge/skills/memory-evolution-system.md +172 -172
  163. package/knowledge/skills/multi-lens-thinking.md +407 -407
  164. package/knowledge/skills/nano-banana-pro.md +116 -116
  165. package/knowledge/skills/newsletter.md +736 -736
  166. package/knowledge/skills/notebooklm.md +296 -296
  167. package/knowledge/skills/obsidian-bases.md +634 -634
  168. package/knowledge/skills/obsidian-markdown.md +651 -651
  169. package/knowledge/skills/onboarding-cro.md +494 -494
  170. package/knowledge/skills/orchestrator.md +681 -681
  171. package/knowledge/skills/page-cro.md +379 -379
  172. package/knowledge/skills/paid-ads.md +624 -624
  173. package/knowledge/skills/paywall-upgrade-cro.md +651 -651
  174. package/knowledge/skills/php-lsp.md +36 -36
  175. package/knowledge/skills/planning-with-files.md +193 -193
  176. package/knowledge/skills/playwright.md +12 -12
  177. package/knowledge/skills/plugin-dev.md +434 -434
  178. package/knowledge/skills/popup-cro.md +520 -520
  179. package/knowledge/skills/positioning-angles.md +330 -330
  180. package/knowledge/skills/pr-review-toolkit.md +359 -359
  181. package/knowledge/skills/pricing-strategy.md +777 -777
  182. package/knowledge/skills/programmatic-seo.md +714 -714
  183. package/knowledge/skills/pyright-lsp.md +43 -43
  184. package/knowledge/skills/quality-assurance-framework.md +168 -168
  185. package/knowledge/skills/question-refiner.md +160 -160
  186. package/knowledge/skills/ralph-loop.md +205 -205
  187. package/knowledge/skills/refactoring-expert.md +103 -103
  188. package/knowledge/skills/referral-program.md +668 -668
  189. package/knowledge/skills/research-executor.md +164 -164
  190. package/knowledge/skills/review-with-security.md +12 -12
  191. package/knowledge/skills/rust-analyzer-lsp.md +50 -50
  192. package/knowledge/skills/schema-markup.md +647 -647
  193. package/knowledge/skills/security-audit-expert.md +124 -124
  194. package/knowledge/skills/security-expert.md +140 -140
  195. package/knowledge/skills/security-guidance.md +12 -12
  196. package/knowledge/skills/seedance-prompt.md +139 -139
  197. package/knowledge/skills/self-evolution.md +1160 -1160
  198. package/knowledge/skills/seo-audit.md +432 -432
  199. package/knowledge/skills/seo-content.md +787 -787
  200. package/knowledge/skills/serena.md +12 -12
  201. package/knowledge/skills/signup-flow-cro.md +409 -409
  202. package/knowledge/skills/skill-creator.md +220 -220
  203. package/knowledge/skills/skill-manager.md +226 -226
  204. package/knowledge/skills/skill-share.md +98 -98
  205. package/knowledge/skills/slack.md +12 -12
  206. package/knowledge/skills/social-content.md +878 -878
  207. package/knowledge/skills/spec-flow-skill.md +124 -124
  208. package/knowledge/skills/stripe.md +12 -12
  209. package/knowledge/skills/supabase.md +12 -12
  210. package/knowledge/skills/swift-lsp.md +40 -40
  211. package/knowledge/skills/synthesizer.md +236 -236
  212. package/knowledge/skills/template-skill.md +16 -16
  213. package/knowledge/skills/testing-expert.md +99 -99
  214. package/knowledge/skills/theme-factory.md +72 -72
  215. package/knowledge/skills/tiktok-research.md +208 -208
  216. package/knowledge/skills/typescript-lsp.md +36 -36
  217. package/knowledge/skills/ui-ux-pro-max.md +247 -247
  218. package/knowledge/skills/verify.md +15 -15
  219. package/knowledge/skills/visual-prompt-engineer.md +102 -102
  220. package/knowledge/skills/webapp-testing.md +111 -111
  221. package/knowledge/skills/wide-research.md +191 -191
  222. package/knowledge/system.md +93 -93
  223. package/knowledge/task-router.md +46 -37
  224. package/knowledge/verification.md +38 -38
  225. package/knowledge/worker-prompt-craft.md +66 -0
  226. package/knowledge/workflows/3d-viz.md +47 -47
  227. package/knowledge/workflows/data-pipeline.md +47 -47
  228. package/knowledge/workflows/db-migration.md +51 -51
  229. package/knowledge/workflows/feature-dev.md +41 -41
  230. package/knowledge/workflows/tdd-flow.md +52 -52
  231. package/knowledge/workflows/ui-verify.md +51 -51
  232. package/package.json +74 -74
  233. package/dist/claude-bridge.d.ts +0 -18
  234. package/dist/claude-bridge.js +0 -91
  235. package/dist/claude-bridge.js.map +0 -1
  236. package/dist/tools/claude-bridge-tool.d.ts +0 -4
  237. package/dist/tools/claude-bridge-tool.js +0 -44
  238. package/dist/tools/claude-bridge-tool.js.map +0 -1
@@ -1,488 +1,488 @@
1
- ---
2
- id: "form-cro"
3
- title: "Form CRO"
4
- category: "marketing"
5
- tags: ["form cro", "initial assessment", "core principles", "field-by-field optimization", "form layout optimization", "multi-step forms", "error handling", "submit button optimization", "trust and friction reduction"]
6
- triggers: []
7
- dependencies: []
8
- source: "E:/Bobo's Coding cache/.claude/skills/form-cro"
9
- ---
10
-
11
- ---
12
- name: form-cro
13
- description: When the user wants to optimize any form that is NOT signup/registration — including lead capture forms, contact forms, demo request forms, application forms, survey forms, or checkout forms. Also use when the user mentions "form optimization," "lead form conversions," "form friction," "form fields," "form completion rate," or "contact form." For signup/registration forms, see signup-flow-cro. For popups containing forms, see popup-cro.
14
- ---
15
-
16
- # Form CRO
17
-
18
- You are an expert in form optimization. Your goal is to maximize form completion rates while capturing the data that matters.
19
-
20
- ## Initial Assessment
21
-
22
- Before providing recommendations, identify:
23
-
24
- 1. **Form Type**
25
- - Lead capture (gated content, newsletter)
26
- - Contact form
27
- - Demo/sales request
28
- - Application form
29
- - Survey/feedback
30
- - Checkout form
31
- - Quote request
32
-
33
- 2. **Current State**
34
- - How many fields?
35
- - What's the current completion rate?
36
- - Mobile vs. desktop split?
37
- - Where do users abandon?
38
-
39
- 3. **Business Context**
40
- - What happens with form submissions?
41
- - Which fields are actually used in follow-up?
42
- - Are there compliance/legal requirements?
43
-
44
- ---
45
-
46
- ## Core Principles
47
-
48
- ### 1. Every Field Has a Cost
49
-
50
- Each field reduces completion rate. Rule of thumb:
51
-
52
- - 3 fields: Baseline
53
- - 4-6 fields: 10-25% reduction
54
- - 7+ fields: 25-50%+ reduction
55
-
56
- For each field, ask:
57
-
58
- - Is this absolutely necessary before we can help them?
59
- - Can we get this information another way?
60
- - Can we ask this later?
61
-
62
- ### 2. Value Must Exceed Effort
63
-
64
- - Clear value proposition above form
65
- - Make what they get obvious
66
- - Reduce perceived effort (field count, labels)
67
-
68
- ### 3. Reduce Cognitive Load
69
-
70
- - One question per field
71
- - Clear, conversational labels
72
- - Logical grouping and order
73
- - Smart defaults where possible
74
-
75
- ---
76
-
77
- ## Field-by-Field Optimization
78
-
79
- ### Email Field
80
-
81
- - Single field, no confirmation
82
- - Inline validation
83
- - Typo detection (did you mean gmail.com?)
84
- - Proper mobile keyboard
85
-
86
- ### Name Fields
87
-
88
- - Single "Name" vs. First/Last — test this
89
- - Single field reduces friction
90
- - Split needed only if personalization requires it
91
-
92
- ### Phone Number
93
-
94
- - Make optional if possible
95
- - If required, explain why
96
- - Auto-format as they type
97
- - Country code handling
98
-
99
- ### Company/Organization
100
-
101
- - Auto-suggest for faster entry
102
- - Enrichment after submission (Clearbit, etc.)
103
- - Consider inferring from email domain
104
-
105
- ### Job Title/Role
106
-
107
- - Dropdown if categories matter
108
- - Free text if wide variation
109
- - Consider making optional
110
-
111
- ### Message/Comments (Free Text)
112
-
113
- - Make optional
114
- - Reasonable character guidance
115
- - Expand on focus
116
-
117
- ### Dropdown Selects
118
-
119
- - "Select one..." placeholder
120
- - Searchable if many options
121
- - Consider radio buttons if < 5 options
122
- - "Other" option with text field
123
-
124
- ### Checkboxes (Multi-select)
125
-
126
- - Clear, parallel labels
127
- - Reasonable number of options
128
- - Consider "Select all that apply" instruction
129
-
130
- ---
131
-
132
- ## Form Layout Optimization
133
-
134
- ### Field Order
135
-
136
- 1. Start with easiest fields (name, email)
137
- 2. Build commitment before asking more
138
- 3. Sensitive fields last (phone, company size)
139
- 4. Logical grouping if many fields
140
-
141
- ### Labels and Placeholders
142
-
143
- - Labels: Always visible (not just placeholder)
144
- - Placeholders: Examples, not labels
145
- - Help text: Only when genuinely helpful
146
-
147
- **Good:**
148
-
149
- ```
150
- Email
151
- [name@company.com]
152
- ```
153
-
154
- **Bad:**
155
-
156
- ```
157
- [Enter your email address] ← Disappears on focus
158
- ```
159
-
160
- ### Visual Design
161
-
162
- - Sufficient spacing between fields
163
- - Clear visual hierarchy
164
- - CTA button stands out
165
- - Mobile-friendly tap targets (44px+)
166
-
167
- ### Single Column vs. Multi-Column
168
-
169
- - Single column: Higher completion, mobile-friendly
170
- - Multi-column: Only for short related fields (First/Last name)
171
- - When in doubt, single column
172
-
173
- ---
174
-
175
- ## Multi-Step Forms
176
-
177
- ### When to Use Multi-Step
178
-
179
- - More than 5-6 fields
180
- - Logically distinct sections
181
- - Conditional paths based on answers
182
- - Complex forms (applications, quotes)
183
-
184
- ### Multi-Step Best Practices
185
-
186
- - Progress indicator (step X of Y)
187
- - Start with easy, end with sensitive
188
- - One topic per step
189
- - Allow back navigation
190
- - Save progress (don't lose data on refresh)
191
- - Clear indication of required vs. optional
192
-
193
- ### Progressive Commitment Pattern
194
-
195
- 1. Low-friction start (just email)
196
- 2. More detail (name, company)
197
- 3. Qualifying questions
198
- 4. Contact preferences
199
-
200
- ---
201
-
202
- ## Error Handling
203
-
204
- ### Inline Validation
205
-
206
- - Validate as they move to next field
207
- - Don't validate too aggressively while typing
208
- - Clear visual indicators (green check, red border)
209
-
210
- ### Error Messages
211
-
212
- - Specific to the problem
213
- - Suggest how to fix
214
- - Positioned near the field
215
- - Don't clear their input
216
-
217
- **Good:** "Please enter a valid email address (e.g., name@company.com)"
218
- **Bad:** "Invalid input"
219
-
220
- ### On Submit
221
-
222
- - Focus on first error field
223
- - Summarize errors if multiple
224
- - Preserve all entered data
225
- - Don't clear form on error
226
-
227
- ---
228
-
229
- ## Submit Button Optimization
230
-
231
- ### Button Copy
232
-
233
- Weak: "Submit" | "Send"
234
- Strong: "[Action] + [What they get]"
235
-
236
- Examples:
237
-
238
- - "Get My Free Quote"
239
- - "Download the Guide"
240
- - "Request Demo"
241
- - "Send Message"
242
- - "Start Free Trial"
243
-
244
- ### Button Placement
245
-
246
- - Immediately after last field
247
- - Left-aligned with fields
248
- - Sufficient size and contrast
249
- - Mobile: Sticky or clearly visible
250
-
251
- ### Post-Submit States
252
-
253
- - Loading state (disable button, show spinner)
254
- - Success confirmation (clear next steps)
255
- - Error handling (clear message, focus on issue)
256
-
257
- ---
258
-
259
- ## Trust and Friction Reduction
260
-
261
- ### Near the Form
262
-
263
- - Privacy statement: "We'll never share your info"
264
- - Security badges if collecting sensitive data
265
- - Testimonial or social proof
266
- - Expected response time
267
-
268
- ### Reducing Perceived Effort
269
-
270
- - "Takes 30 seconds"
271
- - Field count indicator
272
- - Remove visual clutter
273
- - Generous white space
274
-
275
- ### Addressing Objections
276
-
277
- - "No spam, unsubscribe anytime"
278
- - "We won't share your number"
279
- - "No credit card required"
280
-
281
- ---
282
-
283
- ## Form Types: Specific Guidance
284
-
285
- ### Lead Capture (Gated Content)
286
-
287
- - Minimum viable fields (often just email)
288
- - Clear value proposition for what they get
289
- - Consider asking enrichment questions post-download
290
- - Test email-only vs. email + name
291
-
292
- ### Contact Form
293
-
294
- - Essential: Email/Name + Message
295
- - Phone optional
296
- - Set response time expectations
297
- - Offer alternatives (chat, phone)
298
-
299
- ### Demo Request
300
-
301
- - Name, Email, Company required
302
- - Phone: Optional with "preferred contact" choice
303
- - Use case/goal question helps personalize
304
- - Calendar embed can increase show rate
305
-
306
- ### Quote/Estimate Request
307
-
308
- - Multi-step often works well
309
- - Start with easy questions
310
- - Technical details later
311
- - Save progress for complex forms
312
-
313
- ### Survey Forms
314
-
315
- - Progress bar essential
316
- - One question per screen for engagement
317
- - Skip logic for relevance
318
- - Consider incentive for completion
319
-
320
- ---
321
-
322
- ## Mobile Optimization
323
-
324
- - Larger touch targets (44px minimum height)
325
- - Appropriate keyboard types (email, tel, number)
326
- - Autofill support
327
- - Single column only
328
- - Sticky submit button
329
- - Minimal typing (dropdowns, buttons)
330
-
331
- ---
332
-
333
- ## Measurement
334
-
335
- ### Key Metrics
336
-
337
- - **Form start rate**: Page views → Started form
338
- - **Completion rate**: Started → Submitted
339
- - **Field drop-off**: Which fields lose people
340
- - **Error rate**: By field
341
- - **Time to complete**: Total and by field
342
- - **Mobile vs. desktop**: Completion by device
343
-
344
- ### What to Track
345
-
346
- - Form views
347
- - First field focus
348
- - Each field completion
349
- - Errors by field
350
- - Submit attempts
351
- - Successful submissions
352
-
353
- ---
354
-
355
- ## Output Format
356
-
357
- ### Form Audit
358
-
359
- For each issue:
360
-
361
- - **Issue**: What's wrong
362
- - **Impact**: Estimated effect on conversions
363
- - **Fix**: Specific recommendation
364
- - **Priority**: High/Medium/Low
365
-
366
- ### Recommended Form Design
367
-
368
- - **Required fields**: Justified list
369
- - **Optional fields**: With rationale
370
- - **Field order**: Recommended sequence
371
- - **Copy**: Labels, placeholders, button
372
- - **Error messages**: For each field
373
- - **Layout**: Visual guidance
374
-
375
- ### Test Hypotheses
376
-
377
- Ideas to A/B test with expected outcomes
378
-
379
- ---
380
-
381
- ## Experiment Ideas
382
-
383
- ### Form Structure Experiments
384
-
385
- **Layout & Flow**
386
-
387
- - Single-step form vs. multi-step with progress bar
388
- - 1-column vs. 2-column field layout
389
- - Form embedded on page vs. separate page
390
- - Vertical vs. horizontal field alignment
391
- - Form above fold vs. after content
392
-
393
- **Field Optimization**
394
-
395
- - Reduce to minimum viable fields
396
- - Add or remove phone number field
397
- - Add or remove company/organization field
398
- - Test required vs. optional field balance
399
- - Use field enrichment to auto-fill known data
400
- - Hide fields for returning/known visitors
401
-
402
- **Smart Forms**
403
-
404
- - Add real-time validation for emails and phone numbers
405
- - Progressive profiling (ask more over time)
406
- - Conditional fields based on earlier answers
407
- - Auto-suggest for company names
408
-
409
- ---
410
-
411
- ### Copy & Design Experiments
412
-
413
- **Labels & Microcopy**
414
-
415
- - Test field label clarity and length
416
- - Placeholder text optimization
417
- - Help text: show vs. hide vs. on-hover
418
- - Error message tone (friendly vs. direct)
419
-
420
- **CTAs & Buttons**
421
-
422
- - Button text variations ("Submit" vs. "Get My Quote" vs. specific action)
423
- - Button color and size testing
424
- - Button placement relative to fields
425
-
426
- **Trust Elements**
427
-
428
- - Add privacy assurance near form
429
- - Show trust badges next to submit
430
- - Add testimonial near form
431
- - Display expected response time
432
-
433
- ---
434
-
435
- ### Form Type-Specific Experiments
436
-
437
- **Demo Request Forms**
438
-
439
- - Test with/without phone number requirement
440
- - Add "preferred contact method" choice
441
- - Include "What's your biggest challenge?" question
442
- - Test calendar embed vs. form submission
443
-
444
- **Lead Capture Forms**
445
-
446
- - Email-only vs. email + name
447
- - Test value proposition messaging above form
448
- - Gated vs. ungated content strategies
449
- - Post-submission enrichment questions
450
-
451
- **Contact Forms**
452
-
453
- - Add department/topic routing dropdown
454
- - Test with/without message field requirement
455
- - Show alternative contact methods (chat, phone)
456
- - Expected response time messaging
457
-
458
- ---
459
-
460
- ### Mobile & UX Experiments
461
-
462
- - Larger touch targets for mobile
463
- - Test appropriate keyboard types by field
464
- - Sticky submit button on mobile
465
- - Auto-focus first field on page load
466
- - Test form container styling (card vs. minimal)
467
-
468
- ---
469
-
470
- ## Questions to Ask
471
-
472
- If you need more context:
473
-
474
- 1. What's your current form completion rate?
475
- 2. Do you have field-level analytics?
476
- 3. What happens with the data after submission?
477
- 4. Which fields are actually used in follow-up?
478
- 5. Are there compliance/legal requirements?
479
- 6. What's the mobile vs. desktop split?
480
-
481
- ---
482
-
483
- ## Related Skills
484
-
485
- - **signup-flow-cro**: For account creation forms
486
- - **popup-cro**: For forms inside popups/modals
487
- - **page-cro**: For the page containing the form
488
- - **ab-test-setup**: For testing form changes
1
+ ---
2
+ id: "form-cro"
3
+ title: "Form CRO"
4
+ category: "marketing"
5
+ tags: ["form cro", "initial assessment", "core principles", "field-by-field optimization", "form layout optimization", "multi-step forms", "error handling", "submit button optimization", "trust and friction reduction"]
6
+ triggers: []
7
+ dependencies: []
8
+ source: "E:/Bobo's Coding cache/.claude/skills/form-cro"
9
+ ---
10
+
11
+ ---
12
+ name: form-cro
13
+ description: When the user wants to optimize any form that is NOT signup/registration — including lead capture forms, contact forms, demo request forms, application forms, survey forms, or checkout forms. Also use when the user mentions "form optimization," "lead form conversions," "form friction," "form fields," "form completion rate," or "contact form." For signup/registration forms, see signup-flow-cro. For popups containing forms, see popup-cro.
14
+ ---
15
+
16
+ # Form CRO
17
+
18
+ You are an expert in form optimization. Your goal is to maximize form completion rates while capturing the data that matters.
19
+
20
+ ## Initial Assessment
21
+
22
+ Before providing recommendations, identify:
23
+
24
+ 1. **Form Type**
25
+ - Lead capture (gated content, newsletter)
26
+ - Contact form
27
+ - Demo/sales request
28
+ - Application form
29
+ - Survey/feedback
30
+ - Checkout form
31
+ - Quote request
32
+
33
+ 2. **Current State**
34
+ - How many fields?
35
+ - What's the current completion rate?
36
+ - Mobile vs. desktop split?
37
+ - Where do users abandon?
38
+
39
+ 3. **Business Context**
40
+ - What happens with form submissions?
41
+ - Which fields are actually used in follow-up?
42
+ - Are there compliance/legal requirements?
43
+
44
+ ---
45
+
46
+ ## Core Principles
47
+
48
+ ### 1. Every Field Has a Cost
49
+
50
+ Each field reduces completion rate. Rule of thumb:
51
+
52
+ - 3 fields: Baseline
53
+ - 4-6 fields: 10-25% reduction
54
+ - 7+ fields: 25-50%+ reduction
55
+
56
+ For each field, ask:
57
+
58
+ - Is this absolutely necessary before we can help them?
59
+ - Can we get this information another way?
60
+ - Can we ask this later?
61
+
62
+ ### 2. Value Must Exceed Effort
63
+
64
+ - Clear value proposition above form
65
+ - Make what they get obvious
66
+ - Reduce perceived effort (field count, labels)
67
+
68
+ ### 3. Reduce Cognitive Load
69
+
70
+ - One question per field
71
+ - Clear, conversational labels
72
+ - Logical grouping and order
73
+ - Smart defaults where possible
74
+
75
+ ---
76
+
77
+ ## Field-by-Field Optimization
78
+
79
+ ### Email Field
80
+
81
+ - Single field, no confirmation
82
+ - Inline validation
83
+ - Typo detection (did you mean gmail.com?)
84
+ - Proper mobile keyboard
85
+
86
+ ### Name Fields
87
+
88
+ - Single "Name" vs. First/Last — test this
89
+ - Single field reduces friction
90
+ - Split needed only if personalization requires it
91
+
92
+ ### Phone Number
93
+
94
+ - Make optional if possible
95
+ - If required, explain why
96
+ - Auto-format as they type
97
+ - Country code handling
98
+
99
+ ### Company/Organization
100
+
101
+ - Auto-suggest for faster entry
102
+ - Enrichment after submission (Clearbit, etc.)
103
+ - Consider inferring from email domain
104
+
105
+ ### Job Title/Role
106
+
107
+ - Dropdown if categories matter
108
+ - Free text if wide variation
109
+ - Consider making optional
110
+
111
+ ### Message/Comments (Free Text)
112
+
113
+ - Make optional
114
+ - Reasonable character guidance
115
+ - Expand on focus
116
+
117
+ ### Dropdown Selects
118
+
119
+ - "Select one..." placeholder
120
+ - Searchable if many options
121
+ - Consider radio buttons if < 5 options
122
+ - "Other" option with text field
123
+
124
+ ### Checkboxes (Multi-select)
125
+
126
+ - Clear, parallel labels
127
+ - Reasonable number of options
128
+ - Consider "Select all that apply" instruction
129
+
130
+ ---
131
+
132
+ ## Form Layout Optimization
133
+
134
+ ### Field Order
135
+
136
+ 1. Start with easiest fields (name, email)
137
+ 2. Build commitment before asking more
138
+ 3. Sensitive fields last (phone, company size)
139
+ 4. Logical grouping if many fields
140
+
141
+ ### Labels and Placeholders
142
+
143
+ - Labels: Always visible (not just placeholder)
144
+ - Placeholders: Examples, not labels
145
+ - Help text: Only when genuinely helpful
146
+
147
+ **Good:**
148
+
149
+ ```
150
+ Email
151
+ [name@company.com]
152
+ ```
153
+
154
+ **Bad:**
155
+
156
+ ```
157
+ [Enter your email address] ← Disappears on focus
158
+ ```
159
+
160
+ ### Visual Design
161
+
162
+ - Sufficient spacing between fields
163
+ - Clear visual hierarchy
164
+ - CTA button stands out
165
+ - Mobile-friendly tap targets (44px+)
166
+
167
+ ### Single Column vs. Multi-Column
168
+
169
+ - Single column: Higher completion, mobile-friendly
170
+ - Multi-column: Only for short related fields (First/Last name)
171
+ - When in doubt, single column
172
+
173
+ ---
174
+
175
+ ## Multi-Step Forms
176
+
177
+ ### When to Use Multi-Step
178
+
179
+ - More than 5-6 fields
180
+ - Logically distinct sections
181
+ - Conditional paths based on answers
182
+ - Complex forms (applications, quotes)
183
+
184
+ ### Multi-Step Best Practices
185
+
186
+ - Progress indicator (step X of Y)
187
+ - Start with easy, end with sensitive
188
+ - One topic per step
189
+ - Allow back navigation
190
+ - Save progress (don't lose data on refresh)
191
+ - Clear indication of required vs. optional
192
+
193
+ ### Progressive Commitment Pattern
194
+
195
+ 1. Low-friction start (just email)
196
+ 2. More detail (name, company)
197
+ 3. Qualifying questions
198
+ 4. Contact preferences
199
+
200
+ ---
201
+
202
+ ## Error Handling
203
+
204
+ ### Inline Validation
205
+
206
+ - Validate as they move to next field
207
+ - Don't validate too aggressively while typing
208
+ - Clear visual indicators (green check, red border)
209
+
210
+ ### Error Messages
211
+
212
+ - Specific to the problem
213
+ - Suggest how to fix
214
+ - Positioned near the field
215
+ - Don't clear their input
216
+
217
+ **Good:** "Please enter a valid email address (e.g., name@company.com)"
218
+ **Bad:** "Invalid input"
219
+
220
+ ### On Submit
221
+
222
+ - Focus on first error field
223
+ - Summarize errors if multiple
224
+ - Preserve all entered data
225
+ - Don't clear form on error
226
+
227
+ ---
228
+
229
+ ## Submit Button Optimization
230
+
231
+ ### Button Copy
232
+
233
+ Weak: "Submit" | "Send"
234
+ Strong: "[Action] + [What they get]"
235
+
236
+ Examples:
237
+
238
+ - "Get My Free Quote"
239
+ - "Download the Guide"
240
+ - "Request Demo"
241
+ - "Send Message"
242
+ - "Start Free Trial"
243
+
244
+ ### Button Placement
245
+
246
+ - Immediately after last field
247
+ - Left-aligned with fields
248
+ - Sufficient size and contrast
249
+ - Mobile: Sticky or clearly visible
250
+
251
+ ### Post-Submit States
252
+
253
+ - Loading state (disable button, show spinner)
254
+ - Success confirmation (clear next steps)
255
+ - Error handling (clear message, focus on issue)
256
+
257
+ ---
258
+
259
+ ## Trust and Friction Reduction
260
+
261
+ ### Near the Form
262
+
263
+ - Privacy statement: "We'll never share your info"
264
+ - Security badges if collecting sensitive data
265
+ - Testimonial or social proof
266
+ - Expected response time
267
+
268
+ ### Reducing Perceived Effort
269
+
270
+ - "Takes 30 seconds"
271
+ - Field count indicator
272
+ - Remove visual clutter
273
+ - Generous white space
274
+
275
+ ### Addressing Objections
276
+
277
+ - "No spam, unsubscribe anytime"
278
+ - "We won't share your number"
279
+ - "No credit card required"
280
+
281
+ ---
282
+
283
+ ## Form Types: Specific Guidance
284
+
285
+ ### Lead Capture (Gated Content)
286
+
287
+ - Minimum viable fields (often just email)
288
+ - Clear value proposition for what they get
289
+ - Consider asking enrichment questions post-download
290
+ - Test email-only vs. email + name
291
+
292
+ ### Contact Form
293
+
294
+ - Essential: Email/Name + Message
295
+ - Phone optional
296
+ - Set response time expectations
297
+ - Offer alternatives (chat, phone)
298
+
299
+ ### Demo Request
300
+
301
+ - Name, Email, Company required
302
+ - Phone: Optional with "preferred contact" choice
303
+ - Use case/goal question helps personalize
304
+ - Calendar embed can increase show rate
305
+
306
+ ### Quote/Estimate Request
307
+
308
+ - Multi-step often works well
309
+ - Start with easy questions
310
+ - Technical details later
311
+ - Save progress for complex forms
312
+
313
+ ### Survey Forms
314
+
315
+ - Progress bar essential
316
+ - One question per screen for engagement
317
+ - Skip logic for relevance
318
+ - Consider incentive for completion
319
+
320
+ ---
321
+
322
+ ## Mobile Optimization
323
+
324
+ - Larger touch targets (44px minimum height)
325
+ - Appropriate keyboard types (email, tel, number)
326
+ - Autofill support
327
+ - Single column only
328
+ - Sticky submit button
329
+ - Minimal typing (dropdowns, buttons)
330
+
331
+ ---
332
+
333
+ ## Measurement
334
+
335
+ ### Key Metrics
336
+
337
+ - **Form start rate**: Page views → Started form
338
+ - **Completion rate**: Started → Submitted
339
+ - **Field drop-off**: Which fields lose people
340
+ - **Error rate**: By field
341
+ - **Time to complete**: Total and by field
342
+ - **Mobile vs. desktop**: Completion by device
343
+
344
+ ### What to Track
345
+
346
+ - Form views
347
+ - First field focus
348
+ - Each field completion
349
+ - Errors by field
350
+ - Submit attempts
351
+ - Successful submissions
352
+
353
+ ---
354
+
355
+ ## Output Format
356
+
357
+ ### Form Audit
358
+
359
+ For each issue:
360
+
361
+ - **Issue**: What's wrong
362
+ - **Impact**: Estimated effect on conversions
363
+ - **Fix**: Specific recommendation
364
+ - **Priority**: High/Medium/Low
365
+
366
+ ### Recommended Form Design
367
+
368
+ - **Required fields**: Justified list
369
+ - **Optional fields**: With rationale
370
+ - **Field order**: Recommended sequence
371
+ - **Copy**: Labels, placeholders, button
372
+ - **Error messages**: For each field
373
+ - **Layout**: Visual guidance
374
+
375
+ ### Test Hypotheses
376
+
377
+ Ideas to A/B test with expected outcomes
378
+
379
+ ---
380
+
381
+ ## Experiment Ideas
382
+
383
+ ### Form Structure Experiments
384
+
385
+ **Layout & Flow**
386
+
387
+ - Single-step form vs. multi-step with progress bar
388
+ - 1-column vs. 2-column field layout
389
+ - Form embedded on page vs. separate page
390
+ - Vertical vs. horizontal field alignment
391
+ - Form above fold vs. after content
392
+
393
+ **Field Optimization**
394
+
395
+ - Reduce to minimum viable fields
396
+ - Add or remove phone number field
397
+ - Add or remove company/organization field
398
+ - Test required vs. optional field balance
399
+ - Use field enrichment to auto-fill known data
400
+ - Hide fields for returning/known visitors
401
+
402
+ **Smart Forms**
403
+
404
+ - Add real-time validation for emails and phone numbers
405
+ - Progressive profiling (ask more over time)
406
+ - Conditional fields based on earlier answers
407
+ - Auto-suggest for company names
408
+
409
+ ---
410
+
411
+ ### Copy & Design Experiments
412
+
413
+ **Labels & Microcopy**
414
+
415
+ - Test field label clarity and length
416
+ - Placeholder text optimization
417
+ - Help text: show vs. hide vs. on-hover
418
+ - Error message tone (friendly vs. direct)
419
+
420
+ **CTAs & Buttons**
421
+
422
+ - Button text variations ("Submit" vs. "Get My Quote" vs. specific action)
423
+ - Button color and size testing
424
+ - Button placement relative to fields
425
+
426
+ **Trust Elements**
427
+
428
+ - Add privacy assurance near form
429
+ - Show trust badges next to submit
430
+ - Add testimonial near form
431
+ - Display expected response time
432
+
433
+ ---
434
+
435
+ ### Form Type-Specific Experiments
436
+
437
+ **Demo Request Forms**
438
+
439
+ - Test with/without phone number requirement
440
+ - Add "preferred contact method" choice
441
+ - Include "What's your biggest challenge?" question
442
+ - Test calendar embed vs. form submission
443
+
444
+ **Lead Capture Forms**
445
+
446
+ - Email-only vs. email + name
447
+ - Test value proposition messaging above form
448
+ - Gated vs. ungated content strategies
449
+ - Post-submission enrichment questions
450
+
451
+ **Contact Forms**
452
+
453
+ - Add department/topic routing dropdown
454
+ - Test with/without message field requirement
455
+ - Show alternative contact methods (chat, phone)
456
+ - Expected response time messaging
457
+
458
+ ---
459
+
460
+ ### Mobile & UX Experiments
461
+
462
+ - Larger touch targets for mobile
463
+ - Test appropriate keyboard types by field
464
+ - Sticky submit button on mobile
465
+ - Auto-focus first field on page load
466
+ - Test form container styling (card vs. minimal)
467
+
468
+ ---
469
+
470
+ ## Questions to Ask
471
+
472
+ If you need more context:
473
+
474
+ 1. What's your current form completion rate?
475
+ 2. Do you have field-level analytics?
476
+ 3. What happens with the data after submission?
477
+ 4. Which fields are actually used in follow-up?
478
+ 5. Are there compliance/legal requirements?
479
+ 6. What's the mobile vs. desktop split?
480
+
481
+ ---
482
+
483
+ ## Related Skills
484
+
485
+ - **signup-flow-cro**: For account creation forms
486
+ - **popup-cro**: For forms inside popups/modals
487
+ - **page-cro**: For the page containing the form
488
+ - **ab-test-setup**: For testing form changes