Optimize article and blog structure for AI Overviews, featured snippets, and fast skimming using content chunking. Use when auditing or rewriting long-form posts, Sanity Portable Text article bodies, or Markdown drafts to improve heading specificity, answer-first section openers, paragraph chunking, and list scannability.
Apply these defaults when optimizing article bodies:
what, why, how, checklist, mistakes).:.Run the built-in script for published documents:
articlenode --env-file=.env.local .agents/skills/content-chunking-optimizer/scripts/optimize-sanity-article-chunks.mjs --dry-run
Apply updates after review:
node --env-file=.env.local .agents/skills/content-chunking-optimizer/scripts/optimize-sanity-article-chunks.mjs --apply
Useful filters:
--slug=best-mcp-tools-and-servers-developer-workflows-2026--slug=slug-a,slug-b--limit=10--verboseAccept an optimization pass only when at least one is true:
Skip rewrites for blocks containing inline marks/links when a safe split is not possible.
references/semrush-content-chunking-framework.md
Purpose: Semrush-aligned chunking checklist and scoring guidance.scripts/optimize-sanity-article-chunks.mjs
Purpose: Deterministic chunking optimizer for Sanity article bodies.