Blog Rewriter: Optimize Existing Posts
Rewrites and optimizes existing blog posts for dual ranking: Google search
and AI citation platforms. Preserves the author's voice while applying the
6 pillars of optimization.
Key references:
references/quality-scoring.md - 5-category scoring (Content 30, SEO 25, E-E-A-T 15, Technical 15, AI Citation 15)
references/eeat-signals.md - Experience, expertise, authority, trust markers
references/internal-linking.md - Linking strategy and anchor text rules
references/visual-media.md - Image sourcing and chart styling
skills/blog/references/synthesis-contract.md - 6 LAWs for re-citation hygiene during rewrite (v1.8.0; cross-skill ref lives in the orchestrator's references dir)
skills/blog/references/research-quality.md - cross-source clustering for replacement-statistic research (v1.8.0)
Cross-reference
For 21 evidence-led optimization prompts (AI-detector test, CTR audit, schema, PAA rewording, technical audit, ChatGPT visibility) directly applicable to rewrite work, see /blog flow optimize.
Workflow
Phase 1: Audit (Read-Only)
- Read the blog post - Detect format (MDX, markdown, HTML)
- Run the quality checklist against
references/quality-scoring.md:
- Count fabricated vs sourced statistics
- Check answer-first formatting (H2 -> stat in first sentence?)
- Count images and charts (type diversity?)
- Measure paragraph lengths (any > 150 words?)
- Check heading hierarchy (H1 -> H2 -> H3, no skips?)
- Look for FAQ schema
- Check freshness signals (lastUpdated, dateModified)
- Assess self-promotion level
- Evaluate citation tier quality
- AI content detection scan:
- Burstiness score - Measure sentence length variance across the post. Low
variance (most sentences within 3-5 words of each other) is a strong AI signal.
Calculate: standard deviation of sentence word counts. Target SD > 6.
- Known AI phrase scan - Check for these high-frequency AI phrases:
- "in today's digital landscape", "it's important to note", "dive into"
- "game-changer", "navigate the landscape", "revolutionize", "seamlessly"
- "cutting-edge", "harness the power of", "leverage" (as verb)
- "delve", "crucial", "elevate", "foster", "landscape" (overused)
- "multifaceted", "robust", "tapestry", "embark"
- Full list in
agents/blog-writer.md
- Vocabulary diversity - Calculate Type-Token Ratio (TTR): unique words /
total words. Low TTR (< 0.40) suggests AI-generated repetitive phrasing.
Target TTR > 0.50 for natural prose.
- AI content percentage estimate - Based on burstiness, phrase density, and
TTR, estimate what percentage of the content reads as AI-generated (0-100%).
Report as: "AI content estimate: ~X%"
- Second-order structural reflex scan (v1.8.0) - The first-order checks above
are vocabulary-level. The second-order pass catches what survives them: structural
and rhythmic tics LLMs default to after the obvious words are replaced. Run against
skills/blog/references/ai-slop-detection.md. Flag at minimum:
- Question-cadence H2s above 70% of headings
- Three or more "Here..." paragraph openers
- Three-clause sentence rhythm above 50% in any 200-word window
- More than 2 hedge words ("may," "often," "typically," "generally") in any 20-word span
- Symmetric-list bloat (list-item word-count SD below 5)
- More than 2 wrap-up rhetorical questions ("What does this mean for...?")
- More than half of H2 openers starting with a transition word
- "The key insight is..." or "What's important here is..." as sentence openers
- Listicle pre-list intro above 250 words
- Opening-word repetition: top three first-words above 25% share
- Paragraph-shape SD below 25 (visual monotony)
A draft is only "AI-detection clean" when both passes are clean. The two-namespace
terminology (first-order/second-order for slop-detection vs Tier 1/2/3 for source
authority) is intentional: see
skills/blog/references/ai-slop-detection.md for
why the labels diverged in v1.8.1.
- Video embed check:
- Count existing YouTube embeds in the post
- If 0 embeds, flag: "No video embeds. YouTube has the strongest AI visibility correlation (0.737)"
- If present, check: lazy loading? aria-labels? noscript fallback? VideoObject schema?
- Cannibalization check:
- Identify the post's primary keyword from title, H1, and first paragraph
- Search the blog directory for other posts targeting the same keyword:
- Grep headings and meta descriptions across all blog posts
- Flag any posts with significant keyword overlap
- If cannibalization found, report:
- Which posts compete for the same keyword
- Recommend: merge (combine into one stronger post) or differentiate
(shift one post to a related but distinct keyword)
- Calculate current score across 5 categories:
- Score across 5 categories (Content Quality 30, SEO Optimization 25, E-E-A-T Signals 15, Technical Elements 15, AI Citation Readiness 15)
- Total: 0-100
- Present audit summary with specific findings, AI detection results, video status, cannibalization status, and score
- Enter plan mode - Present section-by-section optimization plan
Wait for user approval before proceeding.
Phase 2: Research
- Identify the blog's core topic from existing content
- Find replacement statistics for any fabricated/unsourced data:
- Search:
[topic] study 2025 2026 data statistics
- Target tier 1-3 sources only
- Find images if post has fewer than 3:
- Pixabay:
site:pixabay.com [topic keywords]
- Unsplash:
site:unsplash.com [topic keywords]
- Verify each URL returns HTTP 200
- If nanobanana-mcp is configured, offer AI generation for missing/insufficient images via
blog-image
- Plan charts if post has fewer than 2:
- Identify data suitable for visualization
- Select diverse chart types
Phase 3: Chart Generation (Built-In)
When the post needs more visual elements, invoke the blog-chart sub-skill:
- Select chart type using the diversity rule (no repeated types per post)
- Pass: chart type, title, data values, source, platform format
- Embed the returned SVG directly within a
<figure> wrapper
- Target 2-4 charts per 2,000-word post
See references/visual-media.md for chart type selection and styling rules.
Phase 4: Content Rewrite
Apply changes in this order:
4a. Preserve What Works
- Keep the author's voice and unique perspective
- Preserve original insights and first-hand experience
- Keep existing quality images and charts
- Maintain internal links
4b. Fix Frontmatter
- Add
lastUpdated: "YYYY-MM-DD" (today's date)
- Keep original
date unchanged
- Fix meta description: fact-dense, 150-160 chars, includes 1 statistic
- Add
coverImage + coverImageAlt + ogImage if missing
- Search Pixabay/Unsplash/Pexels for wide hero image (1200x630)
- Or generate custom SVG cover via
blog-chart (text-on-gradient with key stat)
- Or generate custom AI image via
blog-image sub-skill (if nanobanana-mcp configured)
- Verify tags/categories are appropriate
4c. Apply Answer-First Formatting
Every H2 section MUST open with a 40-60 word paragraph containing:
- At least one specific statistic with source attribution
- A direct answer to the heading's implicit question
4d. Replace Fabricated Statistics
- Search for patterns: "X% of...", "X out of Y...", unsourced claims
- Replace with real data from tier 1-3 sources
- Always include inline attribution:
([Source Name](url), year)
4e. Improve Headings
- Convert statement headings to questions where natural (60-70% target)
- Keep 2-3 statement headings for variety
- Ensure keyword appears in 2-3 headings naturally
4f. Fix Paragraph Length
- Split any paragraph > 150 words
- Target 40-80 words per paragraph
- Ensure each paragraph starts with its most important sentence
4g. Add Visual Elements
- Embed new images after H2 headings, spaced evenly
- Embed charts within relevant sections
- If nanobanana-mcp configured: generate custom images for sections lacking good stock matches (invoke
blog-image sub-skill via Task)
- Adapt embed format to detected platform (MDX vs markdown vs HTML)
4h. Add Video Embeds
If the post lacks YouTube video embeds:
- Search 2-3 relevant videos using quality criteria from
references/video-embeds.md
- Embed using platform-appropriate format (srcdoc lazy loading)
- Place: 1 after introduction, 1-2 in mid-article sections
- Include noscript fallback for AI crawlers
4i. Add/Improve FAQ
- If no FAQ exists, add one (3-5 questions)
- If FAQ exists, ensure answers are 40-60 words with statistics
- Add FAQ schema markup appropriate to platform
4j. Reduce Self-Promotion
- Max 1 brand mention (author bio context only)
- Remove "At [Company], we..." patterns
- Convert promotional sections to educational content
4k. Citation Capsule Injection
For each H2 section, generate (or improve existing) a citation capsule:
- 40-60 word self-contained passage per H2
- Contains: one specific claim + one data point + source attribution
- Written in a declarative style so an AI system could extract and quote it directly
- Placed naturally within the section body, not as a separate callout
Example:
According to a 2026 Gartner study, 58% of enterprise buyers now consult AI
assistants before contacting a vendor ([Gartner](https://www.gartner.com), 2026).
This shift means B2B content must answer specific questions concisely enough
for AI systems to extract and cite in their responses.
Capsules map to the "AI Citation Readiness" category (15 points) in
references/quality-scoring.md.
4l. Anti-AI-Detection Patterns
Apply these transformations to reduce AI-detectable writing patterns:
- Eliminate em dashes - Replace every em dash (-) with a comma, hyphen (-),
colon, or period. Split sentences if needed. Em dashes are an AI writing tell.
- Replace flagged phrases - Swap every detected AI phrase (from the scan in
Phase 1 step 3) with a natural alternative. Examples:
- "it's important to note" -> "worth noting" or "keep in mind"
- "in today's digital landscape" -> "right now" or "in [specific year]"
- "leverage" -> "use", "apply", "take advantage of"
- "delve" -> "look at", "explore", "dig into"
- "robust" -> "strong", "solid", "reliable"
- "crucial" -> "key", "essential", "critical" (or restructure the sentence)
- Vary sentence length deliberately - After rewriting, scan each paragraph.
Inject short punchy sentences (5-10 words) between longer ones (18-25 words).
Target: no more than 3 consecutive sentences within 5 words of each other's length.
- Inject rhetorical questions - Add at least one rhetorical question every
200-300 words to break up declarative monotony.
- Use contractions naturally - Replace formal constructions with contractions
where they sound natural: "it is" -> "it's", "we have" -> "we've",
"do not" -> "don't", "is not" -> "isn't".
- Include hedging language - Sprinkle first-person hedges that signal real
experience: "in our experience", "we've found that", "from what we've seen",
"this tends to", "it depends on".
4m. Summary Box (Key Takeaways)
If the post lacks a summary box, add one immediately after the introduction:
> **Key Takeaways**
> - [Core finding with statistic and source]
> - [Second key insight or recommendation]
> - [Third actionable takeaway]
> (3-5 bullets, 40-60 words combined. Self-contained - reader gets
> the core value without reading the full article.)
Default label is "Key Takeaways", but this is configurable per persona or
brand voice (e.g., "The Bottom Line", "Quick Summary", "What You Need to Know").
If an existing TL;DR box is present, convert it to the bullet-point Key
Takeaways format. Verify it meets the 40-60 word requirement and contains
at least one statistic with source attribution.
4n. Information Gain Marker Injection
Review the post for original value and tag it:
[ORIGINAL DATA] - Any proprietary data, survey results, experiments, or
case study metrics the author collected first-hand
[PERSONAL EXPERIENCE] - First-hand observations, lessons learned
[UNIQUE INSIGHT] - Novel analysis, contrarian perspectives backed by data
If the post lacks original value markers:
- Ask the author for first-hand data or experience to include
- At minimum, add analytical insights that connect existing research in new ways
- Target: at least 2-3 markers per post
Use HTML comments (<!-- [ORIGINAL DATA] -->) or visible callouts depending
on the post's style.
Phase 5: Verification
After rewriting, verify all quality gates pass:
Core Quality Gates
- Every H2 opens with a statistic + source
- No paragraph exceeds 150 words
- Zero fabricated statistics
- Heading hierarchy is clean
- FAQ section present with schema
- Images have descriptive alt text
- Cover image present in frontmatter (coverImage + ogImage)
- If MDX: build the project to verify no compilation errors
New Element Verification
- TL;DR box present after introduction (40-60 words, contains statistic)
- At least 2-3 information gain markers present
- Citation capsules in major H2 sections (40-60 words, self-contained)
- Internal linking zones marked or actual links present (5-10 per 2,000 words)
- No AI-detectable phrases remain from banned list
Burstiness and Naturalness Check
- Sentence length variance: SD > 6 (mix of short and long sentences)
- Contractions used naturally throughout
- Rhetorical questions present (1 per 200-300 words)
- AI content estimate reduced from audit baseline
- Score improved across all 5 categories vs Phase 1 audit
- YouTube video embeds present with lazy loading, aria-labels, and noscript fallback
Phase 6: Summary
## Blog Optimization Complete: [Title]
### Score Change
- Before: [X]/100 ([Rating])
- Content Quality: [X]/30
- SEO Optimization: [X]/25
- E-E-A-T Signals: [X]/15
- Technical Elements: [X]/15
- AI Citation Readiness: [X]/15
- After: [Y]/100 ([Rating])
- Content Quality: [Y]/30
- SEO Optimization: [Y]/25
- E-E-A-T Signals: [Y]/15
- Technical Elements: [Y]/15
- AI Citation Readiness: [Y]/15
### AI Detection
- Before: ~[X]% AI-detected content
- After: ~[Y]% AI-detected content
- Phrases replaced: [N]
- Burstiness improved: [before SD] -> [after SD]
### Cannibalization
- [Status: none found / flagged N posts / resolved]
### Changes Made
- [X] statistics replaced with sourced data
- [X] SVG charts added (types: ...)
- [X] images added from Pixabay/Unsplash
- Answer-first formatting applied to [N] H2 sections
- FAQ schema injected with [N] questions
- TL;DR box: [added/updated]
- Information gain markers: [N] ([types])
- Citation capsules: [N] across H2 sections
- AI phrases replaced: [N]
- lastUpdated set to [date]
- Self-promotion reduced to [N] mentions
### Visual Elements
- Charts: [count] ([types])
- Images: [count]
- YouTube videos: [count] ([titles])
### Ready for
- `/blog analyze <file>` to verify final score
- Publishing / deploying
Phase 5.5: Delivery Contract Enforcement (v1.9.0)
Before presenting the rewritten draft, run the 5-gate delivery contract per skills/blog/references/blog-delivery-contract.md. The contract applies to rewrites the same way it applies to new posts: the user is never the first reviewer.
Steps:
- Hero check: if the existing post already has a hero image referenced and still on disk, keep it. If the rewrite changed the topic substantially OR the hero is missing, regenerate via
python scripts/generate_hero.py --topic "<new title>" --tags "<tags>" --out <folder>.
- Re-render: run
python scripts/blog_render.py --md <slug>.md --out-dir <folder> to refresh the .html and .pdf from the updated .md.
- Reviewer dispatch: dispatch the
blog-reviewer agent against the rendered .html. Threshold: score 90/100 or higher AND zero P0 issues.
- Preflight: run
python scripts/blog_preflight.py --draft <folder> --strict. Exit 0 = ship; exit 1 = block.
- Iterate on failure: maximum 3 iterations. After the 3rd failure, STOP and present the diagnostic from
<folder>/preflight-report.json.
Rewrites have a higher implicit threshold because the existing draft was presumably already published. Re-presenting something worse than the original is not acceptable. If the rewritten score is lower than the original score, that itself is a P0 condition.
Update Mode
When invoked as /blog update <file>, focus on freshness:
- Update statistics to latest available data (2025-2026)
- Add new developments since last update
- Refresh images if older than 1 year
- Update
lastUpdated in frontmatter
- Preserve the existing structure - minimize rewrites
- Target: at least 30% content change to register as "fresh" for AI crawlers
1---2name: blog-rewrite3description: Rewrite and optimize existing blog posts for Google rankings (December 2025 Core Update, E-E-A-T) and AI citations (GEO/AEO). Full rewrite for both Google rankings AND AI citations. For AI-citation-only audit (no Google work), use blog-geo instead. Replaces fabricated statistics with sourced data, applies answer-first formatting, adds Pixabay/Unsplash images, generates built-in SVG charts, injects FAQ schema, performs AI content detection, adds citation capsules and information gain markers, and updates freshness signals. Works with any blog format (MDX, markdown, HTML). Use when user says "rewrite blog", "optimize blog", "update blog", "improve blog", "fix blog", "refresh blog post", "blog optimization".4license: MIT5---67# Blog Rewriter: Optimize Existing Posts89Rewrites and optimizes existing blog posts for dual ranking: Google search10and AI citation platforms. Preserves the author's voice while applying the116 pillars of optimization.1213**Key references:**14- `references/quality-scoring.md` - 5-category scoring (Content 30, SEO 25, E-E-A-T 15, Technical 15, AI Citation 15)15- `references/eeat-signals.md` - Experience, expertise, authority, trust markers16- `references/internal-linking.md` - Linking strategy and anchor text rules17- `references/visual-media.md` - Image sourcing and chart styling18- `skills/blog/references/synthesis-contract.md` - 6 LAWs for re-citation hygiene during rewrite (v1.8.0; cross-skill ref lives in the orchestrator's references dir)19- `skills/blog/references/research-quality.md` - cross-source clustering for replacement-statistic research (v1.8.0)2021## Cross-reference2223For 21 evidence-led optimization prompts (AI-detector test, CTR audit, schema, PAA rewording, technical audit, ChatGPT visibility) directly applicable to rewrite work, see `/blog flow optimize`.2425## Workflow2627### Phase 1: Audit (Read-Only)28291. **Read the blog post** - Detect format (MDX, markdown, HTML)302. **Run the quality checklist** against `references/quality-scoring.md`:31 - Count fabricated vs sourced statistics32 - Check answer-first formatting (H2 -> stat in first sentence?)33 - Count images and charts (type diversity?)34 - Measure paragraph lengths (any > 150 words?)35 - Check heading hierarchy (H1 -> H2 -> H3, no skips?)36 - Look for FAQ schema37 - Check freshness signals (lastUpdated, dateModified)38 - Assess self-promotion level39 - Evaluate citation tier quality403. **AI content detection scan**:41 - **Burstiness score** - Measure sentence length variance across the post. Low42 variance (most sentences within 3-5 words of each other) is a strong AI signal.43 Calculate: standard deviation of sentence word counts. Target SD > 6.44 - **Known AI phrase scan** - Check for these high-frequency AI phrases:45 - "in today's digital landscape", "it's important to note", "dive into"46 - "game-changer", "navigate the landscape", "revolutionize", "seamlessly"47 - "cutting-edge", "harness the power of", "leverage" (as verb)48 - "delve", "crucial", "elevate", "foster", "landscape" (overused)49 - "multifaceted", "robust", "tapestry", "embark"50 - Full list in `agents/blog-writer.md`51 - **Vocabulary diversity** - Calculate Type-Token Ratio (TTR): unique words /52 total words. Low TTR (< 0.40) suggests AI-generated repetitive phrasing.53 Target TTR > 0.50 for natural prose.54 - **AI content percentage estimate** - Based on burstiness, phrase density, and55 TTR, estimate what percentage of the content reads as AI-generated (0-100%).56 Report as: "AI content estimate: ~X%"57 - **Second-order structural reflex scan** (v1.8.0) - The first-order checks above58 are vocabulary-level. The second-order pass catches what survives them: structural59 and rhythmic tics LLMs default to after the obvious words are replaced. Run against60 `skills/blog/references/ai-slop-detection.md`. Flag at minimum:61 - Question-cadence H2s above 70% of headings62 - Three or more "Here..." paragraph openers63 - Three-clause sentence rhythm above 50% in any 200-word window64 - More than 2 hedge words ("may," "often," "typically," "generally") in any 20-word span65 - Symmetric-list bloat (list-item word-count SD below 5)66 - More than 2 wrap-up rhetorical questions ("What does this mean for...?")67 - More than half of H2 openers starting with a transition word68 - "The key insight is..." or "What's important here is..." as sentence openers69 - Listicle pre-list intro above 250 words70 - Opening-word repetition: top three first-words above 25% share71 - Paragraph-shape SD below 25 (visual monotony)72 A draft is only "AI-detection clean" when both passes are clean. The two-namespace73 terminology (first-order/second-order for slop-detection vs Tier 1/2/3 for source74 authority) is intentional: see `skills/blog/references/ai-slop-detection.md` for75 why the labels diverged in v1.8.1.764. **Video embed check**:77 - Count existing YouTube embeds in the post78 - If 0 embeds, flag: "No video embeds. YouTube has the strongest AI visibility correlation (0.737)"79 - If present, check: lazy loading? aria-labels? noscript fallback? VideoObject schema?805. **Cannibalization check**:81 - Identify the post's primary keyword from title, H1, and first paragraph82 - Search the blog directory for other posts targeting the same keyword:83 - Grep headings and meta descriptions across all blog posts84 - Flag any posts with significant keyword overlap85 - If cannibalization found, report:86 - Which posts compete for the same keyword87 - Recommend: **merge** (combine into one stronger post) or **differentiate**88 (shift one post to a related but distinct keyword)896. **Calculate current score** across 5 categories:90 - Score across 5 categories (Content Quality 30, SEO Optimization 25, E-E-A-T Signals 15, Technical Elements 15, AI Citation Readiness 15)91 - Total: 0-100927. **Present audit summary** with specific findings, AI detection results, video status, cannibalization status, and score938. **Enter plan mode** - Present section-by-section optimization plan9495Wait for user approval before proceeding.9697### Phase 2: Research98991. **Identify the blog's core topic** from existing content1002. **Find replacement statistics** for any fabricated/unsourced data:101 - Search: `[topic] study 2025 2026 data statistics`102 - Target tier 1-3 sources only1033. **Find images** if post has fewer than 3:104 - Pixabay: `site:pixabay.com [topic keywords]`105 - Unsplash: `site:unsplash.com [topic keywords]`106 - Verify each URL returns HTTP 200107 - If nanobanana-mcp is configured, offer AI generation for missing/insufficient images via `blog-image`1084. **Plan charts** if post has fewer than 2:109 - Identify data suitable for visualization110 - Select diverse chart types111112### Phase 3: Chart Generation (Built-In)113114When the post needs more visual elements, invoke the `blog-chart` sub-skill:1151161. Select chart type using the diversity rule (no repeated types per post)1172. Pass: chart type, title, data values, source, platform format1183. Embed the returned SVG directly within a `<figure>` wrapper1194. Target 2-4 charts per 2,000-word post120121See `references/visual-media.md` for chart type selection and styling rules.122123### Phase 4: Content Rewrite124125Apply changes in this order:126127#### 4a. Preserve What Works128- Keep the author's voice and unique perspective129- Preserve original insights and first-hand experience130- Keep existing quality images and charts131- Maintain internal links132133#### 4b. Fix Frontmatter134- Add `lastUpdated: "YYYY-MM-DD"` (today's date)135- Keep original `date` unchanged136- Fix meta description: fact-dense, 150-160 chars, includes 1 statistic137- Add `coverImage` + `coverImageAlt` + `ogImage` if missing138 - Search Pixabay/Unsplash/Pexels for wide hero image (1200x630)139 - Or generate custom SVG cover via `blog-chart` (text-on-gradient with key stat)140 - Or generate custom AI image via `blog-image` sub-skill (if nanobanana-mcp configured)141- Verify tags/categories are appropriate142143#### 4c. Apply Answer-First Formatting144Every H2 section MUST open with a 40-60 word paragraph containing:145- At least one specific statistic with source attribution146- A direct answer to the heading's implicit question147148#### 4d. Replace Fabricated Statistics149- Search for patterns: "X% of...", "X out of Y...", unsourced claims150- Replace with real data from tier 1-3 sources151- Always include inline attribution: `([Source Name](url), year)`152153#### 4e. Improve Headings154- Convert statement headings to questions where natural (60-70% target)155- Keep 2-3 statement headings for variety156- Ensure keyword appears in 2-3 headings naturally157158#### 4f. Fix Paragraph Length159- Split any paragraph > 150 words160- Target 40-80 words per paragraph161- Ensure each paragraph starts with its most important sentence162163#### 4g. Add Visual Elements164- Embed new images after H2 headings, spaced evenly165- Embed charts within relevant sections166- If nanobanana-mcp configured: generate custom images for sections lacking good stock matches (invoke `blog-image` sub-skill via Task)167- Adapt embed format to detected platform (MDX vs markdown vs HTML)168169#### 4h. Add Video Embeds170If the post lacks YouTube video embeds:171- Search 2-3 relevant videos using quality criteria from `references/video-embeds.md`172- Embed using platform-appropriate format (srcdoc lazy loading)173- Place: 1 after introduction, 1-2 in mid-article sections174- Include noscript fallback for AI crawlers175176#### 4i. Add/Improve FAQ177- If no FAQ exists, add one (3-5 questions)178- If FAQ exists, ensure answers are 40-60 words with statistics179- Add FAQ schema markup appropriate to platform180181#### 4j. Reduce Self-Promotion182- Max 1 brand mention (author bio context only)183- Remove "At [Company], we..." patterns184- Convert promotional sections to educational content185186#### 4k. Citation Capsule Injection187For each H2 section, generate (or improve existing) a citation capsule:188- 40-60 word self-contained passage per H2189- Contains: one specific claim + one data point + source attribution190- Written in a declarative style so an AI system could extract and quote it directly191- Placed naturally within the section body, not as a separate callout192193Example:194```markdown195According to a 2026 Gartner study, 58% of enterprise buyers now consult AI196assistants before contacting a vendor ([Gartner](https://www.gartner.com), 2026).197This shift means B2B content must answer specific questions concisely enough198for AI systems to extract and cite in their responses.199```200201Capsules map to the "AI Citation Readiness" category (15 points) in202`references/quality-scoring.md`.203204#### 4l. Anti-AI-Detection Patterns205Apply these transformations to reduce AI-detectable writing patterns:206- **Eliminate em dashes** - Replace every em dash (-) with a comma, hyphen (-),207 colon, or period. Split sentences if needed. Em dashes are an AI writing tell.208- **Replace flagged phrases** - Swap every detected AI phrase (from the scan in209 Phase 1 step 3) with a natural alternative. Examples:210 - "it's important to note" -> "worth noting" or "keep in mind"211 - "in today's digital landscape" -> "right now" or "in [specific year]"212 - "leverage" -> "use", "apply", "take advantage of"213 - "delve" -> "look at", "explore", "dig into"214 - "robust" -> "strong", "solid", "reliable"215 - "crucial" -> "key", "essential", "critical" (or restructure the sentence)216- **Vary sentence length deliberately** - After rewriting, scan each paragraph.217 Inject short punchy sentences (5-10 words) between longer ones (18-25 words).218 Target: no more than 3 consecutive sentences within 5 words of each other's length.219- **Inject rhetorical questions** - Add at least one rhetorical question every220 200-300 words to break up declarative monotony.221- **Use contractions naturally** - Replace formal constructions with contractions222 where they sound natural: "it is" -> "it's", "we have" -> "we've",223 "do not" -> "don't", "is not" -> "isn't".224- **Include hedging language** - Sprinkle first-person hedges that signal real225 experience: "in our experience", "we've found that", "from what we've seen",226 "this tends to", "it depends on".227228#### 4m. Summary Box (Key Takeaways)229If the post lacks a summary box, add one immediately after the introduction:230```markdown231> **Key Takeaways**232> - [Core finding with statistic and source]233> - [Second key insight or recommendation]234> - [Third actionable takeaway]235> (3-5 bullets, 40-60 words combined. Self-contained - reader gets236> the core value without reading the full article.)237```238Default label is "Key Takeaways", but this is configurable per persona or239brand voice (e.g., "The Bottom Line", "Quick Summary", "What You Need to Know").240241If an existing TL;DR box is present, convert it to the bullet-point Key242Takeaways format. Verify it meets the 40-60 word requirement and contains243at least one statistic with source attribution.244245#### 4n. Information Gain Marker Injection246Review the post for original value and tag it:247- `[ORIGINAL DATA]` - Any proprietary data, survey results, experiments, or248 case study metrics the author collected first-hand249- `[PERSONAL EXPERIENCE]` - First-hand observations, lessons learned250- `[UNIQUE INSIGHT]` - Novel analysis, contrarian perspectives backed by data251252If the post lacks original value markers:253- Ask the author for first-hand data or experience to include254- At minimum, add analytical insights that connect existing research in new ways255- Target: at least 2-3 markers per post256257Use HTML comments (`<!-- [ORIGINAL DATA] -->`) or visible callouts depending258on the post's style.259260### Phase 5: Verification261262After rewriting, verify all quality gates pass:263264#### Core Quality Gates2651. Every H2 opens with a statistic + source2662. No paragraph exceeds 150 words2673. Zero fabricated statistics2684. Heading hierarchy is clean2695. FAQ section present with schema2706. Images have descriptive alt text2717. Cover image present in frontmatter (coverImage + ogImage)2728. If MDX: build the project to verify no compilation errors273274#### New Element Verification2759. TL;DR box present after introduction (40-60 words, contains statistic)27610. At least 2-3 information gain markers present27711. Citation capsules in major H2 sections (40-60 words, self-contained)27812. Internal linking zones marked or actual links present (5-10 per 2,000 words)27913. No AI-detectable phrases remain from banned list280281#### Burstiness and Naturalness Check28214. Sentence length variance: SD > 6 (mix of short and long sentences)28315. Contractions used naturally throughout28416. Rhetorical questions present (1 per 200-300 words)28517. AI content estimate reduced from audit baseline28618. Score improved across all 5 categories vs Phase 1 audit28719. YouTube video embeds present with lazy loading, aria-labels, and noscript fallback288289### Phase 6: Summary290291```292## Blog Optimization Complete: [Title]293294### Score Change295- Before: [X]/100 ([Rating])296 - Content Quality: [X]/30297 - SEO Optimization: [X]/25298 - E-E-A-T Signals: [X]/15299 - Technical Elements: [X]/15300 - AI Citation Readiness: [X]/15301- After: [Y]/100 ([Rating])302 - Content Quality: [Y]/30303 - SEO Optimization: [Y]/25304 - E-E-A-T Signals: [Y]/15305 - Technical Elements: [Y]/15306 - AI Citation Readiness: [Y]/15307308### AI Detection309- Before: ~[X]% AI-detected content310- After: ~[Y]% AI-detected content311- Phrases replaced: [N]312- Burstiness improved: [before SD] -> [after SD]313314### Cannibalization315- [Status: none found / flagged N posts / resolved]316317### Changes Made318- [X] statistics replaced with sourced data319- [X] SVG charts added (types: ...)320- [X] images added from Pixabay/Unsplash321- Answer-first formatting applied to [N] H2 sections322- FAQ schema injected with [N] questions323- TL;DR box: [added/updated]324- Information gain markers: [N] ([types])325- Citation capsules: [N] across H2 sections326- AI phrases replaced: [N]327- lastUpdated set to [date]328- Self-promotion reduced to [N] mentions329330### Visual Elements331- Charts: [count] ([types])332- Images: [count]333- YouTube videos: [count] ([titles])334335### Ready for336- `/blog analyze <file>` to verify final score337- Publishing / deploying338```339340## Phase 5.5: Delivery Contract Enforcement (v1.9.0)341342Before presenting the rewritten draft, run the 5-gate delivery contract per `skills/blog/references/blog-delivery-contract.md`. The contract applies to rewrites the same way it applies to new posts: the user is never the first reviewer.343344Steps:3453461. **Hero check**: if the existing post already has a hero image referenced and still on disk, keep it. If the rewrite changed the topic substantially OR the hero is missing, regenerate via `python scripts/generate_hero.py --topic "<new title>" --tags "<tags>" --out <folder>`.3472. **Re-render**: run `python scripts/blog_render.py --md <slug>.md --out-dir <folder>` to refresh the `.html` and `.pdf` from the updated `.md`.3483. **Reviewer dispatch**: dispatch the `blog-reviewer` agent against the rendered `.html`. Threshold: score 90/100 or higher AND zero P0 issues.3494. **Preflight**: run `python scripts/blog_preflight.py --draft <folder> --strict`. Exit 0 = ship; exit 1 = block.3505. **Iterate on failure**: maximum 3 iterations. After the 3rd failure, STOP and present the diagnostic from `<folder>/preflight-report.json`.351352Rewrites have a higher implicit threshold because the existing draft was presumably already published. Re-presenting something worse than the original is not acceptable. If the rewritten score is lower than the original score, that itself is a P0 condition.353354## Update Mode355356When invoked as `/blog update <file>`, focus on freshness:3571. Update statistics to latest available data (2025-2026)3582. Add new developments since last update3593. Refresh images if older than 1 year3604. Update `lastUpdated` in frontmatter3615. Preserve the existing structure - minimize rewrites3626. Target: at least 30% content change to register as "fresh" for AI crawlers