/content-gen
Generate a promotion content pack from a project's PRD or README. Produces 3 ready-to-use content pieces: LinkedIn post, Reddit answer draft, and Twitter/X thread. For video scripts, use /video-promo.
MCP Tools (use if available)
kb_search(query) — find related methodology and principles
project_info(name) — get project details, stack, description
project_code_search(query, project) — find key features in codebase
If MCP tools are not available, fall back to Glob + Grep + Read.
Steps
Parse project from $ARGUMENTS.
- If project name: find PRD at
docs/prd.md, or README.md, or CLAUDE.md.
- If path: read directly.
- If empty: ask via AskUserQuestion — "Which project to generate content for?"
Extract core messaging from PRD/README (parallel reads):
- Problem: What pain does this solve? (1 sentence)
- Solution: What does the product do? (1 sentence)
- ICP: Who is the target user? (persona)
- Key features: Top 3-5 differentiating features
- Unique angle: What nobody else does (gap from research.md if exists)
- Social proof: Any metrics, users, downloads (if available)
Forced reasoning — messaging framework:
Before generating content, write out:
- Hook: What stops the scroll? (pain point or surprising stat)
- Proof: Why should they believe you? (demo, numbers, authority)
- CTA: What's the one action? (try, sign up, download)
- Tone: Based on ICP — casual/professional/technical/friendly
Generate content pieces:
4a. LinkedIn Post
Format: Hook line → Story (before/after) → Insight → CTA
- 1300-1500 chars max
- First line is the hook (visible before "see more")
- Use line breaks for readability
- End with question to drive engagement
4b. Reddit Answer Draft
Format: Helpful answer that naturally mentions the product
- NOT promotional — value-first, product mention is secondary
- Suggest 3-5 subreddits where this would be relevant
- Write as if answering someone's genuine question
- Include "disclaimer: I built this" transparency
4c. Twitter/X Thread (5-7 tweets)
Format: Hook tweet → Problem → Solution → Demo → Social proof → CTA
- Each tweet: 240-280 chars max
- Tweet 1: standalone hook (works without thread)
- Last tweet: CTA with link
- Include emoji sparingly (1-2 per tweet max)
Generate Release Notes (if project has git history):
git log --oneline --since="1 month ago" 2>/dev/null | head -20
If commits exist, generate user-facing release notes:
- Group by: New features, Improvements, Bug fixes
- Translate technical commit messages into user language
- Skip internal commits (chore, refactor, test, docs)
- Keep tone consistent with ICP (casual for consumer, professional for B2B)
Format:
## What's New (v{version})
**New**
- {user-facing feature description}
**Improved**
- {improvement in user terms}
**Fixed**
- {bug fix in user terms}
Include in content pack. If no git history, skip this section.
Write content pack to docs/content-pack.md:
# Content Pack: {Project Name}
**Generated:** {YYYY-MM-DD}
**ICP:** {target persona}
**Core message:** {one-line value prop}
## Messaging Framework
- **Hook:** {hook}
- **Proof:** {proof}
- **CTA:** {cta}
---
## 1. LinkedIn Post
{ready to copy-paste}
## 2. Reddit Draft
**Target subreddits:** r/..., r/..., r/...
{answer draft}
## 3. Twitter/X Thread
{numbered tweets}
## 4. Release Notes
{release notes from step 5, or "No git history — skipped"}
> For video script, run `/video-promo {project}`.
---
*Generated by /content-gen. Edit before publishing.*
Output summary — print core message + list of generated content pieces.
Notes
- All content is draft — always review before publishing
- Reddit draft should feel genuinely helpful, not promotional
- For video scripts, use
/video-promo (owns video generation entirely)
- Rerun after major product updates to refresh messaging
- Works best with detailed PRD — falls back to README if no PRD
Gotchas
- LinkedIn algorithm penalizes external links — links in the post body reduce reach by 40-50%. Put the link in the FIRST COMMENT instead, and mention "link in comments" in the post.
- Twitter/X thread hooks must work standalone — tweet 1 appears alone in feeds without the thread. If it doesn't grab attention by itself, no one clicks "Show this thread".
- Reddit self-promotion rules — most subreddits enforce a 10:1 ratio (10 helpful comments per 1 promotional post). A brand-new account posting product links gets instantly removed.
- AI writing patterns are detectable — em dashes, "game-changer", "dive into", rule-of-three lists, "In today's fast-paced world". Run output through
/humanize before publishing.
- Release notes ≠ changelog — user-facing release notes should describe BENEFITS ("faster checkout"), not technical changes ("refactored payment module"). Skip internal commits entirely.
Common Issues
No PRD found
Cause: Project doesn't have docs/prd.md or README.
Fix: Provide a project path with PRD, or run /validate first to generate one.
Content too generic
Cause: PRD lacks specific differentiators or ICP details.
Fix: Ensure PRD has detailed problem statement, ICP persona, and unique angle. Add research.md for competitive context.
Wrong tone for audience
Cause: ICP not clearly defined in PRD.
Fix: Specify the target audience in PRD. LinkedIn = professional, Reddit = casual/technical, Twitter = punchy/conversational.
1---2name: solo-content-gen3description: Use when "create content", "write LinkedIn post", "social media pack", "marketing copy", "promotion content", or need social posts from PRD. Do NOT use for community thread responses (/community-outreach) or video scripts (/video-promo).4license: MIT5---67# /content-gen89Generate a promotion content pack from a project's PRD or README. Produces 3 ready-to-use content pieces: LinkedIn post, Reddit answer draft, and Twitter/X thread. For video scripts, use `/video-promo`.1011## MCP Tools (use if available)1213- `kb_search(query)` — find related methodology and principles14- `project_info(name)` — get project details, stack, description15- `project_code_search(query, project)` — find key features in codebase1617If MCP tools are not available, fall back to Glob + Grep + Read.1819## Steps20211. **Parse project** from `$ARGUMENTS`.22 - If project name: find PRD at `docs/prd.md`, or README.md, or CLAUDE.md.23 - If path: read directly.24 - If empty: ask via AskUserQuestion — "Which project to generate content for?"25262. **Extract core messaging** from PRD/README (parallel reads):27 - **Problem:** What pain does this solve? (1 sentence)28 - **Solution:** What does the product do? (1 sentence)29 - **ICP:** Who is the target user? (persona)30 - **Key features:** Top 3-5 differentiating features31 - **Unique angle:** What nobody else does (gap from research.md if exists)32 - **Social proof:** Any metrics, users, downloads (if available)33343. **Forced reasoning — messaging framework:**35 Before generating content, write out:36 - **Hook:** What stops the scroll? (pain point or surprising stat)37 - **Proof:** Why should they believe you? (demo, numbers, authority)38 - **CTA:** What's the one action? (try, sign up, download)39 - **Tone:** Based on ICP — casual/professional/technical/friendly40414. **Generate content pieces:**4243 ### 4a. LinkedIn Post44 Format: Hook line → Story (before/after) → Insight → CTA45 - 1300-1500 chars max46 - First line is the hook (visible before "see more")47 - Use line breaks for readability48 - End with question to drive engagement4950 ### 4b. Reddit Answer Draft51 Format: Helpful answer that naturally mentions the product52 - NOT promotional — value-first, product mention is secondary53 - Suggest 3-5 subreddits where this would be relevant54 - Write as if answering someone's genuine question55 - Include "disclaimer: I built this" transparency5657 ### 4c. Twitter/X Thread (5-7 tweets)58 Format: Hook tweet → Problem → Solution → Demo → Social proof → CTA59 - Each tweet: 240-280 chars max60 - Tweet 1: standalone hook (works without thread)61 - Last tweet: CTA with link62 - Include emoji sparingly (1-2 per tweet max)63645. **Generate Release Notes** (if project has git history):6566 ```bash67 git log --oneline --since="1 month ago" 2>/dev/null | head -2068 ```6970 If commits exist, generate user-facing release notes:71 - Group by: New features, Improvements, Bug fixes72 - Translate technical commit messages into user language73 - Skip internal commits (chore, refactor, test, docs)74 - Keep tone consistent with ICP (casual for consumer, professional for B2B)7576 Format:77 ```markdown78 ## What's New (v{version})7980 **New**81 - {user-facing feature description}8283 **Improved**84 - {improvement in user terms}8586 **Fixed**87 - {bug fix in user terms}88 ```8990 Include in content pack. If no git history, skip this section.91926. **Write content pack** to `docs/content-pack.md`:9394 ```markdown95 # Content Pack: {Project Name}9697 **Generated:** {YYYY-MM-DD}98 **ICP:** {target persona}99 **Core message:** {one-line value prop}100101 ## Messaging Framework102 - **Hook:** {hook}103 - **Proof:** {proof}104 - **CTA:** {cta}105106 ---107108 ## 1. LinkedIn Post109 {ready to copy-paste}110111 ## 2. Reddit Draft112 **Target subreddits:** r/..., r/..., r/...113 {answer draft}114115 ## 3. Twitter/X Thread116 {numbered tweets}117118 ## 4. Release Notes119 {release notes from step 5, or "No git history — skipped"}120121 > For video script, run `/video-promo {project}`.122123 ---124 *Generated by /content-gen. Edit before publishing.*125 ```1261277. **Output summary** — print core message + list of generated content pieces.128129## Notes130131- All content is draft — always review before publishing132- Reddit draft should feel genuinely helpful, not promotional133- For video scripts, use `/video-promo` (owns video generation entirely)134- Rerun after major product updates to refresh messaging135- Works best with detailed PRD — falls back to README if no PRD136137## Gotchas1381391. **LinkedIn algorithm penalizes external links** — links in the post body reduce reach by 40-50%. Put the link in the FIRST COMMENT instead, and mention "link in comments" in the post.1402. **Twitter/X thread hooks must work standalone** — tweet 1 appears alone in feeds without the thread. If it doesn't grab attention by itself, no one clicks "Show this thread".1413. **Reddit self-promotion rules** — most subreddits enforce a 10:1 ratio (10 helpful comments per 1 promotional post). A brand-new account posting product links gets instantly removed.1424. **AI writing patterns are detectable** — em dashes, "game-changer", "dive into", rule-of-three lists, "In today's fast-paced world". Run output through `/humanize` before publishing.1435. **Release notes ≠ changelog** — user-facing release notes should describe BENEFITS ("faster checkout"), not technical changes ("refactored payment module"). Skip internal commits entirely.144145## Common Issues146147### No PRD found148**Cause:** Project doesn't have `docs/prd.md` or README.149**Fix:** Provide a project path with PRD, or run `/validate` first to generate one.150151### Content too generic152**Cause:** PRD lacks specific differentiators or ICP details.153**Fix:** Ensure PRD has detailed problem statement, ICP persona, and unique angle. Add `research.md` for competitive context.154155### Wrong tone for audience156**Cause:** ICP not clearly defined in PRD.157**Fix:** Specify the target audience in PRD. LinkedIn = professional, Reddit = casual/technical, Twitter = punchy/conversational.