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.
| Model | Source |
|---|---|
| sonnet | pack: content-creation |
Full Reference
add-blog-post
Section titled “add-blog-post”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.
Quick Reference
Section titled “Quick Reference”| Item | Value |
|---|---|
| Stack detection | Reads .claude/stack.json before generating files |
| Astro output | src/content/blog/[slug].md |
| Next.js output | content/blog/[slug].mdx or app/blog/[slug]/page.tsx |
| Schema type | BlogPosting JSON-LD in <head> |
| Publisher source | business.json (name + logo) |
| Word count | 800–2000 words standard, 2000+ for pillar content |
Reference Index
Section titled “Reference Index”| I want to… | File |
|---|---|
| Get the right frontmatter template, pass the SEO checklist, and add BlogPosting schema | reference/frontmatter-and-seo.md |
| Structure the post content and set up internal linking | reference/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.
Announcement
Section titled “Announcement”When invoked, start with: ┏━ 🧠 add-blog-post ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ [describe the blog post being created] ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