baldart 3.6.2

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 (230) hide show
  1. package/CHANGELOG.md +599 -0
  2. package/README.md +566 -0
  3. package/VERSION +1 -0
  4. package/bin/baldart.js +143 -0
  5. package/framework/.claude/agents/REGISTRY.md +169 -0
  6. package/framework/.claude/agents/api-perf-cost-auditor.md +291 -0
  7. package/framework/.claude/agents/code-reviewer.md +350 -0
  8. package/framework/.claude/agents/codebase-architect.md +391 -0
  9. package/framework/.claude/agents/coder.md +291 -0
  10. package/framework/.claude/agents/deep-human-insight.md +198 -0
  11. package/framework/.claude/agents/doc-reviewer.md +440 -0
  12. package/framework/.claude/agents/email-deliverability-architect.md +193 -0
  13. package/framework/.claude/agents/hybrid-ml-architect.md +285 -0
  14. package/framework/.claude/agents/hyper-gamification-designer.md +149 -0
  15. package/framework/.claude/agents/legal-counsel-gdpr.md +179 -0
  16. package/framework/.claude/agents/marketing-conversion-strategist.md +162 -0
  17. package/framework/.claude/agents/motion-expert.md +108 -0
  18. package/framework/.claude/agents/onboarding-architect-lead.md +230 -0
  19. package/framework/.claude/agents/plan-auditor.md +546 -0
  20. package/framework/.claude/agents/prd-card-writer.md +372 -0
  21. package/framework/.claude/agents/prd.md +744 -0
  22. package/framework/.claude/agents/qa-sentinel.md +305 -0
  23. package/framework/.claude/agents/remotion-animator-orchestrator.md +218 -0
  24. package/framework/.claude/agents/security-reviewer.md +276 -0
  25. package/framework/.claude/agents/senior-researcher.md +175 -0
  26. package/framework/.claude/agents/seo-analytics-strategist.md +156 -0
  27. package/framework/.claude/agents/skill-improver.md +61 -0
  28. package/framework/.claude/agents/ui-expert.md +191 -0
  29. package/framework/.claude/agents/visual-designer.md +190 -0
  30. package/framework/.claude/agents/website-orchestrator.md +118 -0
  31. package/framework/.claude/agents/wiki-curator.md +145 -0
  32. package/framework/.claude/commands/baldart-push.md +15 -0
  33. package/framework/.claude/commands/check.md +237 -0
  34. package/framework/.claude/commands/codexreview.md +203 -0
  35. package/framework/.claude/commands/design-review.md +11 -0
  36. package/framework/.claude/commands/issue-review.md +34 -0
  37. package/framework/.claude/commands/new.md +331 -0
  38. package/framework/.claude/commands/qa.md +257 -0
  39. package/framework/.claude/hooks/framework-edit-gate.js +208 -0
  40. package/framework/.claude/hooks/lint-before-commit.sh.template +66 -0
  41. package/framework/.claude/settings.local.json.example +32 -0
  42. package/framework/.claude/skills/api-design-principles/SKILL.md +567 -0
  43. package/framework/.claude/skills/api-design-principles/assets/api-design-checklist.md +155 -0
  44. package/framework/.claude/skills/api-design-principles/assets/rest-api-template.py +182 -0
  45. package/framework/.claude/skills/api-design-principles/references/graphql-schema-design.md +583 -0
  46. package/framework/.claude/skills/api-design-principles/references/rest-best-practices.md +408 -0
  47. package/framework/.claude/skills/baldart-push/SKILL.md +222 -0
  48. package/framework/.claude/skills/bug/SKILL.md +200 -0
  49. package/framework/.claude/skills/bug/references/logging-patterns.md +174 -0
  50. package/framework/.claude/skills/capture/SKILL.md +125 -0
  51. package/framework/.claude/skills/capture/references/synthesis-template.md +42 -0
  52. package/framework/.claude/skills/context-primer/SKILL.md +189 -0
  53. package/framework/.claude/skills/copywriting/SKILL.md +273 -0
  54. package/framework/.claude/skills/copywriting/references/copy-frameworks.md +338 -0
  55. package/framework/.claude/skills/copywriting/references/natural-transitions.md +252 -0
  56. package/framework/.claude/skills/doc-writing-for-rag/SKILL.md +119 -0
  57. package/framework/.claude/skills/doc-writing-for-rag/references/before-after-examples.md +291 -0
  58. package/framework/.claude/skills/doc-writing-for-rag/references/compact-templates.md +183 -0
  59. package/framework/.claude/skills/doc-writing-for-rag/references/frontmatter-minimal.md +112 -0
  60. package/framework/.claude/skills/doc-writing-for-rag/references/line-count-targets.md +110 -0
  61. package/framework/.claude/skills/doc-writing-for-rag/references/schemas-and-errors.md +129 -0
  62. package/framework/.claude/skills/find-skills/SKILL.md +133 -0
  63. package/framework/.claude/skills/frontend-design/LICENSE.txt +177 -0
  64. package/framework/.claude/skills/frontend-design/SKILL.md +84 -0
  65. package/framework/.claude/skills/gamification-design/SKILL.md +130 -0
  66. package/framework/.claude/skills/issue-review/SKILL.md +45 -0
  67. package/framework/.claude/skills/kie-ai/SKILL.md +262 -0
  68. package/framework/.claude/skills/kie-ai/references/models-catalog.md +272 -0
  69. package/framework/.claude/skills/kie-ai/scripts/kie_api.sh +209 -0
  70. package/framework/.claude/skills/kie-ai/scripts/remove_greenscreen.py +69 -0
  71. package/framework/.claude/skills/kie-ai/scripts/setup_api_key.sh +77 -0
  72. package/framework/.claude/skills/motion-design/LICENSE +21 -0
  73. package/framework/.claude/skills/motion-design/README.md +82 -0
  74. package/framework/.claude/skills/motion-design/SKILL.md +336 -0
  75. package/framework/.claude/skills/motion-design/director/choreography.md +93 -0
  76. package/framework/.claude/skills/motion-design/director/context-adaptation.md +83 -0
  77. package/framework/.claude/skills/motion-design/director/core-philosophy.md +53 -0
  78. package/framework/.claude/skills/motion-design/director/decision-framework.md +91 -0
  79. package/framework/.claude/skills/motion-design/director/disney-principles.md +102 -0
  80. package/framework/.claude/skills/motion-design/director/emotion-mapping.md +71 -0
  81. package/framework/.claude/skills/motion-design/director/motion-personality.md +89 -0
  82. package/framework/.claude/skills/motion-design/director/narrative-structure.md +62 -0
  83. package/framework/.claude/skills/motion-design/patterns/ambient-continuous.md +81 -0
  84. package/framework/.claude/skills/motion-design/patterns/entrance-exit.md +82 -0
  85. package/framework/.claude/skills/motion-design/patterns/multi-element.md +69 -0
  86. package/framework/.claude/skills/motion-design/patterns/state-feedback.md +96 -0
  87. package/framework/.claude/skills/motion-design/reference/property-selection.md +95 -0
  88. package/framework/.claude/skills/motion-design/reference/quality-checklist.md +67 -0
  89. package/framework/.claude/skills/motion-design/reference/timing-easing-tables.md +106 -0
  90. package/framework/.claude/skills/motion-design/reference/troubleshooting.md +73 -0
  91. package/framework/.claude/skills/new/SKILL.md +1687 -0
  92. package/framework/.claude/skills/playwright-skill/API_REFERENCE.md +652 -0
  93. package/framework/.claude/skills/playwright-skill/SKILL.md +157 -0
  94. package/framework/.claude/skills/playwright-skill/package.json +26 -0
  95. package/framework/.claude/skills/prd/SKILL.md +228 -0
  96. package/framework/.claude/skills/prd/assets/card-template.yml +232 -0
  97. package/framework/.claude/skills/prd/assets/epic-template.yml +190 -0
  98. package/framework/.claude/skills/prd/assets/prd-template.md +230 -0
  99. package/framework/.claude/skills/prd/assets/state-template.md +78 -0
  100. package/framework/.claude/skills/prd/references/api-perf-gate.md +152 -0
  101. package/framework/.claude/skills/prd/references/audit-phase.md +478 -0
  102. package/framework/.claude/skills/prd/references/backlog-phase.md +145 -0
  103. package/framework/.claude/skills/prd/references/discovery-phase.md +359 -0
  104. package/framework/.claude/skills/prd/references/impact-analysis.md +233 -0
  105. package/framework/.claude/skills/prd/references/prd-add-phase.md +214 -0
  106. package/framework/.claude/skills/prd/references/prd-writing-phase.md +145 -0
  107. package/framework/.claude/skills/prd/references/research-phase.md +216 -0
  108. package/framework/.claude/skills/prd/references/ui-design-phase.md +61 -0
  109. package/framework/.claude/skills/prd/references/validation-phase.md +72 -0
  110. package/framework/.claude/skills/prd-add/SKILL.md +222 -0
  111. package/framework/.claude/skills/prd-add/references/impact-analysis.md +233 -0
  112. package/framework/.claude/skills/remotion-best-practices/SKILL.md +48 -0
  113. package/framework/.claude/skills/remotion-best-practices/rules/3d.md +86 -0
  114. package/framework/.claude/skills/remotion-best-practices/rules/animations.md +29 -0
  115. package/framework/.claude/skills/remotion-best-practices/rules/assets/charts-bar-chart.tsx +173 -0
  116. package/framework/.claude/skills/remotion-best-practices/rules/assets/text-animations-typewriter.tsx +100 -0
  117. package/framework/.claude/skills/remotion-best-practices/rules/assets/text-animations-word-highlight.tsx +108 -0
  118. package/framework/.claude/skills/remotion-best-practices/rules/assets.md +78 -0
  119. package/framework/.claude/skills/remotion-best-practices/rules/audio.md +169 -0
  120. package/framework/.claude/skills/remotion-best-practices/rules/calculate-metadata.md +104 -0
  121. package/framework/.claude/skills/remotion-best-practices/rules/can-decode.md +75 -0
  122. package/framework/.claude/skills/remotion-best-practices/rules/charts.md +58 -0
  123. package/framework/.claude/skills/remotion-best-practices/rules/compositions.md +141 -0
  124. package/framework/.claude/skills/remotion-best-practices/rules/display-captions.md +184 -0
  125. package/framework/.claude/skills/remotion-best-practices/rules/extract-frames.md +229 -0
  126. package/framework/.claude/skills/remotion-best-practices/rules/fonts.md +152 -0
  127. package/framework/.claude/skills/remotion-best-practices/rules/get-audio-duration.md +58 -0
  128. package/framework/.claude/skills/remotion-best-practices/rules/get-video-dimensions.md +68 -0
  129. package/framework/.claude/skills/remotion-best-practices/rules/get-video-duration.md +58 -0
  130. package/framework/.claude/skills/remotion-best-practices/rules/gifs.md +141 -0
  131. package/framework/.claude/skills/remotion-best-practices/rules/images.md +130 -0
  132. package/framework/.claude/skills/remotion-best-practices/rules/import-srt-captions.md +69 -0
  133. package/framework/.claude/skills/remotion-best-practices/rules/light-leaks.md +73 -0
  134. package/framework/.claude/skills/remotion-best-practices/rules/lottie.md +67 -0
  135. package/framework/.claude/skills/remotion-best-practices/rules/maps.md +401 -0
  136. package/framework/.claude/skills/remotion-best-practices/rules/measuring-dom-nodes.md +34 -0
  137. package/framework/.claude/skills/remotion-best-practices/rules/measuring-text.md +143 -0
  138. package/framework/.claude/skills/remotion-best-practices/rules/parameters.md +98 -0
  139. package/framework/.claude/skills/remotion-best-practices/rules/sequencing.md +118 -0
  140. package/framework/.claude/skills/remotion-best-practices/rules/subtitles.md +36 -0
  141. package/framework/.claude/skills/remotion-best-practices/rules/tailwind.md +11 -0
  142. package/framework/.claude/skills/remotion-best-practices/rules/text-animations.md +20 -0
  143. package/framework/.claude/skills/remotion-best-practices/rules/timing.md +179 -0
  144. package/framework/.claude/skills/remotion-best-practices/rules/transcribe-captions.md +70 -0
  145. package/framework/.claude/skills/remotion-best-practices/rules/transitions.md +197 -0
  146. package/framework/.claude/skills/remotion-best-practices/rules/transparent-videos.md +106 -0
  147. package/framework/.claude/skills/remotion-best-practices/rules/trimming.md +52 -0
  148. package/framework/.claude/skills/remotion-best-practices/rules/videos.md +171 -0
  149. package/framework/.claude/skills/seo-audit/SKILL.md +394 -0
  150. package/framework/.claude/skills/seo-audit/references/aeo-geo-patterns.md +279 -0
  151. package/framework/.claude/skills/seo-audit/references/ai-writing-detection.md +190 -0
  152. package/framework/.claude/skills/simplify/SKILL.md +137 -0
  153. package/framework/.claude/skills/skill-creator/LICENSE.txt +202 -0
  154. package/framework/.claude/skills/skill-creator/SKILL.md +356 -0
  155. package/framework/.claude/skills/skill-creator/references/output-patterns.md +82 -0
  156. package/framework/.claude/skills/skill-creator/references/workflows.md +28 -0
  157. package/framework/.claude/skills/skill-creator/scripts/init_skill.py +303 -0
  158. package/framework/.claude/skills/skill-creator/scripts/package_skill.py +110 -0
  159. package/framework/.claude/skills/skill-creator/scripts/quick_validate.py +95 -0
  160. package/framework/.claude/skills/ui-design/SKILL.md +199 -0
  161. package/framework/.claude/skills/ui-design/references/component-discovery.md +54 -0
  162. package/framework/.claude/skills/ui-design/references/evaluation.md +171 -0
  163. package/framework/.claude/skills/ui-design/references/generation.md +109 -0
  164. package/framework/.claude/skills/ui-design/references/inventory.md +59 -0
  165. package/framework/.claude/skills/webapp-testing/LICENSE.txt +202 -0
  166. package/framework/.claude/skills/webapp-testing/SKILL.md +123 -0
  167. package/framework/.claude/skills/webapp-testing/examples/console_logging.py +35 -0
  168. package/framework/.claude/skills/webapp-testing/examples/element_discovery.py +40 -0
  169. package/framework/.claude/skills/webapp-testing/examples/static_html_automation.py +33 -0
  170. package/framework/.claude/skills/webapp-testing/scripts/with_server.py +106 -0
  171. package/framework/.claude/skills/worktree-manager/SKILL.md +680 -0
  172. package/framework/AGENTS.md +240 -0
  173. package/framework/agents/api-contracts.md +137 -0
  174. package/framework/agents/architecture.md +145 -0
  175. package/framework/agents/coding-standards.md +148 -0
  176. package/framework/agents/data-model.md +110 -0
  177. package/framework/agents/deployment-protocol.md +232 -0
  178. package/framework/agents/design-review.md +172 -0
  179. package/framework/agents/env-reference.md +171 -0
  180. package/framework/agents/github-issue-subagent.md +252 -0
  181. package/framework/agents/index.md +261 -0
  182. package/framework/agents/llm-wiki-methodology.md +216 -0
  183. package/framework/agents/maintenance-protocol.md +305 -0
  184. package/framework/agents/observability.md +162 -0
  185. package/framework/agents/performance.md +155 -0
  186. package/framework/agents/project-context.md +145 -0
  187. package/framework/agents/runbook.md +208 -0
  188. package/framework/agents/security.md +168 -0
  189. package/framework/agents/skills-mapping.md +286 -0
  190. package/framework/agents/testing.md +111 -0
  191. package/framework/agents/workflows.md +215 -0
  192. package/framework/docs/PROJECT-CONFIGURATION.md +336 -0
  193. package/framework/docs/references/brand-guidelines.md +170 -0
  194. package/framework/docs/references/ui-guidelines.template.md +182 -0
  195. package/framework/routines/code-review.routine.yml +46 -0
  196. package/framework/routines/doc-review.routine.yml +45 -0
  197. package/framework/routines/ds-drift.routine.yml +52 -0
  198. package/framework/routines/full-sweep.routine.yml +51 -0
  199. package/framework/routines/index.yml +70 -0
  200. package/framework/routines/skill-improve.routine.yml +50 -0
  201. package/framework/routines/wiki-review.routine.yml +45 -0
  202. package/framework/templates/baldart.config.template.yml +113 -0
  203. package/framework/templates/breaking-change-checklist.md +484 -0
  204. package/framework/templates/feature-card.template.yml +125 -0
  205. package/framework/templates/overlays/README.md +44 -0
  206. package/framework/templates/overlays/copywriting.fidelity-example.md +62 -0
  207. package/framework/templates/overlays/ui-design.fidelity-example.md +75 -0
  208. package/framework/templates/skill-project-context.snippet.md +19 -0
  209. package/framework/templates/spec.template.md +208 -0
  210. package/package.json +51 -0
  211. package/src/commands/add.js +229 -0
  212. package/src/commands/configure.js +385 -0
  213. package/src/commands/doctor.js +486 -0
  214. package/src/commands/migrate.js +185 -0
  215. package/src/commands/push.js +0 -0
  216. package/src/commands/routines.js +269 -0
  217. package/src/commands/status.js +130 -0
  218. package/src/commands/update.js +419 -0
  219. package/src/commands/version.js +88 -0
  220. package/src/utils/contamination.js +400 -0
  221. package/src/utils/git.js +181 -0
  222. package/src/utils/hooks.js +152 -0
  223. package/src/utils/routine-adapters/claude-code-cloud.js +78 -0
  224. package/src/utils/routine-adapters/cron.js +138 -0
  225. package/src/utils/routine-adapters/github-actions.js +141 -0
  226. package/src/utils/routine-adapters/index.js +21 -0
  227. package/src/utils/routines.js +166 -0
  228. package/src/utils/state.js +143 -0
  229. package/src/utils/symlinks.js +425 -0
  230. package/src/utils/ui.js +133 -0
