Claude-skill-registry blog-post
Complete workflow for creating blog posts - from research to publication-ready draft. Handles research generation, draft creation, and style review. Use with "/blog-post <topic>" or "/blog-post --from-research <path>".
git clone https://github.com/majiayu000/claude-skill-registry
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/blog-post" ~/.claude/skills/majiayu000-claude-skill-registry-blog-post && rm -rf "$T"
skills/data/blog-post/SKILL.mdBlog Post Creation Workflow
Purpose
Streamline the daily blog post creation process by automating research, drafting, and style review in a single command.
Usage Modes
Mode 1: Start from scratch with a topic
/blog-post "CPU Scheduling in Hypervisors" /blog-post "Database Connection Pools" --category infra --tags db,performance,connections
This will:
- Run deep-dive research using
docs/deep_dive_prompt.md - Save research to
directory_research/ - Generate blog post draft following style guide
- Review against
blog-post-style-guide.md - Create final file in
with proper naming_posts/
Mode 2: From existing research document
/blog-post --from-research _research/physical-virtual-foundations/03-physical-virtual-foundations-CPU.md /blog-post --from-research _research/programming/01-distributed-programming-IBLT.md --series "Distributed Programming"
This will:
- Read the research document
- Generate blog post draft following style guide
- Review against
blog-post-style-guide.md - Create final file in
with proper naming_posts/
Workflow Steps
Step 0: Setup & Context Gathering
ALWAYS start with:
- Create todos using TodoWrite - Track all workflow steps, mark in_progress/completed as you work
- Read 2-3 recent posts from
to match current voice and patterns_posts/ - Check for series - If topic matches existing series (grep titles), use series format
- Sequential numbering - For research files:
to get next numberls _research/<category>/ | sort -n | tail -1 - Validate research path (Mode 2) - Ensure file exists before proceeding
Step 1: Research Phase (Mode 1 only)
If starting from topic:
- Read
docs/deep_dive_prompt.md - Use the prompt structure to conduct deep research on the topic
- Create comprehensive research document in
directory_research/ - Organize under appropriate subdirectory (infra, programming, systems, etc.)
- Save as
_research/<category>/<number>-<topic-slug>.md
Quality gate - Research must have:
- All 8 sections from deep_dive_prompt (Mental Model, Failure Modes, Tradeoffs, Socratic Questions, Lifecycle, Experiments, Red Flags, Operator Truths)
- At least 5 concrete failure modes
- 10 Socratic questions (unanswered)
- Real examples, not hypotheticals
If from existing research:
- Read the provided research document path
- Validate it exists and has content (if not, show available files in
)_research/ - Skip to drafting phase
Step 2: Draft Generation
CRITICAL: Transform, don't copy!
- Blog = 30-40% of research length (800-1500 words max)
- NEVER copy entire research sections verbatim
- Extract 2-3 key insights, not everything
- Add first-person narrative that research lacks ("As I explored...", "I was surprised to find...")
- Pick 1-2 failure modes → inline examples with real commands
- Socratic questions → DO NOT include directly, use to shape narrative flow
- Operator truths → Final Thoughts section
Content Transformation:
- Extract key insights from research that match blog philosophy (personal learning, operational focus)
- Distill complexity - research is comprehensive, blog is focused and digestible
- Add personal voice - first-person, conversational, "I found myself learning..."
- Focus on "why it matters" - connect theory to practice for software engineers
- Include concrete examples - real commands, outputs, scenarios
Structure Requirements:
-
Front matter - Generate based on topic and user-provided options:
--- title: "<Series Name - Specific Topic>" or "<Standalone Topic>" date: <today's date in YYYY-MM-DD HH:MM:SS -0500> categories: <programming|infra|ai> tags: [ <3-6 relevant tags> ] ---- CRITICAL: Date must be today or earlier, NEVER a future date
- Ask user for series name if ambiguous
- Suggest category and tags based on content
-
Opening (1-2 sentences) - Personal context, direct and concise:
- Jump to what sparked interest
- No verbose setup
- Examples from existing posts show this pattern
-
Main sections with ## and ### headings:
- Start with concept definition
- Include "Why should software engineers care?" section
- Use question-based headers when appropriate
- Progress simple → complex
-
Examples and visuals:
- Real command outputs (not hypotheticals)
- ASCII diagrams for architecture
- Code blocks with language specifiers
- Citations required: All concrete numbers (latency, throughput, %, multipliers) MUST cite source (Intel docs, AWS specs, etc.) OR use qualitative ("significantly faster" instead of "2x")
-
Final Thoughts (optional but recommended):
- Synthesize learnings
- Connect to broader applications
- Pose implications
Voice Requirements (from style guide):
- First-person perspective ("I", "we")
- Conversational without sacrificing accuracy
- Avoid overloaded adjectives ("very", "highly", "incredibly", "remarkably")
- No AI-sounding intensifiers
- Trust technical content to speak for itself
- Use concrete details over vague praise
Quality gate - Draft must have:
- Word count 800-1500 (concise, not research republished)
- Opening 1-2 sentences max
- "Why should software engineers care?" section exists
- At least one concrete example or command output
- No future dates in front matter
- First-person voice throughout ("I", "we", "As I learned...")
Step 3: Style Review
Review the draft against
.claude/blog-post-style-guide.md:
Check:
- Front matter complete and properly formatted
- Date is not in the future
- Opening is concise (1-2 sentences)
- Main concept defined early
- "Why should software engineers care?" addressed
- Technical terms defined on first use
- Examples use real commands/outputs
- Visuals are clean and readable
- Actionable takeaways provided
- Tone is conversational and first-person
- No overloaded adjectives or intensifiers
- Concrete numbers cite sources OR use qualitative descriptions
- Logical flow from simple to complex
Provide:
- List of issues found (if any)
- Suggested fixes for each issue
- Revised sections for critical problems
- Overall assessment: "Ready to publish" or "Needs revision"
If issues found:
- Auto-fix minor issues: AI intensifiers, missing citations (convert to qualitative), formatting
- For critical issues (missing sections, wrong voice): Show before/after, apply fixes
- Re-run style review after fixes (max 2 iterations)
- Only ask user for major structural decisions
Step 4: File Creation
Filename format:
YYYY-MM-DD-topic-slug.md
- Use today's date
- Convert topic to lowercase kebab-case
- Example:
2026-01-03-cpu-scheduling-hypervisors.md
Location:
_posts/
Before saving:
- Check if file exists → Ask: "Overwrite, save as new (-v2), or cancel?"
- Validate filename format and date
Final output:
- Save the reviewed and polished draft to
_posts/<filename> - Show summary: file path, word count, series (if applicable)
- Ask next step: "Preview locally? Commit to git? Review file? Done?"
User Interaction
Ask for clarification when:
- Category is ambiguous (suggest based on content)
- Tags are unclear (suggest 3-6 relevant tags)
- Series name is needed but not provided
- Topic is too broad (suggest narrowing)
- Research document path doesn't exist
Provide feedback:
- "Research phase complete - saved to
"_research/... - "Draft generated - reviewing against style guide..."
- "Style review complete - found X issues"
- "Blog post created:
"_posts/YYYY-MM-DD-topic.md
Critical Rules
- Transform, don't republish - Blog is 30-40% of research length with personal narrative added
- Quality gates - Validate research completeness, draft word count, voice consistency
- Voice matching - Read recent posts before drafting, match established patterns
- Citations - All numbers cite sources OR use qualitative descriptions
- Auto-fix - Apply minor fixes automatically, iterate max 2 times
- Error handling - Validate paths, check file existence, ask before overwriting
- Todo tracking - Use TodoWrite from start, mark completed immediately after each step
Example Interactions
Example 1: From scratch
User: /blog-post "Memory Balloon Drivers" Assistant: Starting research phase on "Memory Balloon Drivers"... [Creates research document] Research complete: _research/infra/04-memory-balloon-drivers.md Generating blog post draft... Style review complete - 2 minor issues found Blog post created: _posts/2026-01-03-memory-balloon-drivers.md
Example 2: From existing research
User: /blog-post --from-research _research/infra/03-cpu-scheduling.md --series "Physical Virtual Foundations" Assistant: Reading research document... Generating blog post draft following "Physical Virtual Foundations" series pattern... Style review complete - ready to publish Blog post created: _posts/2026-01-03-physical-virtual-foundations-cpu-scheduling.md