@rune-kit/rune 2.8.0 → 2.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (287) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +68 -34
  3. package/agents/adversary.md +27 -0
  4. package/agents/architect.md +19 -29
  5. package/agents/asset-creator.md +18 -4
  6. package/agents/audit.md +25 -4
  7. package/agents/autopsy.md +19 -4
  8. package/agents/ba.md +35 -0
  9. package/agents/brainstorm.md +31 -4
  10. package/agents/browser-pilot.md +21 -4
  11. package/agents/coder.md +21 -29
  12. package/agents/completion-gate.md +20 -4
  13. package/agents/constraint-check.md +18 -4
  14. package/agents/context-engine.md +22 -4
  15. package/agents/context-pack.md +32 -0
  16. package/agents/cook.md +41 -4
  17. package/agents/db.md +19 -4
  18. package/agents/debug.md +33 -4
  19. package/agents/dependency-doctor.md +20 -4
  20. package/agents/deploy.md +27 -4
  21. package/agents/design.md +22 -4
  22. package/agents/doc-processor.md +27 -0
  23. package/agents/docs-seeker.md +19 -4
  24. package/agents/docs.md +31 -0
  25. package/agents/fix.md +37 -4
  26. package/agents/git.md +29 -0
  27. package/agents/hallucination-guard.md +20 -4
  28. package/agents/incident.md +21 -4
  29. package/agents/integrity-check.md +18 -4
  30. package/agents/journal.md +19 -4
  31. package/agents/launch.md +32 -4
  32. package/agents/logic-guardian.md +26 -11
  33. package/agents/marketing.md +23 -4
  34. package/agents/mcp-builder.md +26 -0
  35. package/agents/neural-memory.md +30 -0
  36. package/agents/onboard.md +22 -4
  37. package/agents/perf.md +21 -4
  38. package/agents/plan.md +29 -4
  39. package/agents/preflight.md +22 -4
  40. package/agents/problem-solver.md +20 -4
  41. package/agents/rescue.md +23 -4
  42. package/agents/research.md +19 -4
  43. package/agents/researcher.md +19 -29
  44. package/agents/retro.md +32 -0
  45. package/agents/review-intake.md +20 -4
  46. package/agents/review.md +32 -4
  47. package/agents/reviewer.md +20 -28
  48. package/agents/safeguard.md +19 -4
  49. package/agents/sast.md +18 -4
  50. package/agents/scaffold.md +41 -0
  51. package/agents/scanner.md +19 -28
  52. package/agents/scope-guard.md +18 -4
  53. package/agents/scout.md +23 -4
  54. package/agents/sentinel-env.md +26 -0
  55. package/agents/sentinel.md +33 -4
  56. package/agents/sequential-thinking.md +20 -4
  57. package/agents/session-bridge.md +24 -4
  58. package/agents/skill-forge.md +22 -4
  59. package/agents/skill-router.md +26 -4
  60. package/agents/slides.md +24 -0
  61. package/agents/surgeon.md +19 -4
  62. package/agents/team.md +30 -4
  63. package/agents/test.md +36 -4
  64. package/agents/trend-scout.md +17 -4
  65. package/agents/verification.md +20 -4
  66. package/agents/video-creator.md +20 -4
  67. package/agents/watchdog.md +19 -4
  68. package/agents/worktree.md +17 -4
  69. package/commands/rune.md +168 -168
  70. package/compiler/__tests__/analytics.test.js +370 -0
  71. package/compiler/adapters/openclaw.js +2 -2
  72. package/compiler/analytics.js +385 -0
  73. package/compiler/bin/rune.js +68 -2
  74. package/compiler/dashboard.js +883 -0
  75. package/compiler/transforms/branding.js +1 -1
  76. package/contexts/dev.md +34 -34
  77. package/contexts/research.md +43 -43
  78. package/contexts/review.md +55 -55
  79. package/extensions/ai-ml/PACK.md +88 -88
  80. package/extensions/ai-ml/skills/ai-agents.md +172 -172
  81. package/extensions/ai-ml/skills/code-sandbox.md +187 -187
  82. package/extensions/ai-ml/skills/deep-research.md +146 -146
  83. package/extensions/ai-ml/skills/embedding-search.md +66 -66
  84. package/extensions/ai-ml/skills/fine-tuning-guide.md +74 -74
  85. package/extensions/ai-ml/skills/llm-architect.md +125 -125
  86. package/extensions/ai-ml/skills/llm-integration.md +64 -64
  87. package/extensions/ai-ml/skills/prompt-patterns.md +72 -72
  88. package/extensions/ai-ml/skills/rag-patterns.md +66 -66
  89. package/extensions/ai-ml/skills/web-extraction.md +114 -114
  90. package/extensions/analytics/PACK.md +92 -92
  91. package/extensions/analytics/skills/ab-testing.md +72 -72
  92. package/extensions/analytics/skills/dashboard-patterns.md +83 -83
  93. package/extensions/analytics/skills/data-validation.md +68 -68
  94. package/extensions/analytics/skills/funnel-analysis.md +81 -81
  95. package/extensions/analytics/skills/sql-patterns.md +57 -57
  96. package/extensions/analytics/skills/statistical-analysis.md +79 -79
  97. package/extensions/analytics/skills/tracking-setup.md +71 -71
  98. package/extensions/backend/PACK.md +104 -104
  99. package/extensions/backend/skills/api-patterns.md +84 -84
  100. package/extensions/backend/skills/async-pipeline.md +193 -193
  101. package/extensions/backend/skills/auth-patterns.md +97 -97
  102. package/extensions/backend/skills/background-jobs.md +133 -133
  103. package/extensions/backend/skills/caching-patterns.md +108 -108
  104. package/extensions/backend/skills/cli-generation.md +133 -133
  105. package/extensions/backend/skills/database-patterns.md +87 -87
  106. package/extensions/backend/skills/middleware-patterns.md +104 -104
  107. package/extensions/chrome-ext/PACK.md +93 -93
  108. package/extensions/chrome-ext/skills/cws-preflight.md +143 -143
  109. package/extensions/chrome-ext/skills/cws-publish.md +104 -104
  110. package/extensions/chrome-ext/skills/ext-ai-integration.md +251 -251
  111. package/extensions/chrome-ext/skills/ext-messaging.md +139 -139
  112. package/extensions/chrome-ext/skills/ext-storage.md +133 -133
  113. package/extensions/chrome-ext/skills/mv3-scaffold.md +164 -164
  114. package/extensions/content/PACK.md +96 -96
  115. package/extensions/content/skills/blog-patterns.md +88 -88
  116. package/extensions/content/skills/cms-integration.md +131 -131
  117. package/extensions/content/skills/content-scoring.md +107 -107
  118. package/extensions/content/skills/i18n.md +83 -83
  119. package/extensions/content/skills/mdx-authoring.md +137 -137
  120. package/extensions/content/skills/reference.md +1014 -1014
  121. package/extensions/content/skills/seo-patterns.md +67 -67
  122. package/extensions/content/skills/video-repurpose.md +153 -153
  123. package/extensions/devops/PACK.md +101 -101
  124. package/extensions/devops/skills/chaos-testing.md +67 -67
  125. package/extensions/devops/skills/ci-cd.md +75 -75
  126. package/extensions/devops/skills/docker.md +58 -58
  127. package/extensions/devops/skills/edge-serverless.md +163 -163
  128. package/extensions/devops/skills/infra-as-code.md +158 -158
  129. package/extensions/devops/skills/kubernetes.md +110 -110
  130. package/extensions/devops/skills/monitoring.md +57 -57
  131. package/extensions/devops/skills/server-setup.md +64 -64
  132. package/extensions/devops/skills/ssl-domain.md +42 -42
  133. package/extensions/ecommerce/PACK.md +116 -116
  134. package/extensions/ecommerce/skills/cart-system.md +79 -79
  135. package/extensions/ecommerce/skills/inventory-mgmt.md +102 -102
  136. package/extensions/ecommerce/skills/order-management.md +126 -126
  137. package/extensions/ecommerce/skills/payment-integration.md +472 -472
  138. package/extensions/ecommerce/skills/shopify-dev.md +69 -69
  139. package/extensions/ecommerce/skills/subscription-billing.md +93 -93
  140. package/extensions/ecommerce/skills/tax-compliance.md +117 -117
  141. package/extensions/gamedev/PACK.md +142 -142
  142. package/extensions/gamedev/skills/asset-pipeline.md +74 -74
  143. package/extensions/gamedev/skills/audio-system.md +129 -129
  144. package/extensions/gamedev/skills/camera-system.md +87 -87
  145. package/extensions/gamedev/skills/ecs.md +98 -98
  146. package/extensions/gamedev/skills/game-loops.md +72 -72
  147. package/extensions/gamedev/skills/input-system.md +199 -199
  148. package/extensions/gamedev/skills/multiplayer.md +180 -180
  149. package/extensions/gamedev/skills/particles.md +105 -105
  150. package/extensions/gamedev/skills/physics-engine.md +89 -89
  151. package/extensions/gamedev/skills/scene-management.md +146 -146
  152. package/extensions/gamedev/skills/threejs-patterns.md +90 -90
  153. package/extensions/gamedev/skills/webgl.md +71 -71
  154. package/extensions/mobile/PACK.md +106 -106
  155. package/extensions/mobile/skills/app-store-connect.md +152 -152
  156. package/extensions/mobile/skills/app-store-prep.md +66 -66
  157. package/extensions/mobile/skills/deep-linking.md +109 -109
  158. package/extensions/mobile/skills/flutter.md +60 -60
  159. package/extensions/mobile/skills/ios-build-pipeline.md +142 -142
  160. package/extensions/mobile/skills/native-bridge.md +66 -66
  161. package/extensions/mobile/skills/ota-updates.md +97 -97
  162. package/extensions/mobile/skills/push-notifications.md +111 -111
  163. package/extensions/mobile/skills/react-native.md +82 -82
  164. package/extensions/saas/PACK.md +116 -116
  165. package/extensions/saas/skills/billing-integration.md +200 -200
  166. package/extensions/saas/skills/feature-flags.md +130 -130
  167. package/extensions/saas/skills/multi-tenant.md +103 -103
  168. package/extensions/saas/skills/onboarding-flow.md +139 -139
  169. package/extensions/saas/skills/subscription-flow.md +95 -95
  170. package/extensions/saas/skills/team-management.md +144 -144
  171. package/extensions/security/PACK.md +99 -99
  172. package/extensions/security/skills/api-security.md +140 -140
  173. package/extensions/security/skills/compliance.md +68 -68
  174. package/extensions/security/skills/owasp-audit.md +64 -64
  175. package/extensions/security/skills/pentest-patterns.md +77 -77
  176. package/extensions/security/skills/secret-mgmt.md +65 -65
  177. package/extensions/security/skills/supply-chain.md +65 -65
  178. package/extensions/trading/PACK.md +80 -80
  179. package/extensions/trading/skills/chart-components.md +55 -55
  180. package/extensions/trading/skills/experiment-loop.md +125 -125
  181. package/extensions/trading/skills/fintech-patterns.md +47 -47
  182. package/extensions/trading/skills/indicator-library.md +58 -58
  183. package/extensions/trading/skills/quant-analysis.md +111 -111
  184. package/extensions/trading/skills/realtime-data.md +58 -58
  185. package/extensions/trading/skills/trade-logic.md +104 -104
  186. package/extensions/ui/PACK.md +130 -130
  187. package/extensions/ui/skills/a11y-audit.md +91 -91
  188. package/extensions/ui/skills/animation-patterns.md +127 -106
  189. package/extensions/ui/skills/component-patterns.md +100 -75
  190. package/extensions/ui/skills/design-decision.md +108 -108
  191. package/extensions/ui/skills/design-system.md +68 -68
  192. package/extensions/ui/skills/landing-patterns.md +155 -155
  193. package/extensions/ui/skills/palette-picker.md +173 -173
  194. package/extensions/ui/skills/react-health.md +90 -90
  195. package/extensions/ui/skills/type-system.md +125 -125
  196. package/extensions/ui/skills/web-vitals.md +153 -153
  197. package/extensions/zalo/PACK.md +145 -145
  198. package/extensions/zalo/skills/zalo-oa-mcp.md +317 -317
  199. package/extensions/zalo/skills/zalo-oa-messaging.md +429 -429
  200. package/extensions/zalo/skills/zalo-oa-setup.md +236 -236
  201. package/extensions/zalo/skills/zalo-oa-webhook.md +189 -189
  202. package/extensions/zalo/skills/zalo-personal-messaging.md +194 -194
  203. package/extensions/zalo/skills/zalo-personal-setup.md +153 -153
  204. package/extensions/zalo/skills/zalo-rate-guard.md +219 -219
  205. package/hooks/auto-format/index.cjs +48 -48
  206. package/hooks/context-watch/index.cjs +95 -68
  207. package/hooks/hooks.json +111 -111
  208. package/hooks/metrics-collector/index.cjs +86 -42
  209. package/hooks/post-session-reflect/index.cjs +189 -153
  210. package/hooks/pre-compact/index.cjs +95 -95
  211. package/hooks/run-hook.cmd +1 -1
  212. package/hooks/secrets-scan/index.cjs +100 -100
  213. package/hooks/session-start/index.cjs +71 -65
  214. package/hooks/typecheck/index.cjs +65 -65
  215. package/package.json +63 -63
  216. package/references/ui-pro-max-data/LICENSE-UI-PRO-MAX +21 -21
  217. package/references/ui-pro-max-data/charts.csv +26 -26
  218. package/references/ui-pro-max-data/colors.csv +161 -161
  219. package/references/ui-pro-max-data/styles.csv +68 -68
  220. package/references/ui-pro-max-data/typography.csv +74 -74
  221. package/references/ui-pro-max-data/ui-reasoning.csv +162 -162
  222. package/references/ui-pro-max-data/ux-guidelines.csv +99 -99
  223. package/skills/adversary/SKILL.md +283 -283
  224. package/skills/asset-creator/SKILL.md +157 -157
  225. package/skills/audit/SKILL.md +148 -2
  226. package/skills/autopsy/SKILL.md +335 -259
  227. package/skills/autopsy/references/repo-analysis-patterns.md +113 -0
  228. package/skills/ba/SKILL.md +72 -2
  229. package/skills/brainstorm/SKILL.md +342 -341
  230. package/skills/browser-pilot/SKILL.md +168 -168
  231. package/skills/constraint-check/SKILL.md +165 -165
  232. package/skills/context-engine/SKILL.md +404 -404
  233. package/skills/cook/SKILL.md +917 -834
  234. package/skills/cook/references/output-format.md +33 -0
  235. package/skills/db/SKILL.md +273 -272
  236. package/skills/debug/SKILL.md +465 -443
  237. package/skills/dependency-doctor/SKILL.md +265 -235
  238. package/skills/deploy/SKILL.md +274 -231
  239. package/skills/design/DESIGN-REFERENCE.md +365 -365
  240. package/skills/design/SKILL.md +589 -482
  241. package/skills/doc-processor/SKILL.md +254 -254
  242. package/skills/docs/SKILL.md +374 -373
  243. package/skills/docs-seeker/SKILL.md +177 -177
  244. package/skills/fix/SKILL.md +330 -308
  245. package/skills/git/SKILL.md +339 -339
  246. package/skills/graft/SKILL.md +352 -0
  247. package/skills/graft/references/challenge-framework.md +98 -0
  248. package/skills/graft/references/mode-decision.md +44 -0
  249. package/skills/hallucination-guard/SKILL.md +219 -219
  250. package/skills/incident/SKILL.md +254 -251
  251. package/skills/integrity-check/SKILL.md +169 -169
  252. package/skills/journal/SKILL.md +240 -238
  253. package/skills/launch/SKILL.md +344 -342
  254. package/skills/logic-guardian/SKILL.md +251 -251
  255. package/skills/marketing/SKILL.md +290 -245
  256. package/skills/mcp-builder/SKILL.md +425 -423
  257. package/skills/mcp-builder/references/auto-discovery-pattern.md +169 -0
  258. package/skills/neural-memory/SKILL.md +362 -362
  259. package/skills/onboard/SKILL.md +404 -403
  260. package/skills/perf/SKILL.md +346 -346
  261. package/skills/plan/SKILL.md +433 -370
  262. package/skills/plan/references/feature-map.md +84 -0
  263. package/skills/preflight/SKILL.md +415 -396
  264. package/skills/problem-solver/SKILL.md +380 -284
  265. package/skills/rescue/SKILL.md +474 -450
  266. package/skills/retro/SKILL.md +5 -1
  267. package/skills/review/SKILL.md +612 -535
  268. package/skills/review-intake/SKILL.md +249 -249
  269. package/skills/safeguard/SKILL.md +200 -200
  270. package/skills/sast/SKILL.md +190 -190
  271. package/skills/scaffold/SKILL.md +328 -286
  272. package/skills/scope-guard/SKILL.md +180 -162
  273. package/skills/scout/SKILL.md +263 -263
  274. package/skills/sentinel/SKILL.md +382 -353
  275. package/skills/sentinel-env/SKILL.md +254 -254
  276. package/skills/sequential-thinking/SKILL.md +234 -234
  277. package/skills/session-bridge/SKILL.md +543 -397
  278. package/skills/skill-forge/SKILL.md +581 -539
  279. package/skills/skill-router/{skill.md → SKILL.md} +30 -2
  280. package/skills/surgeon/SKILL.md +215 -215
  281. package/skills/team/SKILL.md +556 -514
  282. package/skills/test/SKILL.md +614 -587
  283. package/skills/trend-scout/SKILL.md +145 -145
  284. package/skills/verification/SKILL.md +326 -325
  285. package/skills/video-creator/SKILL.md +201 -201
  286. package/skills/watchdog/SKILL.md +168 -168
  287. package/skills/worktree/SKILL.md +140 -140
