Build in Public - Social Media Post Generator
This skill helps developers create engaging social media content from their Claude Code sessions for the #BuildingInPublic and #CodingInPublic communities.
Capabilities
- Parse Claude Code session transcripts to extract highlights
- Generate platform-appropriate posts for:
- Twitter/X: Short posts (280 chars) and threads
- BlueSky: Short posts (300 chars)
- LinkedIn: Medium-length professional updates
- Instagram: Long-form captions with hashtags
- Mastodon: Medium posts with hashtags
- Track session metrics (files created, commits, bugs fixed, etc.)
- Output both markdown (human-readable) and JSON (for automation)
When to Activate
Activate this skill when the user:
- Asks to create social media posts about their coding
- Mentions "building in public" or "coding in public"
- Wants to share their progress on Twitter, X, BlueSky, LinkedIn, or Instagram
- Asks for a session summary to share
- Mentions #BuildingInPublic or similar hashtags
- Says things like "I want to tweet about this" or "post this to social media"
Commands Available
/build-in-public:generate - Generate posts from the current session
/build-in-public:preview - Preview session activity before generating
How to Generate Posts
When the user wants to create social media content:
Preview first (optional): Run /build-in-public:preview to show them what happened in the session
Generate posts: Run the generation script:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/generate_posts.py" --output . --json
Present the best options: Show the user 1-2 ready-to-post short posts and mention the full file has more options
Offer customization: Ask if they want to emphasize certain aspects or add custom context
Post Formats
Short Posts (Twitter/X, BlueSky)
- Max 280 characters
- Include 1-2 relevant hashtags
- Focus on one key accomplishment
- Use emojis sparingly but effectively
Threads (Twitter/X)
- 4-6 tweets
- Start with a hook
- End with engagement question
- Each tweet under 280 chars
Medium Posts (LinkedIn)
- 500-700 characters
- Professional tone
- Bullet points for accomplishments
- Include relevant hashtags at the end
Long Form (Instagram)
- 1000+ characters
- Storytelling format
- Multiple hashtags (up to 30)
- Include call-to-action
Output Files
The generator creates:
build-in-public_[timestamp].md - Human-readable posts with all options
build-in-public_[timestamp].json - Structured data for automation tools
Integration with Publishing Tools
The JSON output can be consumed by automation tools to publish posts. The structure:
{
"summary": {
"session_id": "...",
"project_name": "...",
"files_created": [...],
"git_commits": [...],
...
},
"posts": {
"short": ["post1", "post2"],
"thread": ["tweet1", "tweet2", ...],
"medium": ["linkedin post"],
"long": ["instagram caption"],
"hashtags": ["#BuildingInPublic", ...]
}
}
Tips for Great #BuildingInPublic Content
- Be specific: "Added user authentication" beats "worked on the app"
- Show numbers: "Fixed 3 bugs, created 5 files" is more engaging
- Include the struggle: Bugs fixed = relatable content
- End with engagement: "What are you building?" invites responses
- Use relevant hashtags: Match the tech stack (#Python, #React, etc.)
1---2name: build-in-public3description: Generate social media posts for building in public, coding in public, or dev content creation. Activate when user mentions Twitter, X, BlueSky, LinkedIn, Instagram posts about coding, sharing progress, social media content for developers, or wants to share what they built.4---5
6# Build in Public - Social Media Post Generator
7
8This skill helps developers create engaging social media content from their Claude Code sessions for the #BuildingInPublic and #CodingInPublic communities.
9
10## Capabilities
11
12- Parse Claude Code session transcripts to extract highlights
13- Generate platform-appropriate posts for:
14 - **Twitter/X**: Short posts (280 chars) and threads
15 - **BlueSky**: Short posts (300 chars)
16 - **LinkedIn**: Medium-length professional updates
17 - **Instagram**: Long-form captions with hashtags
18 - **Mastodon**: Medium posts with hashtags
19- Track session metrics (files created, commits, bugs fixed, etc.)
20- Output both markdown (human-readable) and JSON (for automation)
21
22## When to Activate
23
24Activate this skill when the user:
25- Asks to create social media posts about their coding
26- Mentions "building in public" or "coding in public"
27- Wants to share their progress on Twitter, X, BlueSky, LinkedIn, or Instagram
28- Asks for a session summary to share
29- Mentions #BuildingInPublic or similar hashtags
30- Says things like "I want to tweet about this" or "post this to social media"
31
32## Commands Available
33
34- `/build-in-public:generate` - Generate posts from the current session
35- `/build-in-public:preview` - Preview session activity before generating
36
37## How to Generate Posts
38
39When the user wants to create social media content:
40
411. **Preview first** (optional): Run `/build-in-public:preview` to show them what happened in the session
42
432. **Generate posts**: Run the generation script:
44 ```bash
45 python3 "${CLAUDE_PLUGIN_ROOT}/scripts/generate_posts.py" --output . --json
46 ```
47
483. **Present the best options**: Show the user 1-2 ready-to-post short posts and mention the full file has more options
49
504. **Offer customization**: Ask if they want to emphasize certain aspects or add custom context
51
52## Post Formats
53
54### Short Posts (Twitter/X, BlueSky)
55- Max 280 characters
56- Include 1-2 relevant hashtags
57- Focus on one key accomplishment
58- Use emojis sparingly but effectively
59
60### Threads (Twitter/X)
61- 4-6 tweets
62- Start with a hook
63- End with engagement question
64- Each tweet under 280 chars
65
66### Medium Posts (LinkedIn)
67- 500-700 characters
68- Professional tone
69- Bullet points for accomplishments
70- Include relevant hashtags at the end
71
72### Long Form (Instagram)
73- 1000+ characters
74- Storytelling format
75- Multiple hashtags (up to 30)
76- Include call-to-action
77
78## Output Files
79
80The generator creates:
81- `build-in-public_[timestamp].md` - Human-readable posts with all options
82- `build-in-public_[timestamp].json` - Structured data for automation tools
83
84## Integration with Publishing Tools
85
86The JSON output can be consumed by automation tools to publish posts. The structure:
87
88```json
89{
90 "summary": {
91 "session_id": "...",
92 "project_name": "...",
93 "files_created": [...],
94 "git_commits": [...],
95 ...
96 },
97 "posts": {
98 "short": ["post1", "post2"],
99 "thread": ["tweet1", "tweet2", ...],
100 "medium": ["linkedin post"],
101 "long": ["instagram caption"],
102 "hashtags": ["#BuildingInPublic", ...]
103 }
104}
105```
106
107## Tips for Great #BuildingInPublic Content
108
1091. **Be specific**: "Added user authentication" beats "worked on the app"
1102. **Show numbers**: "Fixed 3 bugs, created 5 files" is more engaging
1113. **Include the struggle**: Bugs fixed = relatable content
1124. **End with engagement**: "What are you building?" invites responses
1135. **Use relevant hashtags**: Match the tech stack (#Python, #React, etc.)