@@ -0,0 +1,338 @@
1
+ # Copy Frameworks Reference
2
+
3
+ Headline formulas, page section types, and structural templates.
4
+
5
+ ## Headline Formulas
6
+
7
+ ### Outcome-Focused
8
+
9
+ **{Achieve desirable outcome} without {pain point}**
10
+ > Understand how users are really experiencing your site without drowning in numbers
11
+
12
+ **{Achieve desirable outcome} by {how product makes it possible}**
13
+ > Generate more leads by seeing which companies visit your site
14
+
15
+ **Turn {input} into {outcome}**
16
+ > Turn your hard-earned sales into repeat customers
17
+
18
+ **[Achieve outcome] in [timeframe]**
19
+ > Get your tax refund in 10 days
20
+
21
+ ---
22
+
23
+ ### Problem-Focused
24
+
25
+ **Never {unpleasant event} again**
26
+ > Never miss a sales opportunity again
27
+
28
+ **{Question highlighting the main pain point}**
29
+ > Hate returning stuff to Amazon?
30
+
31
+ **Stop [pain]. Start [pleasure].**
32
+ > Stop chasing invoices. Start getting paid on time.
33
+
34
+ ---
35
+
36
+ ### Audience-Focused
37
+
38
+ **{Key feature/product type} for {target audience}**
39
+ > Advanced analytics for Shopify e-commerce
40
+
41
+ **{Key feature/product type} for {target audience} to {what it's used for}**
42
+ > An online whiteboard for teams to ideate and brainstorm together
43
+
44
+ **You don't have to {skills or resources} to {achieve desirable outcome}**
45
+ > With Ahrefs, you don't have to be an SEO pro to rank higher and get more traffic
46
+
47
+ ---
48
+
49
+ ### Differentiation-Focused
50
+
51
+ **The {opposite of usual process} way to {achieve desirable outcome}**
52
+ > The easiest way to turn your passion into income
53
+
54
+ **The [category] that [key differentiator]**
55
+ > The CRM that updates itself
56
+
57
+ ---
58
+
59
+ ### Proof-Focused
60
+
61
+ **[Number] [people] use [product] to [outcome]**
62
+ > 50,000 marketers use Drip to send better emails
63
+
64
+ **{Key benefit of your product}**
65
+ > Sound clear in online meetings
66
+
67
+ ---
68
+
69
+ ### Additional Formulas
70
+
71
+ **The simple way to {outcome}**
72
+ > The simple way to track your time
73
+
74
+ **Finally, {category} that {benefit}**
75
+ > Finally, accounting software that doesn't suck
76
+
77
+ **{Outcome} without {common pain}**
78
+ > Build your website without writing code
79
+
80
+ **Get {benefit} from your {thing}**
81
+ > Get more revenue from your existing traffic
82
+
83
+ **{Action verb} your {thing} like {admirable example}**
84
+ > Market your SaaS like a Fortune 500
85
+
86
+ **What if you could {desirable outcome}?**
87
+ > What if you could close deals 30% faster?
88
+
89
+ **Everything you need to {outcome}**
90
+ > Everything you need to launch your course
91
+
92
+ **The {adjective} {category} built for {audience}**
93
+ > The lightweight CRM built for startups
94
+
95
+ ---
96
+
97
+ ## Landing Page Section Types
98
+
99
+ ### Core Sections
100
+
101
+ **Hero (Above the Fold)**
102
+ - Headline + subheadline
103
+ - Primary CTA
104
+ - Supporting visual (product screenshot, hero image)
105
+ - Optional: Social proof bar
106
+
107
+ **Social Proof Bar**
108
+ - Customer logos (recognizable > many)
109
+ - Key metric ("10,000+ teams")
110
+ - Star rating with review count
111
+ - Short testimonial snippet
112
+
113
+ **Problem/Pain Section**
114
+ - Articulate their problem better than they can
115
+ - Create recognition ("that's exactly my situation")
116
+ - Hint at cost of not solving it
117
+
118
+ **Solution/Benefits Section**
119
+ - Bridge from problem to your solution
120
+ - 3-5 key benefits (not 10)
121
+ - Each: headline + explanation + proof if available
122
+
123
+ **How It Works**
124
+ - 3-4 numbered steps
125
+ - Reduces perceived complexity
126
+ - Each step: action + outcome
127
+
128
+ **Final CTA Section**
129
+ - Recap value proposition
130
+ - Repeat primary CTA
131
+ - Risk reversal (guarantee, free trial)
132
+
133
+ ---
134
+
135
+ ### Supporting Sections
136
+
137
+ **Testimonials**
138
+ - Full quotes with names, roles, companies
139
+ - Photos when possible
140
+ - Specific results over vague praise
141
+ - Formats: quote cards, video, tweet embeds
142
+
143
+ **Case Studies**
144
+ - Problem → Solution → Results
145
+ - Specific metrics and outcomes
146
+ - Customer name and context
147
+ - Can be snippets with "Read more" links
148
+
149
+ **Use Cases**
150
+ - Different ways product is used
151
+ - Helps visitors self-identify
152
+ - "For marketers who need X" format
153
+
154
+ **Personas / "Built For" Sections**
155
+ - Explicitly call out target audience
156
+ - "Perfect for [role]" blocks
157
+ - Addresses "Is this for me?" question
158
+
159
+ **FAQ Section**
160
+ - Address common objections
161
+ - Good for SEO
162
+ - Reduces support burden
163
+ - 5-10 most common questions
164
+
165
+ **Comparison Section**
166
+ - vs. competitors (name them or don't)
167
+ - vs. status quo (spreadsheets, manual processes)
168
+ - Tables or side-by-side format
169
+
170
+ **Integrations / Partners**
171
+ - Logos of tools you connect with
172
+ - "Works with your stack" messaging
173
+ - Builds credibility
174
+
175
+ **Founder Story / Manifesto**
176
+ - Why you built this
177
+ - What you believe
178
+ - Emotional connection
179
+ - Differentiates from faceless competitors
180
+
181
+ **Demo / Product Tour**
182
+ - Interactive demos
183
+ - Video walkthroughs
184
+ - GIF previews
185
+ - Shows product in action
186
+
187
+ **Pricing Preview**
188
+ - Teaser even on non-pricing pages
189
+ - Starting price or "from $X/mo"
190
+ - Moves decision-makers forward
191
+
192
+ **Guarantee / Risk Reversal**
193
+ - Money-back guarantee
194
+ - Free trial terms
195
+ - "Cancel anytime"
196
+ - Reduces friction
197
+
198
+ **Stats Section**
199
+ - Key metrics that build credibility
200
+ - "10,000+ customers"
201
+ - "4.9/5 rating"
202
+ - "$2M saved for customers"
203
+
204
+ ---
205
+
206
+ ## Page Structure Templates
207
+
208
+ ### Feature-Heavy Page (Weak)
209
+
210
+ ```
211
+ 1. Hero
212
+ 2. Feature 1
213
+ 3. Feature 2
214
+ 4. Feature 3
215
+ 5. Feature 4
216
+ 6. CTA
217
+ ```
218
+
219
+ This is a list, not a persuasive narrative.
220
+
221
+ ---
222
+
223
+ ### Varied, Engaging Page (Strong)
224
+
225
+ ```
226
+ 1. Hero with clear value prop
227
+ 2. Social proof bar (logos or stats)
228
+ 3. Problem/pain section
229
+ 4. How it works (3 steps)
230
+ 5. Key benefits (2-3, not 10)
231
+ 6. Testimonial
232
+ 7. Use cases or personas
233
+ 8. Comparison to alternatives
234
+ 9. Case study snippet
235
+ 10. FAQ
236
+ 11. Final CTA with guarantee
237
+ ```
238
+
239
+ This tells a story and addresses objections.
240
+
241
+ ---
242
+
243
+ ### Compact Landing Page
244
+
245
+ ```
246
+ 1. Hero (headline, subhead, CTA, image)
247
+ 2. Social proof bar
248
+ 3. 3 key benefits with icons
249
+ 4. Testimonial
250
+ 5. How it works (3 steps)
251
+ 6. Final CTA with guarantee
252
+ ```
253
+
254
+ Good for ad landing pages where brevity matters.
255
+
256
+ ---
257
+
258
+ ### Enterprise/B2B Landing Page
259
+
260
+ ```
261
+ 1. Hero (outcome-focused headline)
262
+ 2. Logo bar (recognizable companies)
263
+ 3. Problem section (business pain)
264
+ 4. Solution overview
265
+ 5. Use cases by role/department
266
+ 6. Security/compliance section
267
+ 7. Integration logos
268
+ 8. Case study with metrics
269
+ 9. ROI/value section
270
+ 10. Contact/demo CTA
271
+ ```
272
+
273
+ Addresses enterprise buyer concerns.
274
+
275
+ ---
276
+
277
+ ### Product Launch Page
278
+
279
+ ```
280
+ 1. Hero with launch announcement
281
+ 2. Video demo or walkthrough
282
+ 3. Feature highlights (3-5)
283
+ 4. Before/after comparison
284
+ 5. Early testimonials
285
+ 6. Launch pricing or early access offer
286
+ 7. CTA with urgency
287
+ ```
288
+
289
+ Good for ProductHunt, launches, or announcements.
290
+
291
+ ---
292
+
293
+ ## Section Writing Tips
294
+
295
+ ### Problem Section
296
+
297
+ Start with phrases like:
298
+ - "You know the feeling..."
299
+ - "If you're like most [role]..."
300
+ - "Every day, [audience] struggles with..."
301
+ - "We've all been there..."
302
+
303
+ Then describe:
304
+ - The specific frustration
305
+ - The time/money wasted
306
+ - The impact on their work/life
307
+
308
+ ### Benefits Section
309
+
310
+ For each benefit, include:
311
+ - **Headline**: The outcome they get
312
+ - **Body**: How it works (1-2 sentences)
313
+ - **Proof**: Number, testimonial, or example (optional)
314
+
315
+ ### How It Works Section
316
+
317
+ Each step should be:
318
+ - **Numbered**: Creates sense of progress
319
+ - **Simple verb**: "Connect," "Set up," "Get"
320
+ - **Outcome-oriented**: What they get from this step
321
+
322
+ Example:
323
+ 1. Connect your tools (takes 2 minutes)
324
+ 2. Set your preferences
325
+ 3. Get automated reports every Monday
326
+
327
+ ### Testimonial Selection
328
+
329
+ Best testimonials include:
330
+ - Specific results ("increased conversions by 32%")
331
+ - Before/after context ("We used to spend hours...")
332
+ - Role + company for credibility
333
+ - Something quotable and specific
334
+
335
+ Avoid testimonials that just say:
336
+ - "Great product!"
337
+ - "Love it!"
338
+ - "Easy to use!"
@@ -0,0 +1,252 @@
1
+ # Natural Transitions
2
+
3
+ Transitional phrases to guide readers through your content. Good signposting improves readability, user engagement, and helps search engines understand content structure.
4
+
5
+ Adapted from: University of Manchester Academic Phrasebank (2023), Plain English Campaign, web content best practices
6
+
7
+ ---
8
+
9
+ ## Previewing Content Structure
10
+
11
+ Use to orient readers and set expectations:
12
+
13
+ - Here's what we'll cover...
14
+ - This guide walks you through...
15
+ - Below, you'll find...
16
+ - We'll start with X, then move to Y...
17
+ - First, let's look at...
18
+ - Let's break this down step by step.
19
+ - The sections below explain...
20
+
21
+ ---
22
+
23
+ ## Introducing a New Topic
24
+
25
+ - When it comes to X,...
26
+ - Regarding X,...
27
+ - Speaking of X,...
28
+ - Now let's talk about X.
29
+ - Another key factor is...
30
+ - X is worth exploring because...
31
+
32
+ ---
33
+
34
+ ## Referring Back
35
+
36
+ Use to connect ideas and reinforce key points:
37
+
38
+ - As mentioned earlier,...
39
+ - As we covered above,...
40
+ - Remember when we discussed X?
41
+ - Building on that point,...
42
+ - Going back to X,...
43
+ - Earlier, we explained that...
44
+
45
+ ---
46
+
47
+ ## Moving Between Sections
48
+
49
+ - Now let's look at...
50
+ - Next up:...
51
+ - Moving on to...
52
+ - With that covered, let's turn to...
53
+ - Now that you understand X, here's Y.
54
+ - That brings us to...
55
+
56
+ ---
57
+
58
+ ## Indicating Addition
59
+
60
+ - Also,...
61
+ - Plus,...
62
+ - On top of that,...
63
+ - What's more,...
64
+ - Another benefit is...
65
+ - Beyond that,...
66
+ - In addition,...
67
+ - There's also...
68
+
69
+ **Note:** Use "moreover" and "furthermore" sparingly. They can sound AI-generated when overused.
70
+
71
+ ---
72
+
73
+ ## Indicating Contrast
74
+
75
+ - However,...
76
+ - But,...
77
+ - That said,...
78
+ - On the flip side,...
79
+ - In contrast,...
80
+ - Unlike X, Y...
81
+ - While X is true, Y...
82
+ - Despite this,...
83
+
84
+ ---
85
+
86
+ ## Indicating Similarity
87
+
88
+ - Similarly,...
89
+ - Likewise,...
90
+ - In the same way,...
91
+ - Just like X, Y also...
92
+ - This mirrors...
93
+ - The same applies to...
94
+
95
+ ---
96
+
97
+ ## Indicating Cause and Effect
98
+
99
+ - So,...
100
+ - This means...
101
+ - As a result,...
102
+ - That's why...
103
+ - Because of this,...
104
+ - This leads to...
105
+ - The outcome?...
106
+ - Here's what happens:...
107
+
108
+ ---
109
+
110
+ ## Giving Examples
111
+
112
+ - For example,...
113
+ - For instance,...
114
+ - Here's an example:...
115
+ - Take X, for instance.
116
+ - Consider this:...
117
+ - A good example is...
118
+ - To illustrate,...
119
+ - Like when...
120
+ - Say you want to...
121
+
122
+ ---
123
+
124
+ ## Emphasising Key Points
125
+
126
+ - Here's the key takeaway:...
127
+ - The important thing is...
128
+ - What matters most is...
129
+ - Don't miss this:...
130
+ - Pay attention to...
131
+ - This is critical:...
132
+ - The bottom line?...
133
+
134
+ ---
135
+
136
+ ## Providing Evidence
137
+
138
+ Use when citing sources, data, or expert opinions:
139
+
140
+ ### Neutral attribution
141
+ - According to [Source],...
142
+ - [Source] reports that...
143
+ - Research shows that...
144
+ - Data from [Source] indicates...
145
+ - A study by [Source] found...
146
+
147
+ ### Expert quotes
148
+ - As [Expert] puts it,...
149
+ - [Expert] explains,...
150
+ - In the words of [Expert],...
151
+ - [Expert] notes that...
152
+
153
+ ### Supporting claims
154
+ - This is backed by...
155
+ - Evidence suggests...
156
+ - The numbers confirm...
157
+ - This aligns with findings from...
158
+
159
+ ---
160
+
161
+ ## Summarising Sections
162
+
163
+ - To recap,...
164
+ - Here's the short version:...
165
+ - In short,...
166
+ - The takeaway?...
167
+ - So what does this mean?...
168
+ - Let's pull this together:...
169
+ - Quick summary:...
170
+
171
+ ---
172
+
173
+ ## Concluding Content
174
+
175
+ - Wrapping up,...
176
+ - The bottom line is...
177
+ - Here's what to do next:...
178
+ - To sum up,...
179
+ - Final thoughts:...
180
+ - Ready to get started?...
181
+ - Now it's your turn.
182
+
183
+ **Note:** Avoid "In conclusion" at the start of a paragraph. It's overused and signals AI writing.
184
+
185
+ ---
186
+
187
+ ## Question-Based Transitions
188
+
189
+ Useful for conversational tone and featured snippet optimization:
190
+
191
+ - So what does this mean for you?
192
+ - But why does this matter?
193
+ - How do you actually do this?
194
+ - What's the catch?
195
+ - Sound complicated? It's not.
196
+ - Wondering where to start?
197
+ - Still not sure? Here's the breakdown.
198
+
199
+ ---
200
+
201
+ ## List Introductions
202
+
203
+ For numbered lists and step-by-step content:
204
+
205
+ - Here's how to do it:
206
+ - Follow these steps:
207
+ - The process is straightforward:
208
+ - Here's what you need to know:
209
+ - Key things to consider:
210
+ - The main factors are:
211
+
212
+ ---
213
+
214
+ ## Hedging Language
215
+
216
+ For claims that need qualification or aren't absolute:
217
+
218
+ - may, might, could
219
+ - tends to, generally
220
+ - often, usually, typically
221
+ - in most cases
222
+ - it appears that
223
+ - evidence suggests
224
+ - this can help
225
+ - many experts believe
226
+
227
+ ---
228
+
229
+ ## Best Practice Guidelines
230
+
231
+ 1. **Match tone to audience**: B2B content can be slightly more formal; B2C often benefits from conversational transitions
232
+ 2. **Vary your transitions**: Repeating the same phrase gets noticed (and not in a good way)
233
+ 3. **Don't over-signpost**: Trust your reader; every sentence doesn't need a transition
234
+ 4. **Use for scannability**: Transitions at paragraph starts help skimmers navigate
235
+ 5. **Keep it natural**: Read aloud; if it sounds forced, simplify
236
+ 6. **Front-load key info**: Put the important word or phrase early in the transition
237
+
238
+ ---
239
+
240
+ ## Transitions to Avoid (AI Tells)
241
+
242
+ These phrases are overused in AI-generated content:
243
+
244
+ - "That being said,..."
245
+ - "It's worth noting that..."
246
+ - "At its core,..."
247
+ - "In today's digital landscape,..."
248
+ - "When it comes to the realm of..."
249
+ - "This begs the question..."
250
+ - "Let's delve into..."
251
+
252
+ See the seo-audit skill's `references/ai-writing-detection.md` for a complete list of AI writing tells.
@@ -0,0 +1,119 @@
1
+ ---
2
+ name: doc-writing-for-rag
3
+ description: "Scrive documentazione di reference ad alta densità ottimizzata per RAG indexing. Usa template compatti, frontmatter minimal, cross-reference a schemas.md/errors.md (paths da `paths.api_schemas`/`paths.api_errors` in `baldart.config.yml`). Carica questa skill quando crei o riscrivi file in `${paths.references_dir}`, `${paths.prd_dir}`, o quando senti 'template endpoint', 'compattare docs', 'doc per RAG', 'dense documentation', 'signal/noise ratio'."
4
+ ---
5
+
6
+ # Doc Writing for RAG
7
+
8
+ Protocollo di scrittura per reference docs ottimizzate per LightRAG indexing. Validato su 45 file in 3 wave di compressione (-48% linee medio, signal/noise da 45% a 80%+).
9
+
10
+ ## Project Context
11
+
12
+ **Reads from `baldart.config.yml`:** `paths.references_dir`, `paths.api_schemas`, `paths.api_errors`, `paths.prd_dir`.
13
+ **Gated by features:** `features.has_api_docs` (schemas/errors workflow active when `true`; otherwise the skill skips schemas.md / errors.md cross-references and writes self-contained endpoint docs).
14
+ **Overlay:** loads `.baldart/overlays/doc-writing-for-rag.md` if present — project-specific domain list, schema naming conventions, frontmatter extensions.
15
+ **On missing/empty keys:** ask the user; do not assume defaults. See `framework/agents/project-context.md` § 3.
16
+
17
+ ## When to Use
18
+
19
+ Carica questa skill quando:
20
+
21
+ - **Nuovo reference doc** da scrivere (es. nuovo dominio API, UI page, collection)
22
+ - **Major rewrite** di file esistente >1500 linee o con S/N basso
23
+ - **Nuovo endpoint API** da documentare in file esistente
24
+ - **Extending** `schemas.md` o `errors.md` con nuovi schemi/codes
25
+
26
+ NON caricare per:
27
+ - Review incrementale di file esistenti (usa doc-reviewer-support)
28
+ - Scrittura di ADR (diversi, già densi, vedi writing-guide)
29
+ - PRD discovery/ideation (usa prd skill)
30
+ - Business/marketing copy (usa copywriting skill)
31
+
32
+ ## Core Principles
33
+
34
+ 1. **Cross-reference over repetition**: un concetto spiegato UNA VOLTA, linkato altrove
35
+ 2. **Tables > prose** per info strutturate (endpoint params, error codes, schemas)
36
+ 3. **Frontmatter minimo**: 4 campi (doc_type, domain, canonicality, last_updated). Niente audit_notes, freshness_status, stale_*, owner, status (derivabili da git)
37
+ 4. **Central support files**: `schemas.md` per JSON schemas riusabili, `errors.md` per error codes
38
+ 5. **Line count targets**: API ref <1500, PRD <1500, ADR <200, index <500
39
+ 6. **Descrittivo ma denso**: preserva TUTTA l'info semantica, comprimi solo verbosità
40
+
41
+ ## Workflow — Nuovo endpoint API
42
+
43
+ 1. **Check schemas.md** (`${paths.api_schemas}`): lo schema response esiste già? Se sì, riusalo. Se no, definiscilo DOPO aver scritto l'endpoint, in APPEND alla sezione di dominio appropriata. (Skip when `features.has_api_docs: false`.)
44
+
45
+ 2. **Check errors.md** (`${paths.api_errors}`): gli error codes esistono già nella domain section? Se sì, riusali. Se no, aggiungili APPEND in domain section. (Skip when `features.has_api_docs: false`.)
46
+
47
+ 3. **Scrivi endpoint con template compatto**:
48
+ ```markdown
49
+ ### POST /api/v1/domain/resource
50
+
51
+ **Auth**: withAuthNoParams | **Access**: ADMIN + MERCHANT
52
+
53
+ **Body**:
54
+ | Field | Type | Required | Desc |
55
+ |-------|------|----------|------|
56
+ | storeId | string | yes | Store UUID |
57
+ | name | string | yes | Display name |
58
+
59
+ **Returns**: [ResourceResponse](./schemas.md#resourceresponse)
60
+ **Errors**: RESOURCE_NOT_FOUND, INVALID_NAME ([errors.md](../errors.md#domain-domain))
61
+ ```
62
+
63
+ 4. **Path relativi corretti** (dipende dalla location del file):
64
+ - `api/*.md` → `./schemas.md` + `../errors.md`
65
+ - `api/booking/*.md` → `../schemas.md` + `../../errors.md`
66
+ - `api/survey/*.md` → `../schemas.md` + `../../errors.md`
67
+
68
+ 5. **Verifica line count**: se il file supera 1500 linee → split in sub-files per dominio.
69
+
70
+ ## Template snippets inline
71
+
72
+ ### Frontmatter minimo (mandatory)
73
+
74
+ ```yaml
75
+ ---
76
+ doc_type: reference
77
+ domain: booking
78
+ canonicality: canonical-source
79
+ last_updated: 2026-04-05
80
+ ---
81
+ ```
82
+
83
+ Altri campi (owner, status, audit_notes, freshness_status, stale_*) sono **derivabili** da git blame / tooling → **non scriverli**.
84
+
85
+ ### Compact endpoint (mandatory)
86
+
87
+ ```markdown
88
+ ### VERB /path
89
+
90
+ **Auth**: hook | **Access**: roles
91
+
92
+ **Body** / **Query** / **Params**: tabella 4 colonne
93
+
94
+ **Returns**: [Schema](schemas#anchor)
95
+ **Errors**: CODE1, CODE2 ([errors.md](errors#domain))
96
+ ```
97
+
98
+ ### Cross-reference section (per concetti ripetuti)
99
+
100
+ Spiegazione completa **una sola volta** nella intro del file, poi:
101
+ ```markdown
102
+ See [§Store Access Control](#store-access-control) for gating details.
103
+ ```
104
+
105
+ ## Reference files (on-demand loading)
106
+
107
+ | Reference | When to load |
108
+ |-----------|--------------|
109
+ | `references/compact-templates.md` | Scrittura nuovo endpoint/UI/PRD/collection |
110
+ | `references/schemas-and-errors.md` | Estensione di schemas.md o errors.md |
111
+ | `references/frontmatter-minimal.md` | Definire frontmatter di un nuovo file |
112
+ | `references/line-count-targets.md` | File > soglia, decidere se splittare |
113
+ | `references/before-after-examples.md` | Vuoi esempi concreti Wave 1+2+3 |
114
+
115
+ ## Related Skills
116
+
117
+ - `doc-reviewer-support`: review checklists, invariant tables, navigation audit
118
+ - `prd`: PRD discovery & ideation (diverso scope)
119
+ - `copywriting`: marketing/UX copy