@@ -1,245 +1,290 @@
1
- ---
2
- name: marketing
3
- description: Create marketing assets and execute launch strategy. Generates landing copy, social banners, SEO meta, blog posts, and video scripts.
4
- metadata:
5
- author: runedev
6
- version: "0.3.0"
7
- layer: L2
8
- model: sonnet
9
- group: delivery
10
- tools: "Read, Write, Edit, Glob, Grep, WebFetch, WebSearch"
11
- ---
12
-
13
- # marketing
14
-
15
- ## Purpose
16
-
17
- Create marketing assets and execute launch strategy. Marketing generates landing page copy, social media banners, SEO metadata, blog posts, and video scripts. Analyzes the project to create authentic, data-driven marketing content.
18
-
19
- ## Called By (inbound)
20
-
21
- - `launch` (L1): Phase 4 MARKET — marketing phase of launch pipeline
22
- - User: `/rune marketing` direct invocation
23
-
24
- ## Calls (outbound)
25
-
26
- - `scout` (L2): scan codebase for features, README, value props
27
- - `trend-scout` (L3): market trends, competitor positioning
28
- - `research` (L3): competitor analysis, SEO keyword data
29
- - `asset-creator` (L3): generate OG images, social cards, banners
30
- - `video-creator` (L3): create demo/explainer video plan
31
- - `slides` (L3): generate presentation decks for launches and demos
32
- - `browser-pilot` (L3): capture screenshots for marketing assets
33
- - L4 extension packs: domain-specific content when context matches (e.g., @rune/content for blog posts, @rune/analytics for campaign measurement)
34
-
35
- ## Execution Steps
36
-
37
- ### Step 1 — Understand the product
38
-
39
- Call `rune:scout` to scan the codebase. Ask scout to extract:
40
- - Feature list (what the product actually does)
41
- - README summary
42
- - Target audience signals (from code, comments, config)
43
- - Tech stack (relevant for developer marketing)
44
-
45
- Read any existing `marketing/`, `docs/`, or `landing/` directories if present.
46
-
47
- ### Step 2 — Research market
48
-
49
- Call `rune:trend-scout` with the product category to identify:
50
- - Top 3 competitors and their positioning
51
- - Current market trends relevant to this product
52
- - Differentiators to emphasize
53
-
54
- Call `rune:research` for:
55
- - SEO keyword opportunities (volume vs. competition)
56
- - Competitor messaging patterns to avoid or counter
57
-
58
- ### Step 2.5 Establish Brand Voice
59
-
60
- Before generating any copy, define the brand voice contract. This prevents inconsistent tone across marketing assets.
61
-
62
- **Brand Voice Matrix** — answer these for the product:
63
-
64
- | Dimension | Spectrum | This product |
65
- |-----------|----------|--------------|
66
- | Formality | Casual ←→ Formal | [position] |
67
- | Humor | Serious ←→ Playful | [position] |
68
- | Authority | Peer ←→ Expert | [position] |
69
- | Warmth | Clinical ←→ Friendly | [position] |
70
- | Urgency | Patient ←→ Urgent | [position] |
71
-
72
- **Voice rules** (generate 3-5):
73
- - "We say [X], never [Y]" — e.g., "We say 'start free', never 'sign up now'"
74
- - "Our tone is [X] because our users are [Y]"
75
- - "Avoid [specific words/phrases] because [reason]"
76
-
77
- **Vocabulary list** (5-10 terms):
78
- - Preferred terms: [words this brand uses]
79
- - Forbidden terms: [words to avoid and why]
80
- - Jargon policy: [use/avoid/explain technical terms]
81
-
82
- Save voice contract to `marketing/brand-voice.md`. All subsequent copy MUST follow this voice.
83
-
84
- If `marketing/brand-voice.md` already exists → Read it and apply. Do NOT regenerate without user request.
85
-
86
- ### Step 3 — Generate copy
87
-
88
- Using product understanding, market research, and **brand voice contract**, produce:
89
-
90
- **Hero section**
91
- - Headline (under 10 words, outcome-focused)
92
- - Subheadline (1-2 sentences expanding the promise)
93
- - Primary CTA button text
94
-
95
- **Value propositions** (3 items)
96
- - Icon/emoji, title, 1-sentence description each
97
-
98
- **Feature list** (pulled from Step 1 scout output)
99
- - Name + benefit phrasing for each feature
100
-
101
- **Social proof section** (placeholder copy if no real testimonials)
102
-
103
- **Secondary CTA** (bottom of page)
104
-
105
- ### Step 4 — Social posts
106
-
107
- Produce ready-to-post content:
108
-
109
- **Twitter/X thread** (5-7 tweets)
110
- - Tweet 1: hook (the big claim)
111
- - Tweets 2-5: one feature or benefit per tweet with specifics
112
- - Tweet 6: social proof or stat
113
- - Tweet 7: CTA with link
114
-
115
- **LinkedIn post** (150-300 words)
116
- - Professional tone, problem-solution-proof structure
117
-
118
- **Product Hunt tagline** (under 60 characters)
119
-
120
- ### Step 5 SEO metadata
121
-
122
- Produce for the landing page:
123
-
124
- ```html
125
- <title>[Meta title under 60 chars, primary keyword first]</title>
126
- <meta name="description" content="[150-160 chars, includes CTA]">
127
- <meta property="og:title" content="[OG title]">
128
- <meta property="og:description" content="[OG description]">
129
- <meta property="og:image" content="[OG image path]">
130
- <link rel="canonical" href="[canonical URL]">
131
- ```
132
-
133
- Target keywords list (5-10 terms with rationale).
134
-
135
- ### Step 5.5 SEO Audit (if existing site)
136
-
137
- If the project already has a deployed site or existing pages, run a technical SEO audit before generating new metadata.
138
-
139
- **Automated checks** (use Grep + Read on codebase):
140
-
141
- 1. **Meta tags completeness**: Every page has `<title>`, `<meta description>`, `og:title`, `og:description`, `og:image`. Flag pages missing any.
142
- 2. **Heading hierarchy**: Every page has exactly one `<h1>`. No skipped levels (h1→h3 without h2). Use Grep for `<h1`, `<h2`, `<h3` patterns.
143
- 3. **Image alt text**: Search for `<img` without `alt=` attribute. Every image needs descriptive alt text (not "image", not empty).
144
- 4. **Canonical URLs**: Check for `<link rel="canonical"`. Missing canonical = duplicate content risk.
145
- 5. **Structured data**: Check for `application/ld+json` or microdata. Recommend adding if missing (Product, Organization, Article schemas).
146
- 6. **Performance signals**: Check for `next/image` or lazy loading on images. Flag `<img>` without `loading="lazy"` below fold.
147
- 7. **Sitemap**: Check for `sitemap.xml` or sitemap generation in build config. Flag if missing.
148
- 8. **Robots**: Check for `robots.txt`. Verify it doesn't accidentally block important pages.
149
-
150
- **Output**: SEO Audit Report with pass/fail per check. Save to `marketing/seo-audit.md`.
151
-
152
- Fix critical SEO issues (missing titles, broken heading hierarchy) in the implementation plan. Non-critical issues go to `marketing/seo-backlog.md`.
153
-
154
- ### Step 6 Visual assets
155
-
156
- Call `rune:asset-creator` to generate:
157
- - OG image (1200x630px) product name, tagline, brand colors
158
- - Twitter card image (1200x628px)
159
- - Product Hunt thumbnail (240x240px)
160
-
161
- Call `rune:video-creator` to produce:
162
- - 60-second demo video script (screen recording plan)
163
- - Shot list with timestamps
164
-
165
- Call `rune:slides` to generate presentation decks for launch demos, sprint reviews, or investor pitches.
166
-
167
- If `rune:browser-pilot` is available, capture screenshots of the running app to use as real product imagery.
168
-
169
- ### Step 7 Present for approval
170
-
171
- Output all assets as structured markdown sections. Present to user for review before saving files.
172
-
173
- After user approves, use `Write` to save:
174
- - `marketing/brand-voice.md` — voice contract from Step 2.5
175
- - `marketing/landing-copy.md` all copy from Step 3
176
- - `marketing/social-posts.md` — all posts from Step 4
177
- - `marketing/seo-meta.json` — SEO data from Step 5
178
- - `marketing/seo-audit.md` — SEO audit results from Step 5.5 (if existing site)
179
- - `marketing/video-script.md` — video plan from Step 6
180
-
181
- ## Constraints
182
-
183
- 1. MUST base all claims on actual product capabilities — no aspirational features
184
- 2. MUST verify deploy is live before generating marketing materials
185
- 3. MUST NOT fabricate testimonials, stats, or benchmarks
186
- 4. MUST include accurate technical details — wrong tech specs destroy credibility
187
-
188
- ## Output Format
189
-
190
- ```
191
- ## Marketing Assets
192
- - **Landing Copy**: [generated — headline, subheadline, value props, features, CTAs]
193
- - **Social Posts**: Twitter thread (N tweets), LinkedIn post, PH tagline
194
- - **SEO Metadata**: title, description, OG tags, N target keywords
195
- - **Visuals**: OG image, Twitter card, PH thumbnail
196
- - **Video**: 60s demo script with shot list
197
-
198
- ### Generated Files
199
- - marketing/landing-copy.md
200
- - marketing/social-posts.md
201
- - marketing/seo-meta.json
202
- - marketing/video-script.md
203
- ```
204
-
205
- ## Sharp Edges
206
-
207
- Known failure modes for this skill. Check these before declaring done.
208
-
209
- | Failure Mode | Severity | Mitigation |
210
- |---|---|---|
211
- | Fabricating statistics, benchmarks, or testimonials | CRITICAL | Constraint 3: no fabrication — if no real stats exist, use honest placeholder copy |
212
- | Generating copy before deploy verified live | HIGH | Constraint 2: deploy must be confirmed live before marketing runs |
213
- | Copy not based on actual codebase features (invented value props) | HIGH | scout must run in Step 1 — features extracted from actual code, not assumptions |
214
- | Missing SEO keyword analysis (no research call) | MEDIUM | Step 2: research call for keyword data is mandatory for SEO section |
215
- | Files saved without user approval | MEDIUM | Step 7: present ALL assets to user, wait for approval before writing files |
216
-
217
- ## Done When
218
-
219
- - scout completed and actual feature list extracted
220
- - Brand voice contract established (or existing one loaded)
221
- - Competitor/trend analysis done via trend-scout + research
222
- - Hero copy, value props, social posts, and SEO metadata generated (following brand voice)
223
- - SEO audit completed (if existing site) with pass/fail results
224
- - Visual assets requested from asset-creator
225
- - Video script requested from video-creator (if requested)
226
- - User has approved all content
227
- - Files saved to marketing/ directory
228
- - Marketing Assets report emitted with file list
229
-
230
- ## Returns
231
-
232
- | Artifact | Format | Location |
233
- |----------|--------|----------|
234
- | Brand voice contract | Markdown | `marketing/brand-voice.md` |
235
- | Landing page copy | Markdown | `marketing/landing-copy.md` |
236
- | Social media posts | Markdown | `marketing/social-posts.md` |
237
- | SEO metadata | JSON | `marketing/seo-meta.json` |
238
- | SEO audit report | Markdown | `marketing/seo-audit.md` |
239
- | Video demo script | Markdown | `marketing/video-script.md` |
240
-
241
- ## Cost Profile
242
-
243
- ~2000-5000 tokens input, ~1000-3000 tokens output. Sonnet for copywriting quality.
244
-
245
- **Scope guardrail:** marketing generates assets based on actual product capabilities only — no aspirational copy, no fabricated stats.
1
+ ---
2
+ name: marketing
3
+ description: Create marketing assets and execute launch strategy. Generates landing copy, social banners, SEO meta, blog posts, and video scripts.
4
+ metadata:
5
+ author: runedev
6
+ version: "0.4.0"
7
+ layer: L2
8
+ model: sonnet
9
+ group: delivery
10
+ tools: "Read, Write, Edit, Glob, Grep, WebFetch, WebSearch"
11
+ ---
12
+
13
+ # marketing
14
+
15
+ ## Purpose
16
+
17
+ Create marketing assets and execute launch strategy. Marketing generates landing page copy, social media banners, SEO metadata, blog posts, and video scripts. Analyzes the project to create authentic, data-driven marketing content.
18
+
19
+ ## Called By (inbound)
20
+
21
+ - `launch` (L1): Phase 4 MARKET — marketing phase of launch pipeline
22
+ - User: `/rune marketing` direct invocation
23
+
24
+ ## Calls (outbound)
25
+
26
+ - `scout` (L2): scan codebase for features, README, value props
27
+ - `trend-scout` (L3): market trends, competitor positioning
28
+ - `research` (L3): competitor analysis, SEO keyword data
29
+ - `asset-creator` (L3): generate OG images, social cards, banners
30
+ - `video-creator` (L3): create demo/explainer video plan
31
+ - `slides` (L3): generate presentation decks for launches and demos
32
+ - `doc-processor` (L3): export marketing deliverables as PDF/DOCX (press kits, one-pagers, sponsor decks)
33
+ - `browser-pilot` (L3): capture screenshots for marketing assets
34
+ - L4 extension packs: domain-specific content when context matches (e.g., @rune/content for blog posts, @rune/analytics for campaign measurement)
35
+ - `@rune-pro/growth/content-scorer` (L4 Pro, optional): 5-dimension content quality gate — if available, score all generated copy for AI phrase contamination and humanity
36
+ - `@rune-pro/growth/cro-analyst` (L4 Pro, optional): psychology-driven CRO analysis for landing pages — if available, audit generated landing copy through 7 behavioral lenses
37
+
38
+ ## Execution Steps
39
+
40
+ ### Step 1 Understand the product
41
+
42
+ Call `rune:scout` to scan the codebase. Ask scout to extract:
43
+ - Feature list (what the product actually does)
44
+ - README summary
45
+ - Target audience signals (from code, comments, config)
46
+ - Tech stack (relevant for developer marketing)
47
+
48
+ Read any existing `marketing/`, `docs/`, or `landing/` directories if present.
49
+
50
+ ### Step 2 Research market
51
+
52
+ Call `rune:trend-scout` with the product category to identify:
53
+ - Top 3 competitors and their positioning
54
+ - Current market trends relevant to this product
55
+ - Differentiators to emphasize
56
+
57
+ Call `rune:research` for:
58
+ - SEO keyword opportunities (volume vs. competition)
59
+ - Competitor messaging patterns to avoid or counter
60
+
61
+ ### Step 2.5 — Establish Brand Voice
62
+
63
+ Before generating any copy, define the brand voice contract. This prevents inconsistent tone across marketing assets.
64
+
65
+ **Brand Voice Matrix** — answer these for the product:
66
+
67
+ | Dimension | Spectrum | This product |
68
+ |-----------|----------|--------------|
69
+ | Formality | Casual ←→ Formal | [position] |
70
+ | Humor | Serious ←→ Playful | [position] |
71
+ | Authority | Peer ←→ Expert | [position] |
72
+ | Warmth | Clinical ←→ Friendly | [position] |
73
+ | Urgency | Patient ←→ Urgent | [position] |
74
+
75
+ **Voice rules** (generate 3-5):
76
+ - "We say [X], never [Y]" — e.g., "We say 'start free', never 'sign up now'"
77
+ - "Our tone is [X] because our users are [Y]"
78
+ - "Avoid [specific words/phrases] because [reason]"
79
+
80
+ **Vocabulary list** (5-10 terms):
81
+ - Preferred terms: [words this brand uses]
82
+ - Forbidden terms: [words to avoid and why]
83
+ - Jargon policy: [use/avoid/explain technical terms]
84
+
85
+ Save voice contract to `marketing/brand-voice.md`. All subsequent copy MUST follow this voice.
86
+
87
+ If `marketing/brand-voice.md` already exists → Read it and apply. Do NOT regenerate without user request.
88
+
89
+ ### Step 3 — Generate copy
90
+
91
+ Using product understanding, market research, and **brand voice contract**, produce:
92
+
93
+ **Anti-AI Copy Rules** (apply to ALL generated copy):
94
+ - NEVER open with "In today's...", "Are you struggling with...", "Have you ever wondered..."
95
+ - NEVER use: "game-changer", "revolutionary", "seamlessly", "leverage", "unlock the power of", "dive deep into", "delve", "robust", "streamline", "cutting-edge"
96
+ - MUST use one of 5 hook types for headlines: Provocative Question, Specific Scenario, Surprising Statistic, Bold Statement, or Counterintuitive Claim
97
+ - MUST include specific numbers, names, or outcomes — not vague claims ("many users love it")
98
+ - If the copy sounds like it was written by a generic AI → rewrite until it has personality
99
+
100
+ **Hero section**
101
+ - Headline (under 10 words, outcome-focused, uses one of the 5 hook types above)
102
+ - Subheadline (1-2 sentences expanding the promise)
103
+ - Primary CTA button text
104
+
105
+ **Value propositions** (3 items)
106
+ - Icon/emoji, title, 1-sentence description each
107
+
108
+ **Feature list** (pulled from Step 1 scout output)
109
+ - Name + benefit phrasing for each feature
110
+
111
+ **Social proof section** (placeholder copy if no real testimonials)
112
+
113
+ **Secondary CTA** (bottom of page)
114
+
115
+ ### Step 4 — Social posts
116
+
117
+ Produce ready-to-post content:
118
+
119
+ **Twitter/X thread** (5-7 tweets)
120
+ - Tweet 1: hook (the big claim)
121
+ - Tweets 2-5: one feature or benefit per tweet with specifics
122
+ - Tweet 6: social proof or stat
123
+ - Tweet 7: CTA with link
124
+
125
+ **LinkedIn post** (150-300 words)
126
+ - Professional tone, problem-solution-proof structure
127
+
128
+ **Product Hunt tagline** (under 60 characters)
129
+
130
+ ### Step 5 — SEO metadata
131
+
132
+ Produce for the landing page:
133
+
134
+ ```html
135
+ <title>[Meta titleunder 60 chars, primary keyword first]</title>
136
+ <meta name="description" content="[150-160 chars, includes CTA]">
137
+ <meta property="og:title" content="[OG title]">
138
+ <meta property="og:description" content="[OG description]">
139
+ <meta property="og:image" content="[OG image path]">
140
+ <link rel="canonical" href="[canonical URL]">
141
+ ```
142
+
143
+ Target keywords list (5-10 terms with rationale).
144
+
145
+ ### Step 5.5 SEO Audit (if existing site)
146
+
147
+ If the project already has a deployed site or existing pages, run a technical SEO audit before generating new metadata.
148
+
149
+ **Automated checks** (use Grep + Read on codebase):
150
+
151
+ 1. **Meta tags completeness**: Every page has `<title>`, `<meta description>`, `og:title`, `og:description`, `og:image`. Flag pages missing any.
152
+ 2. **Heading hierarchy**: Every page has exactly one `<h1>`. No skipped levels (h1→h3 without h2). Use Grep for `<h1`, `<h2`, `<h3` patterns.
153
+ 3. **Image alt text**: Search for `<img` without `alt=` attribute. Every image needs descriptive alt text (not "image", not empty).
154
+ 4. **Canonical URLs**: Check for `<link rel="canonical"`. Missing canonical = duplicate content risk.
155
+ 5. **Structured data**: Check for `application/ld+json` or microdata. Recommend adding if missing (Product, Organization, Article schemas).
156
+ 6. **Performance signals**: Check for `next/image` or lazy loading on images. Flag `<img>` without `loading="lazy"` below fold.
157
+ 7. **Sitemap**: Check for `sitemap.xml` or sitemap generation in build config. Flag if missing.
158
+ 8. **Robots**: Check for `robots.txt`. Verify it doesn't accidentally block important pages.
159
+
160
+ **9. Schema Markup**: Check for `application/ld+json` blocks. Recommend adding relevant types:
161
+
162
+ | Content Type | Schema Type | Key Properties |
163
+ |-------------|-------------|---------------|
164
+ | Product page | `Product` | name, description, offers, review, aggregateRating |
165
+ | Article/Blog | `Article` | headline, author, datePublished, dateModified, image |
166
+ | FAQ section | `FAQPage` | mainEntity[].name, mainEntity[].acceptedAnswer |
167
+ | How-to guide | `HowTo` | name, step[].name, step[].text, totalTime |
168
+ | Organization | `Organization` | name, url, logo, sameAs[] |
169
+ | Breadcrumbs | `BreadcrumbList` | itemListElement[].name, itemListElement[].item |
170
+ | Software | `SoftwareApplication` | name, operatingSystem, applicationCategory, offers |
171
+ | Review | `Review` | itemReviewed, reviewRating, author, reviewBody |
172
+ | Comparison | `ItemList` | itemListElement[] with individual Product/Review schemas |
173
+ | Local biz | `LocalBusiness` | name, address, telephone, openingHoursSpecification |
174
+
175
+ Use `@graph` pattern to combine multiple schema types on a single page:
176
+ ```json
177
+ {
178
+ "@context": "https://schema.org",
179
+ "@graph": [
180
+ { "@type": "Organization", ... },
181
+ { "@type": "WebPage", ... },
182
+ { "@type": "BreadcrumbList", ... }
183
+ ]
184
+ }
185
+ ```
186
+
187
+ **10. Programmatic SEO awareness**: If the site has repeatable content patterns (product listings, city pages, comparison pages), note the opportunity for template-driven SEO pages. Common playbooks:
188
+ - **Templates**: `best [tool] for [persona]` pages across personas
189
+ - **Comparisons**: `[product A] vs [product B]` for all competitor pairs
190
+ - **Locations**: `[service] in [city]` for local reach
191
+ - **Integrations**: `[product] + [integration]` for every supported integration
192
+
193
+ Flag programmatic SEO opportunities in the audit report. Execution details are in `@rune-pro/growth` pack.
194
+
195
+ **Output**: SEO Audit Report with pass/fail per check. Save to `marketing/seo-audit.md`.
196
+
197
+ Fix critical SEO issues (missing titles, broken heading hierarchy) in the implementation plan. Non-critical issues go to `marketing/seo-backlog.md`.
198
+
199
+ ### Step 6 — Visual assets
200
+
201
+ Call `rune:asset-creator` to generate:
202
+ - OG image (1200x630px) — product name, tagline, brand colors
203
+ - Twitter card image (1200x628px)
204
+ - Product Hunt thumbnail (240x240px)
205
+
206
+ Call `rune:video-creator` to produce:
207
+ - 60-second demo video script (screen recording plan)
208
+ - Shot list with timestamps
209
+
210
+ Call `rune:slides` to generate presentation decks for launch demos, sprint reviews, or investor pitches.
211
+
212
+ If `rune:browser-pilot` is available, capture screenshots of the running app to use as real product imagery.
213
+
214
+ ### Step 7 Present for approval
215
+
216
+ Output all assets as structured markdown sections. Present to user for review before saving files.
217
+
218
+ After user approves, use `Write` to save:
219
+ - `marketing/brand-voice.md` voice contract from Step 2.5
220
+ - `marketing/landing-copy.md` all copy from Step 3
221
+ - `marketing/social-posts.md` all posts from Step 4
222
+ - `marketing/seo-meta.json` SEO data from Step 5
223
+ - `marketing/seo-audit.md` — SEO audit results from Step 5.5 (if existing site)
224
+ - `marketing/video-script.md` video plan from Step 6
225
+
226
+ ## Constraints
227
+
228
+ 1. MUST base all claims on actual product capabilities — no aspirational features
229
+ 2. MUST verify deploy is live before generating marketing materials
230
+ 3. MUST NOT fabricate testimonials, stats, or benchmarks
231
+ 4. MUST include accurate technical details — wrong tech specs destroy credibility
232
+
233
+ ## Output Format
234
+
235
+ ```
236
+ ## Marketing Assets
237
+ - **Landing Copy**: [generated headline, subheadline, value props, features, CTAs]
238
+ - **Social Posts**: Twitter thread (N tweets), LinkedIn post, PH tagline
239
+ - **SEO Metadata**: title, description, OG tags, N target keywords
240
+ - **Visuals**: OG image, Twitter card, PH thumbnail
241
+ - **Video**: 60s demo script with shot list
242
+
243
+ ### Generated Files
244
+ - marketing/landing-copy.md
245
+ - marketing/social-posts.md
246
+ - marketing/seo-meta.json
247
+ - marketing/video-script.md
248
+ ```
249
+
250
+ ## Sharp Edges
251
+
252
+ Known failure modes for this skill. Check these before declaring done.
253
+
254
+ | Failure Mode | Severity | Mitigation |
255
+ |---|---|---|
256
+ | Fabricating statistics, benchmarks, or testimonials | CRITICAL | Constraint 3: no fabrication — if no real stats exist, use honest placeholder copy |
257
+ | Generating copy before deploy verified live | HIGH | Constraint 2: deploy must be confirmed live before marketing runs |
258
+ | Copy not based on actual codebase features (invented value props) | HIGH | scout must run in Step 1 — features extracted from actual code, not assumptions |
259
+ | Missing SEO keyword analysis (no research call) | MEDIUM | Step 2: research call for keyword data is mandatory for SEO section |
260
+ | Files saved without user approval | MEDIUM | Step 7: present ALL assets to user, wait for approval before writing files |
261
+
262
+ ## Done When
263
+
264
+ - scout completed and actual feature list extracted
265
+ - Brand voice contract established (or existing one loaded)
266
+ - Competitor/trend analysis done via trend-scout + research
267
+ - Hero copy, value props, social posts, and SEO metadata generated (following brand voice)
268
+ - SEO audit completed (if existing site) with pass/fail results
269
+ - Visual assets requested from asset-creator
270
+ - Video script requested from video-creator (if requested)
271
+ - User has approved all content
272
+ - Files saved to marketing/ directory
273
+ - Marketing Assets report emitted with file list
274
+
275
+ ## Returns
276
+
277
+ | Artifact | Format | Location |
278
+ |----------|--------|----------|
279
+ | Brand voice contract | Markdown | `marketing/brand-voice.md` |
280
+ | Landing page copy | Markdown | `marketing/landing-copy.md` |
281
+ | Social media posts | Markdown | `marketing/social-posts.md` |
282
+ | SEO metadata | JSON | `marketing/seo-meta.json` |
283
+ | SEO audit report | Markdown | `marketing/seo-audit.md` |
284
+ | Video demo script | Markdown | `marketing/video-script.md` |
285
+
286
+ ## Cost Profile
287
+
288
+ ~2000-5000 tokens input, ~1000-3000 tokens output. Sonnet for copywriting quality.
289
+
290
+ **Scope guardrail:** marketing generates assets based on actual product capabilities only — no aspirational copy, no fabricated stats.