Agent skill
build-in-public
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.
Install this agent skill to your Project
npx add-skill https://github.com/vindicatenyc/build-in-public-plugin/tree/main/skills/build-in-public
SKILL.md
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:previewto show them what happened in the session -
Generate posts: Run the generation script:
bashpython3 "${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 optionsbuild-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.)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
setup-pre-commit
Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.
scaffold-exercises
Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section.
obsidian-vault
Search, create, and manage notes in the Obsidian vault with wikilinks and index notes. Use when user wants to find, create, or organize notes in Obsidian.
handoff
Compact the current conversation into a handoff document for another agent to pick up.
migrate-to-shoehorn
Migrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace `as` in tests, or needs partial test data.
edit-article
Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.
Didn't find tool you were looking for?