Blog post

From laurigates/claude-plugins · View interactive version

Blog post is an AI agent skill from the GitHub repository laurigates/claude-plugins. Create a blog post via guided prompts with git context auto-populated. Use when writing a quick update, retrospective, tutorial, deep dive, or devlog entry.

How to use this skill

Skill file

/blog:post

Create a blog post about your work with minimal friction. Gathers context automatically and provides structured templates to reduce blank-page anxiety.

When to Use This Skill

| Use this skill when... | Use alternative when... |

|------------------------|--------------------------|

| Capturing work quickly into a blog post | Need detailed documentation -> Project wiki/docs |

| Want templates to reduce blank-page anxiety | Writing a technical tutorial -> /blog:post tutorial |

| Need git context auto-populated | Creating portfolio summary -> Different workflow |

Context

Parameters

Parse $ARGUMENTS for:

Execution

Execute this blog post creation workflow:

Step 1: Gather context

Detect project name and recent git history:

  1. Use git log to get recent commits
  2. Extract project name from git remote or directory
  3. If blog directory doesn't exist, ask where to save posts

Step 2: Determine post type

If type argument not provided, ask user to select from five options:

Step 3: Ask targeted questions based on post type

For each type, ask 1-2 focused questions:

Step 4: Generate post file

  1. Determine where to save (blog directory, ~/blog/, or custom path)
  2. Generate filename: YYYY-MM-DD-<slugified-title>.md
  3. Create file with frontmatter:
  1. Pre-fill content sections with placeholders and git context as comments

Step 5: Offer writing assistance

Ask what user would like to do:

Step 6: Finalize post

  1. Present review checklist (title, content, tags, next steps)
  2. Ask: "Is this post ready to publish?" (draft or published)
  3. Output summary with file path and quick actions

Agentic Optimizations

| Context | Command |

|---------|---------|

| Get project name | git remote get-url origin 2>/dev/null \| sed 's/.*\///' \| sed 's/\.git$//' |

| Recent commits | git log --since="7 days ago" --format="%h %s" 2>/dev/null \| head -10 |

| Find blog directory | ls -d blog/ posts/ content/blog/ content/posts/ _posts/ 2>/dev/null \| head -1 |

| Current date | date +%Y-%m-%d |

| Get today's commits | git log --since="1 day ago" --format="- %s" 2>/dev/null |

Quick Reference

| Post Type | Time | Use Case |

|-----------|------|----------|

| Quick Update | 5-15 min | Small wins, log entries |

| Project Update | 20-45 min | Milestone, feature complete |

| Retrospective | 45-90 min | Reflection on period/project |

| Tutorial | 1-3 hours | Teach how to do something |

| Deep Dive | 2-5 hours | Explain complex concepts |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.