Skip to content

add-blog-post

Use when creating a new blog post for any framework or CMS. Also use when a site needs SEO-optimized article content with schema markup, proper frontmatter, and internal linking.

ModelSource
sonnetpack: content-creation
Full Reference

Universal blog post creation that adapts to any stack. Reads stack.json to detect the framework (Astro, Next.js, Sanity, Payload, or static markdown), generates the correct file structure and frontmatter, adds SEO metadata, injects BlogPosting schema, and wires up internal linking.

ItemValue
Stack detectionReads .claude/stack.json before generating files
Astro outputsrc/content/blog/[slug].md
Next.js outputcontent/blog/[slug].mdx or app/blog/[slug]/page.tsx
Schema typeBlogPosting JSON-LD in <head>
Publisher sourcebusiness.json (name + logo)
Word count800–2000 words standard, 2000+ for pillar content
I want to…File
Get the right frontmatter template, pass the SEO checklist, and add BlogPosting schemareference/frontmatter-and-seo.md
Structure the post content and set up internal linkingreference/content-structure.md

Usage: Read the reference file matching your current task from the index above. Each file is self-contained with code examples and inline gotchas.

When invoked, start with: ┏━ 🧠 add-blog-post ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ [describe the blog post being created] ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