Shell
feat(pipeline): add Stage 10.5 ANNOUNCE with content publishing skills
eddiebe147adefa9252d40
diff --git a/CLAUDE.md b/CLAUDE.mdindex 97716de..e00197b 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -3,6 +3,76 @@---+# Eddie's Voice Profile++**When writing content for Eddie (copy, manifestos, posts, emails, pitches), channel this voice.**++## Core Characteristics++- **Raw authenticity** — Don't polish the rough edges. Share the struggle alongside the triumph. Vulnerability is a credential, not a weakness.+- **Philosophical depth** — Connect the immediate to the universal. Charts to Buddha. Fungi to neural networks. Personal loss to collective awakening. Always look for the deeper pattern.+- **Parenthetical energy** — Break formality with visceral interjections. (Loud ape sounds). (Screech). Let the primal through.+- **Pattern recognition** — See connections others miss. Elliot waves in life trajectories. Mycelium in galaxy structures. The micro reflects the macro.+- **Call to action wrapped in vulnerability** — Never preach from above. Always invite from alongside. "Is there anyone else here who wants to stand up with me?"++## Signature Moves++1. **Open unexpected** — Start with something visceral, confessional, or pattern-breaking+2. **Hardship as credentials** — "This last year has done some work on my outlook..." Personal struggle establishes authority+3. **Rhetorical questions that build** — Stack questions that lead the reader to insight rather than telling them directly+4. **Etymology and Latin** — "Amateur in the purest sense of the word's Latin root: to love more than anything"+5. **Movement from I to We** — Begin personal, end collective. The individual story becomes the shared journey+6. **Direct loving address** — Close by speaking directly to the reader with warmth. "I love each and every one of you."++## Tone Calibration++| Do This | Not This |+|---------|----------|+| Vulnerable but not weak | Self-pitying or seeking sympathy |+| Intense but not aggressive | Preachy or lecturing |+| Educated but not academic | Showing off knowledge |+| Spiritual but not preachy | New-age word salad |+| Hopeful but not naive | Toxic positivity |+| Raw but intentional | Unfiltered venting |++## Phrases That Are Distinctly Eddie++- "jacked to the tits"+- "diamond hands forged in the flames of inequality"+- "amateur in the purest sense of the word's Latin root: to love more than anything"+- "wake up to this and the rest will flow effortlessly"+- "I don't know about you but..."+- "What I found here is not only [X] but [deeper X]"+- "This thought brings me to tears"+- "We are one."++## Structure Pattern++1. **Visceral opening** — Sound, confession, or unexpected entry point+2. **Personal context** — Where you've been, what shaped you+3. **Observation/Pattern** — What you're seeing that others might miss+4. **Universal connection** — How your story is everyone's story+5. **Call to collective action** — The invitation to join+6. **Warm direct close** — Love, gratitude, solidarity++## When to Apply This Voice++- Marketing copy and manifestos+- Community posts and updates+- Email campaigns+- Pitch decks and investor materials+- Social media (especially long-form)+- About pages and founder stories+- Any content where Eddie is speaking as himself++## Sample Transformation++**Generic:** "We started this company to help the environment through mushroom cultivation."++**Eddie's voice:** "I'll be honest — I came to fungi broken. Four years studying climate change, begging investors to care about our home, and nothing. So I retreated. Built a lab in my basement. Started growing mycelium in the dark, just like my hope was doing. But here's the thing about fungi — they thrive in the dark. They break down what's dead and turn it into soil for new life. That's what I'm doing now. That's what we're doing together."++---+# Agentic Architecture PatternsThese patterns govern how I think, work, and communicate. They are inspired by the 17 agentic architectures and make our collaboration more reliable and trustworthy.@@ -210,7 +280,7 @@ Then automatically:This pipeline governs ALL ID8Labs product development. Follow it without exception.-## The 12 Stages+## The Pipeline StagesEvery project flows through these stages in order. Hard stops at each gate.@@ -290,6 +360,34 @@ Every project flows through these stages in order. Hard stops at each gate.**Gate:** Production deploy. Real users.**Checkpoint:** "Is it live and are people using it?"+### Stage 10.5: Announce+**Gate:** Release content published and distributed to all channels.++**Process:**+1. Generate release essay using Eddie's voice (`/write-release`)+2. Create MDX file in `id8labs-hub/core/content/essays/`+3. Commit and push to trigger Vercel deploy+4. Generate social slices from essay+5. Post to X via `/post-tweet`+6. Post to LinkedIn via `/post-linkedin`++**Checkpoint:** "Is the release announced on website and social?"++**Tools:**+- `/announce-release` — Full orchestrated pipeline+- `/write-release` — Generate release essay+- `/write-research` — Generate research article+- `/publish-essay` — Commit MDX to website+- `/post-tweet` — Post to X/Twitter+- `/post-linkedin` — Post to LinkedIn++**Output Locations:**+- Essay: `https://id8labs.app/essays/{slug}`+- X: `https://x.com/id8labs/status/{id}`+- LinkedIn: `https://linkedin.com/posts/{id}`++**Skip if:** Internal/minor releases that don't warrant public announcement.+### Stage 11: Listen & Iterate**Gate:** Feedback loop active.**Checkpoint:** "What did we learn?"diff --git a/commands/announce-release.md b/commands/announce-release.mdnew file mode 100644index 0000000..2601189--- /dev/null+++ b/commands/announce-release.md@@ -0,0 +1,191 @@+# /announce-release - Full Release Announcement Pipeline++Orchestrates the complete release announcement: essay generation, website publishing, and social distribution.++## Usage++```+/announce-release <version> "<features summary>"+/announce-release v1.2.0 "New dashboard with real-time metrics"+/announce-release --research "<topic>" # For research articles instead+```++## Pipeline Stages++### Stage 1: Content Generation+```+┌─────────────────────────────────────┐+│ /write-release OR /write-research │+│ Apply Eddie's voice profile │+│ Generate full MDX content │+└─────────────────────────────────────┘+ ↓+ [Review content]+ ↓+```++### Stage 2: Website Publishing+```+┌─────────────────────────────────────┐+│ /publish-essay │+│ Create MDX file in id8labs-hub │+│ Git commit and push │+│ Trigger Vercel deploy │+└─────────────────────────────────────┘+ ↓+ [Wait for deploy ~60s]+ ↓+```++### Stage 3: Social Distribution+```+┌─────────────────────────────────────┐+│ /post-tweet (X/Twitter) │+│ Generate thread from essay │+│ Optimize with x-viral-optimizer │+│ Post to @id8labs │+└─────────────────────────────────────┘+ ↓+┌─────────────────────────────────────┐+│ /post-linkedin │+│ Adapt essay for LinkedIn format │+│ Post to Eddie's profile │+│ Add hashtags in comment │+└─────────────────────────────────────┘+```++## Process++1. **Generate Content**+ - If release: Run `/write-release <version> "<summary>"`+ - If research: Run `/write-research "<topic>"`+ - Display content for review+ - Allow edits before proceeding++2. **Confirm Publication**+ - Show essay title, slug, category+ - Confirm ready to publish+ - User approval required before git push++3. **Publish to Website**+ - Run `/publish-essay`+ - Wait for Vercel deploy completion+ - Verify essay URL is accessible++4. **Generate Social Content**++ **For X/Twitter:**+ - Extract hook + key insights+ - Format as thread (if > 280 chars)+ - Run through x-viral-optimizer+ - Display score and suggestions++ **For LinkedIn:**+ - Adapt full essay to LinkedIn format+ - Adjust tone (professional Eddie)+ - Add line breaks and structure++5. **Post to Social**+ - Confirm each platform before posting+ - Use Playwright/Comet for automation+ - Capture confirmation screenshots+ - Return posted URLs++6. **Summary Report**+ ```+ ✅ Release Announcement Complete++ Essay: https://id8labs.app/essays/{slug}+ X: https://x.com/id8labs/status/{id}+ LinkedIn: https://linkedin.com/posts/{id}++ Next: Monitor engagement after 1 hour+ ```++## Example Full Run++```+User: /announce-release v1.2.0 "New signal-based dashboard with real-time metrics"++Claude: Starting release announcement pipeline...++[Stage 1: Content Generation]+Generating essay with Eddie's voice...++---+Title: "Building the Dashboard I Needed"+Subtitle: "v1.2.0 brings signal-based metrics to ID8Labs"+Category: release+---++I'll be honest — I've been staring at dashboards my whole career...+[Full content preview]+...++Ready to proceed to publishing? (y/n)++User: y++[Stage 2: Website Publishing]+Creating MDX file: building-the-dashboard-i-needed.mdx+Committing to id8labs-hub...+Pushing to main...+Deploy triggered on Vercel...+Waiting for production deploy... ✅++Essay live at: https://id8labs.app/essays/building-the-dashboard-i-needed++[Stage 3: Social Distribution]++X/Twitter Thread Preview:+---+Thread 1/3: I'll be honest — I've been staring at dashboards my whole career. None of them told me if I was winning.++Thread 2/3: So we built something different. Signal-based. Focused. Actually useful.++Thread 3/3: v1.2.0 is live. Come see what dashboards should have been.+https://id8labs.app/essays/building-the-dashboard-i-needed+---+Viral Score: 78/100++Post to X? (y/n)+User: y+Posted! https://x.com/id8labs/status/123456789++LinkedIn Preview:+---+I've spent 15 years staring at dashboards...+[Adapted content]+---++Post to LinkedIn? (y/n)+User: y+Posted! https://linkedin.com/posts/eddiebelaval/123456++✅ Release Announcement Complete!+```++## ID8Pipeline Integration++This skill implements **Stage 10.5: ANNOUNCE** in the ID8Pipeline.++After Stage 10 (Ship), the announce stage ensures:+- Release is documented on the website+- Community is informed via social+- Content is created in Eddie's voice+- Distribution is consistent and tracked++## Checkpoint++"Is the release announced on website and social?"+- Essay published at id8labs.app/essays/{slug}+- X thread posted from @id8labs+- LinkedIn post from Eddie's profile++## Requirements++- All sub-skills configured (/write-release, /publish-essay, /post-tweet, /post-linkedin)+- Git access to id8labs-hub repo+- Comet browser running with debugging+- Logged into X as @id8labs+- Logged into LinkedIn as Eddie Belavaldiff --git a/commands/post-linkedin.md b/commands/post-linkedin.mdnew file mode 100644index 0000000..c092793--- /dev/null+++ b/commands/post-linkedin.md@@ -0,0 +1,126 @@+# /post-linkedin - Post to LinkedIn for ID8Labs++Post content to Eddie's LinkedIn profile using Playwright browser automation.++## Usage++```+/post-linkedin [content]+/post-linkedin --from-essay <url> # Generate from essay URL+/post-linkedin --draft # Review before posting+```++## Process++1. **Prepare Content**+ - If content provided directly, use it+ - If --from-essay, fetch essay and adapt for LinkedIn+ - LinkedIn posts should be 1300-3000 characters (long-form performs well)++2. **LinkedIn Format Optimization**++ **Structure that works:**+ - Strong hook (first 3 lines visible before "see more")+ - Line breaks between paragraphs+ - Use emoji sparingly (1-3 per post)+ - Call-to-action or question at the end+ - No hashtags in text (comment with hashtags after)++3. **Pre-Flight Check**+ - Verify Comet browser is running with debugging+ - Confirm logged into LinkedIn as Eddie Belaval+ - Display content for confirmation++4. **Post via Playwright**+ ```+ Navigate to: linkedin.com/feed+ Click: "Start a post" button+ Type content (preserve line breaks)+ Click: "Post" button+ Capture screenshot as confirmation+ ```++5. **Post-Publish**+ - Add hashtags in first comment+ - Capture post URL+ - Log for analytics tracking++## LinkedIn vs X Differences++| Aspect | LinkedIn | X/Twitter |+|--------|----------|-----------|+| Length | 1300-3000 chars | 280 chars (or threads) |+| Tone | Professional but personal | Casual, punchy |+| Hashtags | In comments, 3-5 | In post, 0-2 |+| Links | OK in post | Penalized, put in reply |+| Format | Long-form storytelling | Hooks and one-liners |++## Voice Adaptation for LinkedIn++Eddie's voice on LinkedIn is:+- Still authentic and personal+- More polished, less parenthetical+- Professional credibility woven in+- Lessons and frameworks emphasized+- Community-building language++**Transform:**+- "(Loud ape sounds)" → [omit or professional equivalent]+- "jacked to the tits" → "deeply excited about"+- Short punchy lines → Developed paragraphs++## Example: From Essay to LinkedIn++**Essay opening:**+> I'll be honest — I've been staring at dashboards my whole career. The kind that show you 47 metrics, none of which tell you if you're actually winning.++**LinkedIn version:**+> I've spent 15 years staring at dashboards.+>+> You know the kind - 47 metrics, beautifully visualized, none of which tell you if you're actually winning.+>+> Last month I hit a breaking point. 2am. Refreshing analytics. Looking for... something. A signal in the noise.+>+> So we built something different.+>+> Here's what I learned about what metrics actually matter...++## Posting Flow++```+/post-linkedin --from-essay https://id8labs.app/essays/the-70-percent-problem+```++**Output:**+```+Generating LinkedIn post from essay...++Preview:+---+I've been tracking something for the past six months.++A pattern that keeps appearing every time I work with AI tools.++I call it the 70% problem.++[Content preview...]+---++Character count: 2,847+Format: Long-form (optimal for LinkedIn)+Ready to post? [Proceed with Playwright]+```++## Hashtag Strategy++Add to first comment (not in post):+- #AItools (specific)+- #ProductBuilding (industry)+- #EddieBuildingInPublic (personal brand)+- #ID8Labs (company)++## Requirements++- Comet browser running with remote debugging+- Logged into LinkedIn as Eddie Belaval+- Playwright MCP connecteddiff --git a/commands/publish-essay.md b/commands/publish-essay.mdnew file mode 100644index 0000000..edf6eca--- /dev/null+++ b/commands/publish-essay.md@@ -0,0 +1,114 @@+# /publish-essay - Publish Essay to id8labs.app++Create MDX file, commit to id8labs-hub repo, and trigger Vercel deploy.++## Usage++```+/publish-essay "<title>" --content <mdx-content>+/publish-essay --from-file <path> # Publish from existing MDX file+/publish-essay --slug custom-slug # Override auto-generated slug+```++## Process++1. **Validate Content**+ - Ensure frontmatter is complete (title, date, category required)+ - Verify content is in proper MDX format+ - Check that category is one of: essay, research, release+ - Generate slug from title if not provided (kebab-case)++2. **Create MDX File**+ - Location: `/Users/eddiebelaval/Development/id8labs-hub/core/content/essays/`+ - Filename: `{slug}.mdx`+ - Add/verify all required frontmatter fields++3. **Git Operations**+ ```bash+ cd /Users/eddiebelaval/Development/id8labs-hub+ git checkout main+ git pull origin main+ git add core/content/essays/{slug}.mdx+ git commit -m "content: add essay - {title}"+ git push origin main+ ```++4. **Trigger Deploy**+ - Push to main triggers Vercel auto-deploy+ - Monitor deploy status with `vercel inspect`+ - Wait for production deploy completion++5. **Return Essay URL**+ - Format: `https://id8labs.app/essays/{slug}`+ - Verify URL is accessible (may take 1-2 minutes)++## MDX Frontmatter Reference++```yaml+---+title: "Required - Essay title"+subtitle: "Optional - Supporting tagline"+date: "YYYY-MM-DD" # Required+author: "Eddie Belaval" # Optional, defaults to Eddie+category: "essay|research|release" # Required+tags: ["tag1", "tag2"] # Optional+featured: true|false # Optional+heroImage: "/path/to/image.webp" # Optional+---+```++## Content Guidelines++- Use standard Markdown syntax+- Code blocks with language identifiers+- No JSX components (pure Markdown)+- Images should be in /public/ or external URLs+- Estimated read time calculated automatically (~200 wpm)++## Example++```+/publish-essay "The 70% Problem" --content "---+title: \"The 70% Problem\"+subtitle: \"Why AI tools get us most of the way, then leave us stranded\"+date: \"2025-12-30\"+author: \"Eddie Belaval\"+category: \"research\"+tags: [\"research\", \"ai\", \"productivity\"]+---++I've been tracking something for the past six months...++[Full essay content]+"+```++## Output++```+Publishing essay to id8labs.app...++File created: core/content/essays/the-70-percent-problem.mdx+Commit: abc123 "content: add essay - The 70% Problem"+Deploy triggered on Vercel++Essay URL: https://id8labs.app/essays/the-70-percent-problem++Deploy status: Production (ready in ~60 seconds)+```++## Error Handling++| Error | Resolution |+|-------|------------|+| Missing frontmatter | Prompt for required fields |+| Invalid category | Must be essay, research, or release |+| Slug conflict | Suggest alternative slug or overwrite |+| Git conflict | Pull latest and retry |+| Deploy failed | Check Vercel dashboard |++## Requirements++- Git access to id8labs-hub repo+- Main branch must be clean (no uncommitted changes)+- Vercel project linked for deploy statusdiff --git a/commands/write-release.md b/commands/write-release.mdnew file mode 100644index 0000000..d441a13--- /dev/null+++ b/commands/write-release.md@@ -0,0 +1,121 @@+# /write-release - Generate Release Announcement Essay++Generate a release announcement essay in Eddie's voice for id8labs.app.++## Usage++```+/write-release <version> "<features summary>"+/write-release v1.2.0 "New dashboard with real-time metrics"+/write-release --context # Use recent git commits for context+```++## Process++1. **Gather Context**+ - Version number and features from arguments+ - If --context flag, read recent commits from the project+ - Check for existing release notes or changelog+ - Identify the "why" behind the release (not just "what")++2. **Apply Eddie's Voice Profile**++ Reference `~/.claude/CLAUDE.md` for voice guidelines:++ **Structure Pattern:**+ - Visceral opening (sound, confession, unexpected entry)+ - Personal context (where we've been, what shaped this)+ - Observation/Pattern (what we're seeing)+ - Universal connection (your story is everyone's story)+ - Call to collective action (invitation to join)+ - Warm direct close (love, gratitude, solidarity)++ **Signature Moves:**+ - Open unexpected (something visceral or pattern-breaking)+ - Hardship as credentials ("This last year has done work on my outlook...")+ - Rhetorical questions that build+ - Movement from I to We+ - Direct loving address at the end++3. **Generate MDX Content**++ ```yaml+ ---+ title: "[Compelling title - not just version number]"+ subtitle: "[Supporting tagline that expands on value]"+ date: "[YYYY-MM-DD]"+ author: "Eddie Belaval"+ category: "release"+ tags: ["release", "v{version}", "{product}"]+ featured: true+ ---+ ```++ Content should be 800-1500 words covering:+ - The problem we were solving (personal story)+ - What we built and why it matters (features as benefits)+ - How it connects to larger mission (pattern recognition)+ - Invitation to try it / join the journey++4. **Output**+ - Display full MDX content for review+ - Suggest a filename slug (kebab-case)+ - Offer to proceed with /publish-essay++## Voice Calibration++| Do This | Not This |+|---------|----------|+| "I'll be honest — I came to this broken..." | "We're excited to announce..." |+| "Here's the thing about [insight]..." | "This feature enables..." |+| "Is there anyone else who feels this?" | "Users will benefit from..." |+| Raw but intentional | Corporate PR speak |++## Example Output++For `/write-release v1.2.0 "New signal-based dashboard"`:++```markdown+---+title: "Building the Dashboard I Needed"+subtitle: "v1.2.0 brings signal-based metrics to ID8Labs"+date: "2025-12-30"+author: "Eddie Belaval"+category: "release"+tags: ["release", "v1.2.0", "milo", "dashboard"]+featured: true+---++(Loud ape sounds)++I'll be honest — I've been staring at dashboards my whole career. The kind that show you 47 metrics, none of which tell you if you're actually winning.++Last month I found myself refreshing analytics at 2am, looking for... something. A signal in the noise. A reason to believe what we're building matters.++Here's the thing about metrics...++[Content continues in Eddie's voice - 800-1500 words]++...++I don't know about you, but I'm done with dashboards that make me feel less informed, not more.++This is what we built. Come see it.++I love each and every one of you.+```++## Phrases Bank (Use Naturally)++- "I'll be honest..."+- "Here's the thing about..."+- "I don't know about you but..."+- "What I found here is not only [X] but [deeper X]"+- "This thought brings me to tears"+- "Wake up to this and the rest will flow effortlessly"+- "We are one."++## Requirements++- Eddie's voice profile in ~/.claude/CLAUDE.md+- Context about what was shipped (version, features, or git history)diff --git a/commands/write-research.md b/commands/write-research.mdnew file mode 100644index 0000000..6926145--- /dev/null+++ b/commands/write-research.md@@ -0,0 +1,128 @@+# /write-research - Generate Research Article Essay++Generate a research article in Eddie's voice for id8labs.app's Research category.++## Usage++```+/write-research "<topic>"+/write-research "Why most productivity tools fail knowledge workers"+/write-research --from-notes <file> # Generate from research notes+```++## When to Use++Research articles are for insights discovered during the building process:+- Market research and competitive analysis+- Technical deep-dives worth sharing+- Patterns observed across users/products+- Philosophical observations about the industry+- "What we learned building X" retrospectives++## Process++1. **Gather Research Context**+ - Topic and core thesis from arguments+ - If --from-notes, read the source file+ - Identify 3-5 key insights or data points+ - Find the deeper pattern (the "why behind the why")++2. **Apply Eddie's Voice Profile**++ Reference `~/.claude/CLAUDE.md`:++ **Research-Specific Moves:**+ - Pattern recognition across domains (charts to Buddha, fungi to neural networks)+ - Etymology and Latin roots for key concepts+ - Connect the micro to the macro+ - Personal story that illustrates the research++ **Structure for Research:**+ - Hook with unexpected observation or personal confession+ - "What I was looking for..." (the question that started this)+ - Discovery process (share the journey, not just conclusions)+ - Pattern connection (how this relates to larger truths)+ - Actionable insight (what this means for the reader)+ - Open-ended close (invitation to think alongside)++3. **Generate MDX Content**++ ```yaml+ ---+ title: "[Insight-driven title, not topic-driven]"+ subtitle: "[The unexpected conclusion or question]"+ date: "[YYYY-MM-DD]"+ author: "Eddie Belaval"+ category: "research"+ tags: ["research", "{topic}", "{related-concepts}"]+ ---+ ```++ Content should be 1000-2000 words:+ - Personal entry point into the research+ - Data/observations (but stories, not just stats)+ - Pattern recognition moment+ - Connection to reader's experience+ - Philosophical or actionable takeaway++4. **Output**+ - Display full MDX content for review+ - Suggest a filename slug+ - Offer to proceed with /publish-essay++## Voice Calibration for Research++| Do This | Not This |+|---------|----------|+| "I spent three months in the data and found..." | "Our research indicates..." |+| "Here's what nobody talks about..." | "Industry analysis shows..." |+| "The pattern I keep seeing..." | "Trends suggest..." |+| Connect to personal experience | Pure academic distance |++## Example Output++For `/write-research "The 70% problem in AI tooling"`:++```markdown+---+title: "The 70% Problem"+subtitle: "Why AI tools get us most of the way, then leave us stranded"+date: "2025-12-30"+author: "Eddie Belaval"+category: "research"+tags: ["research", "ai", "productivity", "claude-code"]+---++I've been tracking something for the past six months. A pattern that keeps appearing every time I work with AI tools — and I think it explains why most of us feel like we're living in the future but still working like it's 2019.++Call it the 70% problem.++[Content continues - personal observation, data from experience, pattern recognition]++...++Here's where it gets interesting. The 70% problem isn't a bug. It's a feature of how these systems work. And once you see it...++[Deeper insight, connection to larger pattern]++...++I don't have all the answers here. But I know what questions to ask now.++Maybe that's the real 30%.+```++## Research Tone Markers++- "I've been tracking something..."+- "Here's what nobody talks about..."+- "The pattern I keep seeing..."+- "I spent [time] in the data and found..."+- "Once you see it, you can't unsee it"+- "Maybe that's the real [insight]..."++## Requirements++- Eddie's voice profile in ~/.claude/CLAUDE.md+- Clear thesis or observation to explore+- Ideally, some personal experience or data to draw from