Create a new blog post on a feature branch following CLAUDE.md conventions
The user may provide a topic as arguments. If not provided, ask for:
Create a feature branch from main:
post/<slugified-topic> (e.g., post/testing-strategies-for-ai-agents)git checkout main && git pull && git checkout -b post/<slug>Read CLAUDE.md before writing to ensure you follow the latest conventions.
Read existing posts in _posts/ to match the voice and depth of previous writing.
Write the post as a new file in :
_posts/YYYY-MM-DD-<slug>.md using today's datelayout: post, title, date, and tagsFollow CLAUDE.md conventions strictly:
<div class="tldr"> blockcallout, lead, comparison-grid)Show the post to the user for review before committing.
Commit the post to the feature branch with a message like: Add post: <title>
Offer to open a PR to main using gh pr create.