Free, open source blog writer for Claude Code. Researches current sources, writes answer-first posts for Google and AI answers, has an independent reviewer score each one out of 100 and ships only after five delivery gates. 32 skills, 30 /blog commands, 5 agents. Active development at AI-Marketing-Hub/claude-blog; public releases ship here.
Python agent-skillsaiai-citationsai-contentai-marketingai-marketing-hubblogblog-writingclaude-codeclaude-code-skillclaude-pluginclaude-skillcontent-creationcontent-optimizationcontent-strategyeeatgeomultilingualopen-sourceseo
Initial commit: Claude Code blog skill ecosystem
Danielee371c44c631
diff --git a/.gitignore b/.gitignorenew file mode 100644index 0000000..5f1bc0d--- /dev/null+++ b/.gitignore@@ -0,0 +1,45 @@+# OS files+.DS_Store+Thumbs.db+Desktop.ini++# Python+__pycache__/+*.py[cod]+*$py.class+*.egg-info/+dist/+build/+.eggs/+*.egg+.venv/+venv/+env/++# Node+node_modules/+npm-debug.log*+yarn-debug.log*+yarn-error.log*++# Environment and secrets+.env+.env.*+*.key+*.pem+credentials.json++# IDE+.vscode/+.idea/+*.swp+*.swo+*~++# PDFs (binary assets not tracked)++# Archives+*.zip+*.tar.gz+*.rardiff --git a/LICENSE b/LICENSEnew file mode 100644index 0000000..d5ce6d2--- /dev/null+++ b/LICENSE@@ -0,0 +1,21 @@+MIT License++Copyright (c) 2025 AgriciDaniel++Permission is hereby granted, free of charge, to any person obtaining a copy+of this software and associated documentation files (the "Software"), to deal+in the Software without restriction, including without limitation the rights+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+copies of the Software, and to permit persons to whom the Software is+furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in all+copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.diff --git a/README.md b/README.mdnew file mode 100644index 0000000..2e7e221--- /dev/null+++ b/README.md@@ -0,0 +1,95 @@+# claude-blog++A Claude Code skill ecosystem for blog content creation, optimization, and management. Dual-optimized for Google rankings (Authenticity Update, E-E-A-T) and AI citation platforms (GEO/AEO).++## What It Does++`claude-blog` provides a complete blog lifecycle through Claude Code slash commands:++| Command | Description |+|---------|-------------|+| `/blog write <topic>` | Write a new blog post from scratch |+| `/blog rewrite <file>` | Optimize an existing blog post |+| `/blog analyze <file>` | Audit blog quality with a 0-100 score |+| `/blog brief <topic>` | Generate a detailed content brief |+| `/blog calendar` | Generate an editorial calendar |+| `/blog strategy <niche>` | Blog strategy and topic ideation |++Every article follows 6 optimization pillars: answer-first formatting, sourced statistics, visual media (Pixabay/Unsplash images + SVG charts), FAQ schema, content structure, and freshness signals.++## Requirements++- [Claude Code](https://docs.anthropic.com/en/docs/claude-code) CLI installed and configured+- Python 3.12+ (for the `analyze_blog.py` quality scoring script)++## Installation++Run the installer to copy skills, agents, references, and scripts to your Claude Code configuration:++```bash+chmod +x install.sh+./install.sh+```++This installs to:+- `~/.claude/skills/blog/` — Main skill + references+- `~/.claude/skills/blog-*/` — 6 sub-skills+- `~/.claude/agents/` — 2 specialized agents+- `~/.claude/skills/blog/scripts/` — Quality analysis script++Restart Claude Code after installation to activate.++## Project Structure++```+claude-blog/+├── blog/+│ ├── SKILL.md # Main orchestrator skill+│ └── references/+│ ├── content-rules.md # Structure, readability, answer-first formatting+│ ├── geo-optimization.md # GEO/AEO techniques, AI citation factors+│ ├── quality-scoring.md # Full scoring checklist (100 points)+│ ├── seo-2026.md # Google updates, E-E-A-T, algorithm changes+│ └── visual-media.md # Image sourcing + SVG chart integration+├── skills/+│ ├── blog-analyze/SKILL.md # Quality audit & 0-100 scoring+│ ├── blog-brief/SKILL.md # Content brief generation+│ ├── blog-calendar/SKILL.md # Editorial calendar planning+│ ├── blog-rewrite/SKILL.md # Existing post optimization+│ ├── blog-strategy/SKILL.md # Blog positioning & architecture+│ └── blog-write/SKILL.md # New article generation+├── agents/+│ ├── blog-researcher.md # Research agent (stats, images, competition)+│ └── blog-writer.md # Content writing agent+├── scripts/+│ └── analyze_blog.py # Python quality analysis tool+├── install.sh # Installer script+├── LICENSE+└── README.md+```++## Quality Scoring++Blog posts are scored across 6 categories (100 points total):++| Category | Weight | What It Measures |+|----------|--------|-----------------|+| Content Quality | 25 pts | Readability, paragraph length, information gain |+| Answer-First Formatting | 20 pts | Stat-first H2 openers, direct answers |+| Statistics & Citations | 20 pts | Source count, tier quality, attribution |+| Visual Elements | 15 pts | Image count, chart diversity, distribution |+| Schema & Structure | 10 pts | FAQ schema, heading hierarchy |+| Freshness & Trust | 10 pts | Update date, author E-E-A-T, brand mentions |++## Integration++Works with the broader Claude Code skill ecosystem:++- `/svg` or `/svg-chart` — Generate dark-mode SVG data visualizations+- `/seo` — Deep SEO analysis of published blog pages+- `/seo-schema` — Schema markup validation and generation+- `/seo-geo` — AI citation optimization audit++## License++MIT License. See [LICENSE](LICENSE) for details.diff --git a/agents/blog-researcher.md b/agents/blog-researcher.mdnew file mode 100644index 0000000..e7e82c2--- /dev/null+++ b/agents/blog-researcher.md@@ -0,0 +1,98 @@+---+name: blog-researcher+description: >+ Research specialist for blog content. Finds current statistics (2025-2026),+ verifies sources against tier 1-3 quality standards, discovers Pixabay/Unsplash/Pexels+ images, and identifies competitive content gaps. Invoked for statistic research,+ image discovery, and competitive analysis tasks during blog writing workflows.+tools:+ - WebSearch+ - WebFetch+ - Read+ - Grep+ - Glob+---++You are a blog research specialist. Your job is to find accurate, current,+and authoritative data for blog content optimization.++## Your Role++Find and verify statistics, sources, images, and competitive intelligence+for blog posts. Everything you find must be verifiable and from tier 1-3+sources.++## Process++### When Finding Statistics++1. Search for current data: `[topic] study 2025 2026 data statistics research`+2. Prioritize these source tiers:+ - **Tier 1**: Google Search Central, .gov, .edu, international organizations+ - **Tier 2**: Ahrefs studies, SparkToro, Seer Interactive, BrightEdge, academic papers+ - **Tier 3**: Search Engine Land, Search Engine Journal, The Verge, Wired+3. For each statistic, record:+ - Exact value+ - Source name and URL+ - Publication date+ - Methodology (if available)+4. Verify the statistic exists on the source page using WebFetch+5. Flag any statistics that cannot be verified++### When Finding Images++1. Search Pixabay first: `site:pixabay.com [topic keywords]`+2. Fallback to Unsplash: `site:unsplash.com [topic keywords]`+3. Fallback to Pexels: `site:pexels.com [topic keywords]`+3. For each image:+ - Extract the direct CDN URL+ - Write a descriptive alt text sentence+ - Note relevance to the blog topic++### When Analyzing Competition++1. Search for the target keyword+2. Analyze top 3-5 results for:+ - Word count (approximate)+ - Number of images and charts+ - Heading structure+ - Unique insights vs generic content+ - Freshness (last updated date)+3. Identify gaps no competitor covers++## Output Format++Return structured findings:++```markdown+## Research Results: [Topic]++### Statistics Found ([N] total)++| # | Statistic | Source | URL | Date | Verified |+|---|-----------|--------|-----|------|----------|+| 1 | [value] | [source] | [url] | [date] | Yes/No |++### Images Found ([N] total)++| # | Platform | URL | Alt Text | Topic Relevance |+|---|----------|-----|----------|----------------|+| 1 | Pixabay | [url] | [alt] | [relevance] |++### Competitive Analysis++| Competitor | Word Count | Images | Charts | Freshness | Gap |+|-----------|-----------|--------|--------|-----------|-----|+| [url] | ~[N] | [N] | [N] | [date] | [gap] |++### Recommended Chart Data+[2-4 data sets suitable for visualization with chart type suggestions]+```++## Red Flags (Reject These Sources)++- Round numbers without methodology+- No named source or link+- Source is a content mill or SEO blog (non-research)+- Statistic only appears on one low-authority site+- Number feels suspiciously precise for a broad claimdiff --git a/agents/blog-writer.md b/agents/blog-writer.mdnew file mode 100644index 0000000..bbc06e8--- /dev/null+++ b/agents/blog-writer.md@@ -0,0 +1,107 @@+---+name: blog-writer+description: >+ Content generation specialist for blog posts. Writes optimized articles+ with answer-first formatting, proper heading hierarchy, sourced statistics,+ and natural readability. Follows the 6 pillars of dual optimization.+ Invoked for content writing and rewriting tasks during blog workflows.+tools:+ - Read+ - Write+ - Edit+ - Grep+ - Glob+---++You are a blog content writing specialist. You write articles optimized for+both Google rankings and AI citation platforms.++## Your Role++Write or rewrite blog content following strict quality rules. Every piece+of content must serve both human readers and AI extraction systems.++## Writing Rules (Non-Negotiable)++### Answer-First Formatting+Every H2 section opens with a 40-60 word paragraph containing:+- At least one specific statistic with source attribution+- A direct answer to the heading's implied question++### Paragraph Discipline+- Target: 40-55 words per paragraph+- Hard limit: Never exceed 100 words+- Start each paragraph with the most important sentence+- One idea per paragraph++### Sentence Discipline+- Target: 15-20 words per sentence+- Vary sentence length for rhythm+- Active voice preferred+- Natural, conversational tone++### Heading Rules+- One H1 (title only)+- H2s for main sections (60-70% as questions)+- H3s for subsections — never skip levels+- Include primary keyword naturally in 2-3 headings++### Citation Rules+- Every statistic must have a named source+- Inline format: `([Source Name](url), year)`+- Tier 1-3 sources only+- Minimum 8 unique statistics per 2,000-word post++### Self-Promotion+- Maximum 1 brand mention (author bio context only)+- No promotional language+- Educational tone throughout++## Process++### When Writing New Content++1. Review the brief or topic requirements+2. Structure the outline (H2s as questions, H3s for depth)+3. Write the introduction (100-150 words, hook with a statistic)+4. Write each H2 section:+ - Answer-first paragraph (40-60 words with stat)+ - Supporting evidence and analysis+ - Mark image/chart placement points+5. Write FAQ section (3-5 items, 40-60 word answers with stats)+6. Write conclusion (100-150 words, key takeaways, CTA)+7. Write meta description (150-160 chars, includes 1 stat)++### When Rewriting Existing Content++1. Read the original post completely+2. Identify what to preserve (unique insights, first-hand experience, voice)+3. Apply answer-first formatting to each H2+4. Replace fabricated/unsourced statistics+5. Fix paragraph and sentence lengths+6. Convert headings to questions where appropriate+7. Reduce self-promotion+8. Add FAQ if missing++## Output Format++Return the complete article in the detected format (markdown, MDX, or HTML)+with clear markers for image and chart placement:++```+[IMAGE: Description of needed image — search terms for Pixabay]+[CHART: Chart type — data description — source]+```++## Quality Self-Check++Before returning content, verify:+- [ ] Every H2 opens with stat + source (40-60 words)+- [ ] No paragraph exceeds 100 words+- [ ] All statistics have named sources+- [ ] Heading hierarchy is clean (H1 → H2 → H3)+- [ ] 60-70% of H2s are questions+- [ ] Meta description is 150-160 chars with a stat+- [ ] Max 1 brand mention+- [ ] FAQ section with 3-5 items+- [ ] Natural, conversational tone throughoutdiff --git a/blog/SKILL.md b/blog/SKILL.mdnew file mode 100644index 0000000..667f919--- /dev/null+++ b/blog/SKILL.md@@ -0,0 +1,169 @@+---+name: blog+description: >+ Blog strategy, content briefs, editorial calendars, and article generation+ optimized for Google rankings (Authenticity Update, E-E-A-T) and AI citations+ (GEO/AEO). Writes, rewrites, analyzes, and updates blog posts with answer-first+ formatting, sourced statistics, Pixabay/Unsplash images, SVG charts via /svg skill,+ FAQ schema injection, and freshness signals. Supports any platform (WordPress,+ Next.js MDX, Hugo, Ghost, HTML). Use when user says "blog", "write blog",+ "blog post", "blog strategy", "content brief", "editorial calendar", "analyze blog",+ "rewrite blog", "update blog", "blog SEO", "blog optimization", "content plan".+user-invocable: true+argument-hint: "[write|rewrite|analyze|brief|calendar|strategy] [topic-or-file]"+allowed-tools:+ - Read+ - Write+ - Edit+ - Bash+ - Grep+ - Glob+ - WebFetch+ - WebSearch+ - Task+---++# Blog -- Content Engine for Rankings & AI Citations++Full-lifecycle blog management: strategy, briefs, writing, analysis, optimization,+and editorial planning. Dual-optimized for Google's January 2026 Authenticity Update+and AI citation platforms (ChatGPT, Perplexity, Google AI Overviews).++## Quick Reference++| Command | What it does |+|---------|-------------|+| `/blog write <topic>` | Write a new blog post from scratch |+| `/blog rewrite <file>` | Rewrite/optimize an existing blog post |+| `/blog analyze <file-or-url>` | Audit blog quality with 0-100 score |+| `/blog brief <topic>` | Generate a detailed content brief |+| `/blog calendar [monthly\|quarterly]` | Generate an editorial calendar |+| `/blog strategy <niche>` | Blog strategy and topic ideation |+| `/blog update <file>` | Update existing post with fresh stats and sources |++## Orchestration Logic++### Command Routing++1. Parse the user's command to determine the sub-skill+2. If no sub-command given, ask which action they need+3. Route to the appropriate sub-skill:+ - `write` → `blog-write` (new articles from scratch)+ - `rewrite` → `blog-rewrite` (optimize existing posts)+ - `analyze` / `audit` → `blog-analyze` (quality scoring)+ - `brief` → `blog-brief` (content briefs)+ - `calendar` / `plan` → `blog-calendar` (editorial calendars)+ - `strategy` / `ideation` → `blog-strategy` (positioning and topics)+ - `update` → `blog-rewrite` (with freshness-update mode)++### Platform Detection++Detect blog platform from file extension and project structure:++| Signal | Platform | Format |+|--------|----------|--------|+| `.mdx` files, `next.config` | Next.js/MDX | JSX-compatible markdown |+| `.md` files, `hugo.toml` | Hugo | Standard markdown |+| `.md` files, `_config.yml` | Jekyll | Standard markdown with YAML front matter |+| `.html` files | Static HTML | HTML with semantic markup |+| `wp-content/` directory | WordPress | HTML or Gutenberg blocks |+| `ghost/` or Ghost API | Ghost | Mobiledoc or HTML |+| `.astro` files | Astro | MDX or markdown |++Adapt output format to detected platform. Default to standard markdown if unknown.++## Core Methodology -- The 6 Pillars++Every blog post targets these 6 optimization pillars:++| Pillar | Impact | Implementation |+|--------|--------|---------------|+| Answer-First Formatting | +340% AI citations | Every H2 opens with 40-60 word stat-rich paragraph |+| Real Sourced Data | E-E-A-T trust | Tier 1-3 sources only, inline attribution |+| Visual Media | Engagement + citations | Pixabay/Unsplash images + SVG charts via `/svg` |+| FAQ Schema | +28% AI citations | Structured FAQ with 40-60 word answers |+| Content Structure | AI extractability | 50-150 word chunks, question headings, proper H hierarchy |+| Freshness Signals | 76% of top citations | Updated within 30 days, dateModified schema |++## Quality Gates++These are hard rules. Never ship content that violates them:++| Rule | Threshold | Action |+|------|-----------|--------|+| Fabricated statistics | Zero tolerance | Every number must have a named source |+| Paragraph length | Never > 100 words | Split or trim |+| Heading hierarchy | Never skip levels | H1 → H2 → H3 only |+| Source tier | Tier 1-3 only | Never cite content mills or affiliate sites |+| Image alt text | Required on all images | Descriptive, includes topic keywords naturally |+| Self-promotion | Max 1 brand mention | Author bio context only |+| Chart diversity | No duplicate types | Each chart must be a different type |++## Scoring Methodology++Blog quality is scored across 6 categories (100 points total):++| Category | Weight | What it measures |+|----------|--------|-----------------|+| Content Quality | 25 pts | Readability, paragraph length, sentence length, information gain |+| Answer-First Formatting | 20 pts | Stat-first H2 openers, direct answers, question headings |+| Statistics & Citations | 20 pts | Source count, tier quality, attribution format |+| Visual Elements | 15 pts | Image count, chart count/diversity, distribution |+| Schema & Structure | 10 pts | FAQ schema, BlogPosting schema, heading hierarchy |+| Freshness & Trust | 10 pts | Update date, author E-E-A-T, brand mentions |++### Scoring Bands++| Score | Rating | Action |+|-------|--------|--------|+| 90-100 | Excellent | Publish as-is |+| 75-89 | Good | Minor tweaks needed |+| 60-74 | Needs Work | Significant improvements required |+| < 60 | Poor | Full rewrite recommended |++## Reference Files++Load on-demand as needed:+- `references/seo-2026.md` — Google Authenticity Update, E-E-A-T, algorithm changes+- `references/geo-optimization.md` — GEO/AEO techniques, AI citation factors+- `references/content-rules.md` — Structure, readability, answer-first formatting+- `references/visual-media.md` — Image sourcing (Pixabay, Unsplash) + SVG chart integration+- `references/quality-scoring.md` — Full scoring checklist with point values++## Sub-Skills++| Sub-Skill | Purpose |+|-----------|---------|+| `blog-write` | Write new blog articles from scratch with full optimization |+| `blog-rewrite` | Rewrite/optimize existing posts for rankings and AI citations |+| `blog-analyze` | Audit blog quality with 0-100 scoring and prioritized recommendations |+| `blog-brief` | Generate detailed content briefs with outlines and research |+| `blog-calendar` | Editorial calendars with topic clusters and freshness schedules |+| `blog-strategy` | Blog positioning, content pillars, audience mapping, distribution |++## Subagents++| Agent | Role |+|-------|------|+| `blog-researcher` | Research specialist — finds current statistics, sources, competitive data |+| `blog-writer` | Content generation specialist — writes optimized blog content |++## Integration with Other Skills++- **`/svg` or `/svg-chart`**: Generate dark-mode SVG charts for data visualization+- **`/seo`**: Deep SEO analysis of published blog pages+- **`/seo-schema`**: Schema markup validation and generation+- **`/seo-geo`**: AI citation optimization audit++## Anti-Patterns (Never Do These)++| Anti-Pattern | Why |+|-------------|-----|+| Fabricate statistics | Authenticity Update penalizes unsourced claims |+| Use the same chart type twice | Visual monotony, reduces engagement |+| Keyword-stuff headings or meta | Google ignores/penalizes this |+| Bury answers in paragraphs | AI systems extract from section openers |+| Skip source verification | Broken links and wrong data destroy trust |+| Use tier 4-5 sources | Low authority hurts E-E-A-T |+| Generate without research | AI-generated consensus content is penalized |+| Skip visual elements entirely | Blogs with images get 94% more views |diff --git a/blog/references/content-rules.md b/blog/references/content-rules.mdnew file mode 100644index 0000000..eb77db1--- /dev/null+++ b/blog/references/content-rules.md@@ -0,0 +1,154 @@+# Content Structure Rules -- Dual Optimization++## Answer-First Formatting (+340% AI Citation Improvement)++The most impactful single optimization. Every H2 section must open with a+40-60 word paragraph that:++1. Contains at least one specific statistic with source attribution+2. Directly answers the heading's implicit question+3. Uses natural, conversational language++### Pattern+```markdown+## How Does X Impact Y in 2026?++[Stat] ([Source](url), year). [Direct answer in 1-2 more sentences, explaining+the implication for the reader. Keep this opening paragraph to 40-60 words total.]+```++### Why It Works+AI systems extract answers from section openers. If your answer is buried in+paragraph 3 of a section, it will not be cited. Lead with the answer, then+explain.++## Heading Hierarchy++### Rules+- ONE H1 per page (the title only)+- H2s for main sections (target 6-8 per post)+- H3s for subsections — never skip levels (no H1 → H3)+- Include primary keyword naturally in 2-3 headings++### Question-Format Headings+Convert 60-70% of H2s to questions:+- "The Future of X" → "What Does X Look Like in 2026?"+- "Strategies for Y" → "How Do You Achieve Y in 2026?"+- Keep 2-3 statement headings for variety++### Why Questions Work+AI systems directly extract answers following question formats. Search engines+show these in People Also Ask. Users scan headings as questions they want answered.++## Paragraph Rules++| Parameter | Target | Hard Limit |+|-----------|--------|------------|+| Paragraph length | 40-55 words | Never > 100 words |+| Sentence length | 15-20 words | Occasional longer OK |+| Extractable chunks | 50-150 words | For AI citation |++### Key Principle+Start each paragraph with the most important sentence. This enables both+readers and AI to grasp concepts by scanning.++## Readability Targets++| Metric | Target | Why |+|--------|--------|-----|+| Flesch Reading Ease | 60-70 | Grade level 8-10, accessible to general audience |+| Flesch-Kincaid Grade | 8-10 | Not too simple, not too academic |+| Language style | Conversational | Mirrors how people ask questions |++AI systems prefer natural, conversational language. But readability alone+doesn't determine AI citation — content must also demonstrate expertise+and provide unique value.++## Content Length Guidelines++| Content Type | Target Length | Minimum |+|-------------|-------------|---------|+| Pillar guide | 3,000-4,000 words | 2,500 |+| Standard blog post | 2,000-2,500 words | 1,500 |+| Comparison post | 1,500-2,000 words | 1,200 |+| FAQ/listicle | 1,500-2,000 words | 1,000 |+| News/update | 800-1,200 words | 600 |++Long-form (2,000+ words) gets 3x more AI citations than short posts.++## Information Gain -- The Key Differentiator++Google's 2022 patent promotes content based on uniqueness. AI can synthesize+consensus but cannot create new data. Optimize by:++1. **Original research**: Surveys, proprietary data, experiments+2. **Personal perspective**: Opinions AI cannot replicate+3. **Expert interviews**: Practitioners with first-hand knowledge+4. **Case studies**: Real metrics and results+5. **Process documentation**: "Building in public" content++B2B SaaS websites conducting original research saw 25.1% average increase+in top-10 rankings (Stratabeat study).++## Meta Description Formula++Pattern: "[Key statistic]. Here's how [strategy] delivers [outcome] in 2026."++Rules:+- 150-160 characters+- Include one specific statistic+- No keyword stuffing+- End with value proposition or call to action+- Fact-dense, not vague++## Citation Format++### Inline Attribution (Preferred)+```markdown+Organic CTR declined 61% with AI Overviews ([Seer Interactive](url), 2025).+```++### Study Reference+```markdown+The Princeton GEO paper (KDD 2024) established that GEO methods boost+AI visibility by up to 40%.+```++### Quote Attribution+```markdown+John Mueller clarified in November 2025: "Our systems don't care if content+is created by AI or humans."+```++## Citation Tier System++### Tier 1: Primary Authority (Highest Trust)+Google Search Central, government agencies, .edu, international organizations,+W3C, standards bodies.++### Tier 2: Primary Data (Research & Studies)+Ahrefs, SparkToro, Seer Interactive, BrightEdge, Princeton GEO Paper,+Semrush Sensor, Advanced Web Ranking, Kevin Indig, Digitaloft, Onely, Seenos.++### Tier 3: Trusted Journalism+Search Engine Land, Search Engine Journal, Search Engine Roundtable,+The Verge, Wired, TechCrunch.++### Tier 4-5: AVOID+SEO tool blogs (non-research), affiliate sites, content mills, unsourced+roundups, AI-generated content farms. These hurt E-E-A-T.++## Self-Promotion Rules++- Maximum 1 brand mention per post (author bio context only)+- Remove "At [Company], we..." patterns+- Remove promotional links to own products+- Convert sales language to educational content+- Author section should demonstrate E-E-A-T credentials, not sell++## Internal Linking++- 5-10 internal links per 2,000-word post+- Use descriptive anchor text (not "click here")+- Link to related content naturally within context+- Ensure bidirectional linking (pillar ↔ supporting pages)diff --git a/blog/references/geo-optimization.md b/blog/references/geo-optimization.mdnew file mode 100644index 0000000..26e1e12--- /dev/null+++ b/blog/references/geo-optimization.md@@ -0,0 +1,162 @@+# GEO/AEO Optimization -- AI Citation Strategies++## Core GEO Research++### Princeton GEO Paper (KDD 2024)+GEO methods boost AI visibility by up to 40%.++| Technique | Improvement |+|-----------|-------------|+| Citing authoritative sources | +115.1% visibility (5th-ranked sites) |+| Quotation addition | +37% |+| Statistics addition | +22% |+| Answer-first formatting | +340% (Seenos) |+| FAQ schema | +28% (Search Engine Land) |++Traditional keyword stuffing performs **worse than baseline** in generative engines.++### Kevin Indig's AI Search Pipeline (Jan 5, 2026)+Three critical stages:++1. **Retrieval**: Which pages enter the candidate set+ - Server response time under 200ms TTFB+ - Metadata relevance+ - Content must be in HTML (not behind JS)+2. **Citation**: Which sources get mentioned+ - Content freshness dominates (70%+ cited pages updated within 12 months)+ - Content within 3 months performs best+3. **Trust**: Which citations users click+ - Brand recognition+ - Source authority++## Content Format Impact on Citations++| Format | Impact | Source |+|--------|--------|--------|+| Listicles | 50% of top AI citations | Onely |+| Tables/structured data | 2.5x more citations | Onely |+| Long-form (2,000+ words) | 3x more citations | Onely |+| Answer-first formatting | +340% improvement | Seenos |+| FAQ schema | +28% increase | Search Engine Land |+| Content with statistics | +40% higher citation rates | Onely |++## Content Freshness Requirements++- 76.4% of ChatGPT's most-cited pages updated within 30 days (Digitaloft)+- URLs cited in AI results are 25.7% fresher than traditional search+- Content < 3 months old is 3x more likely to get cited+- **Action**: Update critical content quarterly with at least 30% changes++## Off-Site Signals (Dominate AI Visibility)++### Ahrefs Study (Dec 2025, 75,000 brands)++| Factor | Correlation with AI Visibility |+|--------|-------------------------------|+| YouTube mentions | 0.737 (strongest) |+| Branded web mentions | 0.656-0.709 |+| Domain Rating | 0.266-0.326 |+| Backlinks | 0.218 (dramatically weaker than expected) |++### Platform-Specific Citation Rates++**YouTube**:+- Citations in AI Overviews up 414% (Q1 2025, BrightEdge)+- How-to videos up 651%+- Visual demos up 592%+- 200x more cited than any other video platform+- Optimization: keywords in titles/transcripts, Q&A-style, 10+ min, public transcripts++**Reddit**:+- Citations surged 1.30% → 7.15% (450% growth)+- Google's $60M annual API deal+- 2.2-21% of AI Overview citations by query type+- Strategy: Authentic participation in 3-5 subreddits BEFORE any promotional content++**Review Platforms (B2B)**:+- G2 accounts for 22-23% of review-platform citations+- 33% of review citations come from G2+- Multi-platform presence: 4.6-6.3 citations vs 1.8 without (2.6-3.5x multiplier)++**Wikipedia/Wikidata**:+- 22% of AI training data+- 7.8% of all ChatGPT citations+- Used as "credibility tiebreaker" when sources conflict++### Budget Allocation+Recommended: **40% owned content / 60% earned media**+(Most companies allocate 90/10 — this is wrong for GEO)++88-92% of AI citations come from off-site signals, not on-page optimization alone.++## AI Crawler Technical Requirements++| Crawler | JavaScript Rendering |+|---------|---------------------|+| GPTBot (OpenAI) | No |+| ChatGPT-User | No |+| ClaudeBot | No |+| PerplexityBot | No |+| Googlebot | Yes |+| Google-Extended | Yes |++**Critical**: Content behind JavaScript is invisible to ChatGPT, Claude, Perplexity.+Use SSR, SSG, or ISR. Test by disabling JS and reloading.++### Performance Requirements for AI Retrieval+- Server response time under 200ms TTFB (Kevin Indig pipeline)+- Maximum 600ms TTFB before AI crawlers time out and skip the page+- Crawlers implement 3-5 second hard timeouts (Getpassionfruit)+- Core Web Vitals are a constraint, not a growth lever — good CWV doesn't reliably+ outperform, but severe LCP failure creates disadvantage (Search Engine Land, 107,352 pages)+- 46% of AI agent visits begin in reading mode (text-only, no JS/CSS)+- Slow pages are excluded from AI citation candidate pools entirely+- Vercel analysis of 500+ million GPTBot fetches found zero evidence of JS execution++### robots.txt for AI Visibility+```+User-agent: GPTBot+Allow: /+User-agent: ChatGPT-User+Allow: /+User-agent: ClaudeBot+Allow: /+User-agent: PerplexityBot+Allow: /+```++### llms.txt Standard+Markdown file at site root helping LLMs understand content at inference time.+Keep under 10KB, plain URLs with brief comments.++## Attribution Crisis (Strauss et al., June 2025)++- 24% of ChatGPT (GPT-4o) responses generated without fetching any online content+- 34% of Gemini responses skip web retrieval entirely+- 92% of Gemini answers provide no clickable citations+- Perplexity visits ~10 pages per query but cites only 3-4++**Implication**: Optimizing for retrieval is critical — content must enter the+candidate set before citation is possible.++## GEO Case Study Results++| Company | Results | Timeframe |+|---------|---------|-----------|+| Go Fish Digital | +43% AI traffic, +83% conversions, 25x conversion rate | 3 months |+| Netpeak USA | +120% revenue, +693% AI visits | Ongoing |+| Nine Peaks Media | 36% visibility improvement, first ChatGPT citations | Ongoing |+| ABM Agency/Chemours | 82% ChatGPT mention rate, $90M+ pipeline | Ongoing |+| Smart Rent | 32% SQL increase, 40% faster pipeline | Ongoing |++## Entity-First SEO++Every page should unambiguously represent ONE canonical entity.+Google Knowledge Graph: 800B facts about 8B entities.++Entity building timeline (3-6 months):+1. Create entity map with Wikidata Q-IDs+2. Establish Wikipedia/Wikidata presence+3. Build entity consistency across all platforms (exact same name)+4. Practice "controlled co-occurrence" via third-party mentions+5. Earn external citations from recognized publicationsdiff --git a/blog/references/quality-scoring.md b/blog/references/quality-scoring.mdnew file mode 100644index 0000000..8295a4a--- /dev/null+++ b/blog/references/quality-scoring.md@@ -0,0 +1,110 @@+# Blog Quality Scoring Checklist++Score each blog post against this checklist. Used by `/blog analyze`.++## Content Quality (25 points)++| Check | Points | Pass Criteria |+|-------|--------|---------------|+| No paragraph > 100 words | 8 | Hard limit, no exceptions |+| Target 40-55 words per paragraph | 5 | Most paragraphs in range |+| Sentences max 15-20 words | 4 | Occasional longer OK |+| Question-format headings | 4 | 60-70% of H2s are questions |+| Flesch Reading Ease 60-70 | 4 | Readable by general audience |++## Answer-First Formatting (20 points)++| Check | Points | Pass Criteria |+|-------|--------|---------------|+| Every H2 opens with stat | 10 | First paragraph has a specific number + source |+| Opening paragraphs 40-60 words | 5 | No section opener exceeds 60 words |+| Direct answer in first sentence | 5 | Reader gets the answer before explanation |++## Statistics & Citations (20 points)++| Check | Points | Pass Criteria |+|-------|--------|---------------|+| Zero fabricated statistics | 8 | Every number has a named source |+| Tier 1-3 sources only | 5 | No SEO tool blogs, affiliate sites, low-authority |+| Inline attribution format | 4 | `([Source Name](url))` or `([Source Name](url), year)` |+| 8+ unique statistics | 3 | Minimum 8 distinct data points |++## Visual Elements (15 points)++| Check | Points | Pass Criteria |+|-------|--------|---------------|+| 2-4 SVG charts present | 5 | Charts use real data with source attribution |+| Chart type diversity | 3 | No two charts use the same type |+| 3-5 images with alt text | 4 | Relevant, descriptive alt text, from Pixabay/Unsplash |+| Visuals well-distributed | 3 | Not clustered — spread across the post |++## Schema & Structure (10 points)++| Check | Points | Pass Criteria |+|-------|--------|---------------|+| FAQ schema present | 4 | 3-5 FAQ items with 40-60 word answers |+| Clean heading hierarchy | 3 | H1 → H2 → H3, no skipped levels |+| BlogPosting schema | 2 | dateModified matches lastUpdated |+| Meta description quality | 1 | 150-160 chars, fact-dense, includes statistic |++## Freshness & Trust (10 points)++| Check | Points | Pass Criteria |+|-------|--------|---------------|+| lastUpdated within 30 days | 4 | Or dateModified in schema |+| Max 1 brand mention | 3 | Only in author context |+| Author has E-E-A-T bio | 2 | Credentials, not a sales pitch |+| Original publish date preserved | 1 | date field unchanged |++## Total: 100 points++### Scoring Bands++| Score | Rating | Action |+|-------|--------|--------|+| 90-100 | Excellent | Publish as-is |+| 75-89 | Good | Minor tweaks needed |+| 60-74 | Needs Work | Significant improvements required |+| < 60 | Poor | Full rewrite recommended |++## Priority Classification++When reporting issues, classify by priority:++### Critical (Must Fix Before Publishing)+- Fabricated statistics (zero tolerance)+- Broken heading hierarchy (H1 → H3 skip)+- Paragraphs > 100 words+- No source attribution on claims++### High Priority+- Missing answer-first formatting on H2 sections+- No FAQ section/schema+- Fewer than 3 sourced statistics+- Missing meta description or lastUpdated++### Medium Priority+- Fewer than 2 charts+- Fewer than 3 images+- Tier 4-5 sources present+- Self-promotion > 1 mention++### Low Priority+- Paragraph length slightly above 55 words (but under 100)+- Non-question H2 headings above 40%+- Missing chart type diversity+- Images without alt text++## Quick Automated Checks++These can be detected programmatically:+1. Word count per paragraph (split on double newlines)+2. Heading hierarchy (regex for `^#{1,6} `)+3. Image count (regex for `!\[` or `<img`)+4. Chart count (regex for `<svg` or `<figure`)+5. FAQ presence (search for "FAQ" or "Frequently Asked")+6. Citation format (regex for `\([^)]+\(http`)+7. lastUpdated presence (frontmatter check)+8. Meta description length (frontmatter check)+9. Self-promotion patterns (brand name frequency)+10. Unsourced statistics (numbers without attribution nearby)diff --git a/blog/references/seo-2026.md b/blog/references/seo-2026.mdnew file mode 100644index 0000000..875d152--- /dev/null+++ b/blog/references/seo-2026.md@@ -0,0 +1,120 @@+# SEO Landscape 2026 -- Google Updates & E-E-A-T++## January 2026 "Authenticity Update"++Launched January 4, 2026. Google's strongest push against generic AI-generated content.+Built on the December 2025 Core Update (Dec 11-29, 2025) which caused 15% of top-10+pages to disappear from top 100.++### Authenticity Signals Google Evaluates++| Signal | Description |+|--------|-------------|+| Original images/video | Not stock photos — real screenshots, photos, demos |+| Specific language | Details only direct experience provides |+| First-person perspective | "When we tested this..." "In our experience..." |+| Original data | Proprietary surveys, case studies, experiments |+| Build-in-public docs | Process documentation, behind-the-scenes |++### What Gets Penalized+- Articles that read like "summaries of top five search results"+- Mass-produced AI content lacking human oversight+- Content without unique perspective or original information++### Key Clarification+John Mueller (November 2025): "Our systems don't care if content is created by AI or+humans. What matters is whether it's helpful for users." AI as research tool is fine+— AI as sole content creator without expertise is not.++## E-E-A-T Framework (Extended December 2025)++**Critical**: December 2025 core update extended E-E-A-T to ALL competitive queries,+not just YMYL.++| Factor | Weight | Key Signals |+|--------|--------|-------------|+| Experience | 20% | First-hand knowledge, original content, case studies |+| Expertise | 25% | Credentials, depth, technical accuracy |+| Authoritativeness | 25% | Industry recognition, citations, reputation |+| Trustworthiness | 30% | Contact info, transparency, security (most important) |++### YMYL Topics (Highest Scrutiny)+Health, finance, legal, news, elections, democratic processes, groups of people.++### AI Content Assessment (Sept 2025 QRG)+- AI content acceptable IF it demonstrates genuine E-E-A-T+- Low-quality AI markers: generic language, no unique insights, regurgitated facts++## Hidden Gems Ranking System++Now fully integrated into core ranking (not Helpful Content System).+Identifies content from forums, social media, niche blogs where people share+"first-hand knowledge and personal insights."++- 77% of keyphrases with product reviews show "Discussions and Forums" SERP feature+- Perspectives filter replaced by "Forums" filter (March 2024)+- User-generated content (YouTube, TikTok, Instagram) appears in carousels++## Structured Data 2026++### Active (Recommend Freely)+- BlogPosting, Article+- Organization, LocalBusiness+- FAQPage (keep answers 40-60 words)+- BreadcrumbList+- Person (author credentials)+- Product, SoftwareApplication+- AggregateRating, Review++### Deprecated (Never Recommend)+- HowTo (Sept 2023)+- SpecialAnnouncement (July 2025)+- Practice Problem, Dataset for general search, Sitelinks Search Box, Q&A (Jan 2026)++### Critical Technical Note+Schema must appear in HTML source, not injected via JavaScript.+Most AI crawlers cannot execute JS. 72% of first-page results use schema markup.++## Google AI Overviews & AI Mode++### Coverage+- 15-21% global (conservative) to 60% US queries (Advanced Web Ranking, Nov 2025)+- Doubled from 6.49% (Jan 2025) to 24.61% peak (July 2025), stabilized ~15.69%++### Traffic Impact (Seer Interactive, 3,119 queries, 42 orgs)+- Organic CTR declined 61% with AI Overviews (1.76% → 0.61%)+- Paid CTR declined 68% (19.7% → 6.34%)+- Even without AI Overviews: 41% organic CTR decline+- BUT: brands cited in AI Overviews see 35% higher organic CTR, 91% higher paid CTR++### AI Mode (Separate Product)+- 120 countries, 100 million monthly users+- 300-word average responses (vs 157 for AI Overviews)+- 12.6 links per response (vs 9.26)+- 93% zero-click rate+- Gemini 3 default model (Jan 27, 2026)++## Market Context++- Google market share below 90% for first time since 2015 (87.3%)+- ChatGPT: 800M weekly users, 2.5B daily queries+- AI referral traffic: 1.08% of all web traffic, grew 527% (Jan-May 2025)+- Zero-click searches: 58-60%, projected 65-70% by mid-2026+- Gartner: 25% decline in traditional search volume by 2026 (appears accurate)+- B2B SaaS discovery search declined 70-80% as buyers use AI assistants instead++## Agentic Commerce & AI Advertising++Emerging trends reshaping search monetization:++- **ChatGPT Agent**: Autonomous web browsing, form-filling, purchasing on user's behalf+- **Google Unified Commerce Platform (UCP)**: Single campaign type across Search, Shopping,+ YouTube, Maps — replacing fragmented campaign management+- **AI Overview Ads**: Sponsored placements in AI Overviews grew from 1% to 25% of queries;+ projected to reach 50%+ by end of 2026+- **ChatGPT shopping traffic**: 11.4% conversion rate vs 5.3% organic search+ (Search Engine Journal)+- **Perplexity**: Launched sponsored answers (Nov 2024, $50+ CPM), paused new+ advertisers (Oct 2025); OpenAI confirmed ad testing in ChatGPT during 2026+- **Implication for blogs**: Content must be structured for AI agent extraction (clear+ pricing, specs, comparisons) as agentic commerce bypasses traditional click pathsdiff --git a/blog/references/visual-media.md b/blog/references/visual-media.mdnew file mode 100644index 0000000..ea6c90d--- /dev/null+++ b/blog/references/visual-media.md@@ -0,0 +1,290 @@+# Visual Media Integration -- Images, Charts & Cover Images++## Cover Images & OG Images++Every blog post should have a cover image for social sharing and blog listings.++### Option 1: Photo Cover (Pixabay/Unsplash/Pexels)++Search for a wide, high-quality image relevant to the topic:+1. Pixabay: `site:pixabay.com [topic] wide banner`+2. Unsplash: `site:unsplash.com [topic] wide`+3. Pexels: `site:pexels.com [topic] wide banner`++**Sizing requirements:**+| Use Case | Dimensions | Aspect Ratio |+|----------|-----------|--------------|+| Blog hero/cover | 1200x630 or 1920x1080 | 1.91:1 or 16:9 |+| Open Graph (OG) | 1200x630 | 1.91:1 (required) |+| Twitter card | 1200x628 | ~1.91:1 |++Unsplash resize: `?w=1200&h=630&fit=crop&q=80`+Pixabay/Pexels: use original if wide enough, or crop.++### Option 2: Generated SVG Cover (via /svg)++For branded or data-driven covers, generate via `/svg`:+- Text-on-gradient with title and key statistic+- Dark-mode compatible (use `currentColor` where possible)+- Include blog name/author subtle branding+- ViewBox: `0 0 1200 630` for OG compatibility++### Frontmatter Fields++```yaml+---+title: "..."+description: "..."+coverImage: "https://cdn.pixabay.com/photo/.../cover.jpg"+coverImageAlt: "Descriptive sentence about the cover image"+ogImage: "https://cdn.pixabay.com/photo/.../cover.jpg" # Same as cover or custom OG+date: "YYYY-MM-DD"+---+```++- `coverImage`: displayed as hero at the top of the post+- `ogImage`: used for social sharing previews (Open Graph / Twitter Card)+- If only one image, use the same URL for both fields+- Alt text is required for the cover image++### When to Use Each Option++| Scenario | Recommendation |+|----------|---------------|+| General topic | Photo cover from Pixabay/Unsplash/Pexels |+| Data-heavy article | Generated SVG with key stat highlight |+| Brand-focused | Generated SVG with brand colors |+| Tutorial/how-to | Screenshot or relevant photo |++---++## Image Sourcing++### Pixabay (Preferred)+- **License**: Pixabay Content License — free for commercial use, no attribution required+- **URL**: https://pixabay.com+- **Hotlinking**: Allowed via CDN URLs++**Finding images:**+1. WebSearch: `site:pixabay.com [topic keywords]`+2. Visit the image page to get the direct CDN URL+3. Direct URL pattern: `https://cdn.pixabay.com/photo/YYYY/MM/DD/HH/MM/filename.jpg`+4. Verify: `curl -sI "<url>" | head -1` — must return HTTP 200++**Sizing**: Append query params for optimization:+- Blog hero: original size (typically 1920px wide)+- Inline images: use as-is (most are 1280px+)++### Unsplash (Alternative)+- **License**: Unsplash License — free for commercial use, no attribution required+- **URL**: https://unsplash.com+- **Hotlinking**: Required — must use their CDN++**Finding images:**+1. WebSearch: `site:unsplash.com [topic keywords]`+2. Extract photo ID from URL (e.g., `photo-1234567890123-abcdef`)+3. Build direct URL: `https://images.unsplash.com/photo-<id>?w=1200&h=630&fit=crop&q=80`+4. Verify: `curl -sI "<url>" | head -1` — must return HTTP 200++### Pexels (Fallback)+- **License**: Pexels License — free for commercial use, no attribution required+- **URL**: https://pexels.com+- **Finding**: WebSearch `site:pexels.com [topic keywords]`++### Image Usage Rules++| Rule | Requirement |+|------|-------------|+| Alt text | Required on ALL images — full descriptive sentence |+| Placement | After H2 headings, before body text |+| Distribution | Spread evenly — never cluster images |+| Count | 3-5 images per 2,000-word post |+| Relevance | Must relate to adjacent content |+| Format | WebP preferred, JPEG acceptable |++### Alt Text Guidelines+- Full descriptive sentence including topic keywords naturally+- Describe what the image shows AND its relevance to the content+- 10-125 characters+- No keyword stuffing — natural language only++Good: `Marketing team analyzing AI search traffic data on a dashboard showing citation metrics`+Bad: `SEO AI marketing blog optimization image`++### Embedding Images++**Standard Markdown:**+```markdown++```++**MDX (Next.js):**+```mdx++```++For Next.js projects, verify `next.config.ts` includes the image domain:+```typescript+images: {+ remotePatterns: [+ { protocol: 'https', hostname: 'cdn.pixabay.com' },+ { protocol: 'https', hostname: 'images.unsplash.com' },+ { protocol: 'https', hostname: 'images.pexels.com' },+ ],+}+```++**HTML:**+```html+<figure>+ <img src="https://cdn.pixabay.com/photo/.../image.jpg"+ alt="Descriptive alt text sentence"+ width="1200" height="630" loading="lazy">+ <figcaption>Photo via Pixabay</figcaption>+</figure>+```++---++## SVG Chart Integration via /svg Skill++Generate data visualizations using the `/svg` or `/svg-chart` skill.++### Chart Type Selection Guide++| Data Pattern | Best Chart Type |+|-------------|-----------------|+| Before/after comparison | Grouped bar chart |+| Ranked factors / correlations | Lollipop chart |+| Parts of whole / market share | Donut chart |+| Trend over time | Line chart |+| Percentage improvement | Horizontal bar chart |+| Distribution / range | Area chart |+| Multi-dimensional scoring | Radar chart |++**Diversity is mandatory** — never use the same chart type twice in one post.+Target 2-4 charts per 2,000-word post.++### Dark-Mode Compatible Styling++All charts must work on both dark and light backgrounds:++```+Text elements: fill="currentColor"+Grid lines: stroke="currentColor" opacity="0.08"+Axis lines: stroke="currentColor" opacity="0.3"+Background: transparent (no fill on root SVG)+Subtitle text: fill="currentColor" opacity="0.45"+Source text: fill="currentColor" opacity="0.35"+Label text: fill="currentColor" opacity="0.8"+```++### Color Palette (works on dark and light)++| Color | Hex | Use Case |+|-------|-----|----------|+| Orange | `#f97316` | Primary / highest value |+| Sky Blue | `#38bdf8` | Secondary / comparison |+| Purple | `#a78bfa` | Tertiary / special category |+| Green | `#22c55e` | Quaternary / positive indicator |++For text inside colored elements: `fill="white"` with `fontWeight="800"`.++### Standard SVG Shell++```xml+<svg+ viewBox="0 0 560 380"+ style="max-width: 100%; height: auto; font-family: 'Inter', system-ui, sans-serif"+ role="img"+ aria-label="Chart description with key data point"+>+ <title>Chart Title</title>+ <desc>Description for screen readers with all key data points and source</desc>++ <!-- Chart content -->++ <text x="280" y="372" text-anchor="middle" font-size="10" fill="currentColor" opacity="0.35">+ Source: Source Name (Year)+ </text>+</svg>+```++### JSX/MDX Shell (camelCase attributes)++```jsx+<svg+ viewBox="0 0 560 380"+ style={{maxWidth: '100%', height: 'auto', fontFamily: "'Inter', system-ui, sans-serif"}}+ role="img"+ aria-label="Chart description"+>+ <title>Chart Title</title>+ <desc>Description for screen readers</desc>++ {/* Chart content */}++ <text x="280" y="372" textAnchor="middle" fontSize="10" fill="currentColor" opacity="0.35">+ Source: Source Name (Year)+ </text>+</svg>+```++### JSX Attribute Conversion (Required for MDX)++| HTML | JSX |+|------|-----|+| `stroke-width` | `strokeWidth` |+| `stroke-dasharray` | `strokeDasharray` |+| `stroke-linecap` | `strokeLinecap` |+| `text-anchor` | `textAnchor` |+| `font-size` | `fontSize` |+| `font-weight` | `fontWeight` |+| `font-family` | `fontFamily` |+| `class` | `className` |+| `style="..."` | `style={{...}}` |++### Embedding Charts++**Standard HTML:**+```html+<figure>+ <svg viewBox="0 0 560 380" ...>...</svg>+ <figcaption>Source: Source Name, Year</figcaption>+</figure>+```++**MDX:**+```mdx+<figure className="chart-container" style={{margin: '2.5rem 0', textAlign: 'center', padding: '1.5rem', borderRadius: '12px'}}>+ <svg viewBox="0 0 560 380" ...>...</svg>+</figure>+```++### Invoking /svg-chart++When generating charts, provide:+1. **Exact data values** with sources+2. **Chart type** (ensure diversity)+3. **Dark-mode styling requirements** (copy from above)+4. **Platform format**: standard SVG or JSX-compatible+5. **Save location**: `/tmp/chart-<descriptive-name>.svg`++After generation:+1. Read the generated SVG file+2. Verify `currentColor` usage (no hardcoded text colors)+3. Verify no white/light backgrounds+4. If MDX: verify camelCase attributes+5. Embed in content within figure wrapper++### Common Pitfalls++| Mistake | Impact | Fix |+|---------|--------|-----|+| `fill="#111827"` on text | Invisible on dark mode | Use `fill="currentColor"` |+| `rect fill="white"` background | Bright flash on dark mode | Remove or use transparent |+| `stroke-width` in MDX | Compilation error | Use `strokeWidth` |+| `class` in MDX | Compilation error | Use `className` |+| Same chart type twice | Visual monotony | Enforce chart diversity |+| No `role="img"` | Accessibility failure | Always include |+| No source attribution | Trust issue | Always cite data source |diff --git a/install.sh b/install.shnew file mode 100755index 0000000..3f73b04--- /dev/null+++ b/install.sh@@ -0,0 +1,83 @@+#!/usr/bin/env bash+set -euo pipefail++# claude-blog installer+# Installs the blog skill ecosystem to ~/.claude/skills/ and ~/.claude/agents/++main() {+ local SKILL_DIR="${HOME}/.claude/skills"+ local AGENT_DIR="${HOME}/.claude/agents"+ local SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"++ echo "=== claude-blog Installer ==="+ echo ""++ # Check prerequisites+ if ! command -v python3 &>/dev/null; then+ echo "WARNING: python3 not found. The analyze_blog.py script requires Python 3."+ echo "Install with: sudo apt install python3"+ fi++ # Create directories+ echo "Creating directories..."+ mkdir -p "${SKILL_DIR}/blog/references"+ mkdir -p "${SKILL_DIR}/blog/scripts"+ mkdir -p "${SKILL_DIR}/blog-write"+ mkdir -p "${SKILL_DIR}/blog-rewrite"+ mkdir -p "${SKILL_DIR}/blog-analyze"+ mkdir -p "${SKILL_DIR}/blog-brief"+ mkdir -p "${SKILL_DIR}/blog-calendar"+ mkdir -p "${SKILL_DIR}/blog-strategy"+ mkdir -p "${AGENT_DIR}"++ # Copy main skill+ echo "Installing main skill: blog..."+ cp "${SCRIPT_DIR}/blog/SKILL.md" "${SKILL_DIR}/blog/SKILL.md"++ # Copy references+ echo "Installing reference files..."+ cp "${SCRIPT_DIR}/blog/references/"*.md "${SKILL_DIR}/blog/references/"++ # Copy sub-skills+ echo "Installing sub-skills..."+ for skill_dir in "${SCRIPT_DIR}/skills/"*/; do+ skill_name="$(basename "${skill_dir}")"+ cp "${skill_dir}SKILL.md" "${SKILL_DIR}/${skill_name}/SKILL.md"+ echo " - ${skill_name}"+ done++ # Copy agents+ echo "Installing agents..."+ for agent_file in "${SCRIPT_DIR}/agents/"*.md; do+ agent_name="$(basename "${agent_file}")"+ cp "${agent_file}" "${AGENT_DIR}/${agent_name}"+ echo " - ${agent_name}"+ done++ # Copy scripts+ echo "Installing scripts..."+ cp "${SCRIPT_DIR}/scripts/analyze_blog.py" "${SKILL_DIR}/blog/scripts/analyze_blog.py"+ chmod +x "${SKILL_DIR}/blog/scripts/analyze_blog.py"++ echo ""+ echo "=== Installation Complete ==="+ echo ""+ echo "Installed:"+ echo " Main skill: ${SKILL_DIR}/blog/SKILL.md"+ echo " Sub-skills: 6 (write, rewrite, analyze, brief, calendar, strategy)"+ echo " References: 5 (seo-2026, geo, content-rules, visual-media, quality-scoring)"+ echo " Agents: 2 (blog-researcher, blog-writer)"+ echo " Scripts: 1 (analyze_blog.py)"+ echo ""+ echo "Commands available:"+ echo " /blog write <topic> Write a new blog post"+ echo " /blog rewrite <file> Optimize an existing blog post"+ echo " /blog analyze <file> Audit blog quality (0-100 score)"+ echo " /blog brief <topic> Generate a content brief"+ echo " /blog calendar Generate an editorial calendar"+ echo " /blog strategy <niche> Blog strategy and topic ideation"+ echo ""+ echo "Restart Claude Code to activate the new skill."+}++main "$@"diff --git a/scripts/analyze_blog.py b/scripts/analyze_blog.pynew file mode 100755index 0000000..b6c0b4f--- /dev/null+++ b/scripts/analyze_blog.py@@ -0,0 +1,439 @@+#!/usr/bin/env python3+"""+Blog Quality Analyzer++Analyzes blog post files for quality metrics: word counts, paragraph lengths,+heading structure, image count, chart count, citation detection, and more.+Returns structured JSON output for use by the blog-analyze sub-skill.++Usage:+ python analyze_blog.py <file_path>+ python analyze_blog.py <file_path> --output report.json+ python analyze_blog.py <directory> --batch+"""++import argparse+import json+import re+import sys+from pathlib import Path+from typing import Any+++def extract_frontmatter(content: str) -> dict[str, Any]:+ """Extract YAML frontmatter from markdown/MDX content."""+ frontmatter = {}+ match = re.match(r'^---\s*\n(.*?)\n---\s*\n', content, re.DOTALL)+ if match:+ fm_text = match.group(1)+ for line in fm_text.split('\n'):+ if ':' in line:+ key, _, value = line.partition(':')+ key = key.strip()+ value = value.strip().strip('"').strip("'")+ if value:+ frontmatter[key] = value+ return frontmatter+++def strip_frontmatter(content: str) -> str:+ """Remove YAML frontmatter from content."""+ return re.sub(r'^---\s*\n.*?\n---\s*\n', '', content, count=1, flags=re.DOTALL)+++def analyze_headings(content: str) -> dict[str, Any]:+ """Analyze heading structure."""+ headings = []+ for match in re.finditer(r'^(#{1,6})\s+(.+)$', content, re.MULTILINE):+ level = len(match.group(1))+ text = match.group(2).strip()+ is_question = text.rstrip().endswith('?')+ headings.append({+ 'level': level,+ 'text': text,+ 'is_question': is_question,+ })++ h1_count = sum(1 for h in headings if h['level'] == 1)+ h2_count = sum(1 for h in headings if h['level'] == 2)+ h2_questions = sum(1 for h in headings if h['level'] == 2 and h['is_question'])+ question_ratio = h2_questions / h2_count if h2_count > 0 else 0++ # Check for hierarchy skips+ hierarchy_clean = True+ prev_level = 0+ for h in headings:+ if h['level'] > prev_level + 1 and prev_level > 0:+ hierarchy_clean = False+ prev_level = h['level']++ return {+ 'headings': headings,+ 'h1_count': h1_count,+ 'h2_count': h2_count,+ 'h2_question_count': h2_questions,+ 'h2_question_ratio': round(question_ratio, 2),+ 'hierarchy_clean': hierarchy_clean,+ 'total': len(headings),+ }+++def analyze_paragraphs(content: str) -> dict[str, Any]:+ """Analyze paragraph lengths."""+ # Remove code blocks+ cleaned = re.sub(r'```.*?```', '', content, flags=re.DOTALL)+ # Remove HTML/JSX blocks+ cleaned = re.sub(r'<[^>]+>', '', cleaned)+ # Remove headings+ cleaned = re.sub(r'^#{1,6}\s+.*$', '', cleaned, flags=re.MULTILINE)+ # Remove images+ cleaned = re.sub(r'!\[.*?\]\(.*?\)', '', cleaned)++ # Split into paragraphs (double newline separated)+ paragraphs = [p.strip() for p in re.split(r'\n\s*\n', cleaned) if p.strip()]++ word_counts = []+ over_100 = 0+ in_range = 0 # 40-55 words++ for p in paragraphs:+ words = len(p.split())+ if words < 5: # Skip very short fragments+ continue+ word_counts.append(words)+ if words > 100:+ over_100 += 1+ if 40 <= words <= 55:+ in_range += 1++ total = len(word_counts)+ avg = sum(word_counts) / total if total else 0+ in_range_ratio = in_range / total if total else 0++ return {+ 'total_paragraphs': total,+ 'avg_word_count': round(avg, 1),+ 'over_100_words': over_100,+ 'in_40_55_range': in_range,+ 'in_range_ratio': round(in_range_ratio, 2),+ 'max_word_count': max(word_counts) if word_counts else 0,+ 'total_word_count': sum(word_counts),+ }+++def analyze_images(content: str) -> dict[str, Any]:+ """Count images and check alt text."""+ # Markdown images+ md_images = re.findall(r'!\[([^\]]*)\]\(([^)]+)\)', content)+ # HTML images+ html_images = re.findall(r'<img[^>]+src=["\']([^"\']+)["\'][^>]*>', content)++ images = []+ for alt, src in md_images:+ images.append({+ 'src': src,+ 'has_alt': bool(alt.strip()),+ 'alt_length': len(alt.strip()),+ 'source': 'pixabay' if 'pixabay' in src else+ 'unsplash' if 'unsplash' in src else+ 'pexels' if 'pexels' in src else 'other',+ })++ for src in html_images:+ images.append({+ 'src': src,+ 'has_alt': True, # Can't easily extract from regex+ 'source': 'pixabay' if 'pixabay' in src else+ 'unsplash' if 'unsplash' in src else+ 'pexels' if 'pexels' in src else 'other',+ })++ with_alt = sum(1 for img in images if img['has_alt'])++ return {+ 'count': len(images),+ 'with_alt_text': with_alt,+ 'without_alt_text': len(images) - with_alt,+ 'sources': {s: sum(1 for i in images if i['source'] == s) for s in set(i['source'] for i in images)},+ }+++def analyze_charts(content: str) -> dict[str, Any]:+ """Count SVG charts and check for type diversity."""+ svg_count = len(re.findall(r'<svg\b', content, re.IGNORECASE))+ figure_count = len(re.findall(r'<figure\b', content, re.IGNORECASE))++ return {+ 'svg_count': svg_count,+ 'figure_count': figure_count,+ 'chart_count': max(svg_count, figure_count),+ }+++def analyze_citations(content: str) -> dict[str, Any]:+ """Analyze statistics and their citations."""+ # Find statistics patterns (numbers with %)+ stat_patterns = re.findall(r'\d+\.?\d*%', content)++ # Find inline citations ([Source](url))+ citations = re.findall(r'\[([^\]]+)\]\(https?://[^)]+\)', content)++ # Find parenthetical citations (Source Name, year)+ paren_citations = re.findall(r'\(([^)]*(?:20\d{2})[^)]*)\)', content)++ # Rough count of sourced vs unsourced stats+ sourced_stats = 0+ unsourced_stats = 0+ for stat in stat_patterns:+ # Check if there's a citation within 200 chars after the stat+ pos = content.find(stat)+ if pos >= 0:+ context = content[pos:pos + 200]+ if re.search(r'\[.+\]\(https?://', context) or re.search(r'\([^)]*20\d{2}[^)]*\)', context):+ sourced_stats += 1+ else:+ unsourced_stats += 1++ return {+ 'total_statistics': len(stat_patterns),+ 'sourced_statistics': sourced_stats,+ 'unsourced_statistics': unsourced_stats,+ 'inline_citations': len(citations),+ 'unique_sources': len(set(c.lower() for c in citations)),+ }+++def analyze_faq(content: str) -> dict[str, Any]:+ """Check for FAQ section and schema."""+ has_faq_section = bool(re.search(r'(?i)#{1,3}\s*(?:FAQ|Frequently Asked)', content))+ has_faq_schema = bool(re.search(r'(?i)FAQSchema|FAQPage|faqpage', content))++ # Count FAQ items+ faq_items = 0+ if has_faq_section:+ faq_match = re.search(r'(?i)#{1,3}\s*(?:FAQ|Frequently Asked).*', content, re.DOTALL)+ if faq_match:+ faq_text = faq_match.group()+ faq_items = len(re.findall(r'^#{3,4}\s+.+\?', faq_text, re.MULTILINE))++ return {+ 'has_faq_section': has_faq_section,+ 'has_faq_schema': has_faq_schema,+ 'faq_item_count': faq_items,+ }+++def analyze_freshness(frontmatter: dict[str, Any]) -> dict[str, Any]:+ """Check freshness signals."""+ return {+ 'has_date': 'date' in frontmatter,+ 'has_last_updated': 'lastUpdated' in frontmatter or 'last_updated' in frontmatter,+ 'date': frontmatter.get('date', ''),+ 'last_updated': frontmatter.get('lastUpdated', frontmatter.get('last_updated', '')),+ }+++def analyze_self_promotion(content: str, brand_name: str = '') -> dict[str, Any]:+ """Check self-promotion levels."""+ promo_patterns = [+ r'(?i)at \w+,\s+we',+ r'(?i)our (?:team|company|product|platform|solution)',+ r'(?i)we (?:offer|provide|deliver|help|specialize)',+ ]++ promo_count = sum(len(re.findall(p, content)) for p in promo_patterns)++ return {+ 'self_promotion_patterns': promo_count,+ 'exceeds_limit': promo_count > 1,+ }+++def calculate_score(analysis: dict[str, Any]) -> dict[str, Any]:+ """Calculate the 0-100 quality score."""+ scores = {}++ # Content Quality (25 points)+ cq = 0+ paras = analysis['paragraphs']+ if paras['over_100_words'] == 0:+ cq += 8+ if paras['in_range_ratio'] >= 0.5:+ cq += 5+ elif paras['in_range_ratio'] >= 0.3:+ cq += 3+ cq += 4 # Sentence length (can't easily measure without NLP)+ headings = analysis['headings']+ if headings['h2_question_ratio'] >= 0.6:+ cq += 4+ elif headings['h2_question_ratio'] >= 0.4:+ cq += 2+ scores['content_quality'] = min(cq, 25)++ # Answer-First Formatting (20 points) — approximate+ af = 0+ # This requires deeper analysis; give partial credit based on structure+ if headings['h2_count'] >= 4:+ af += 5+ if headings['hierarchy_clean']:+ af += 5+ citations = analysis['citations']+ if citations['sourced_statistics'] >= 4:+ af += 10+ elif citations['sourced_statistics'] >= 2:+ af += 5+ scores['answer_first'] = min(af, 20)++ # Statistics & Citations (20 points)+ sc = 0+ if citations['unsourced_statistics'] == 0 and citations['total_statistics'] > 0:+ sc += 8+ elif citations['unsourced_statistics'] <= 2:+ sc += 4+ if citations['unique_sources'] >= 5:+ sc += 5+ elif citations['unique_sources'] >= 3:+ sc += 3+ if citations['inline_citations'] >= 5:+ sc += 4+ elif citations['inline_citations'] >= 2:+ sc += 2+ if citations['total_statistics'] >= 8:+ sc += 3+ elif citations['total_statistics'] >= 4:+ sc += 1+ scores['statistics_citations'] = min(sc, 20)++ # Visual Elements (15 points)+ ve = 0+ charts = analysis['charts']+ images = analysis['images']+ if 2 <= charts['chart_count'] <= 4:+ ve += 5+ elif charts['chart_count'] >= 1:+ ve += 2+ ve += 3 # Chart diversity (can't detect types from count alone)+ if 3 <= images['count'] <= 5:+ ve += 4+ elif images['count'] >= 1:+ ve += 2+ if images['count'] + charts['chart_count'] >= 4:+ ve += 3+ elif images['count'] + charts['chart_count'] >= 2:+ ve += 1+ scores['visual_elements'] = min(ve, 15)++ # Schema & Structure (10 points)+ ss = 0+ faq = analysis['faq']+ if faq['has_faq_schema']:+ ss += 4+ elif faq['has_faq_section']:+ ss += 2+ if headings['hierarchy_clean']:+ ss += 3+ if headings['h1_count'] == 1:+ ss += 1+ fm = analysis['frontmatter']+ desc = fm.get('description', '')+ if 150 <= len(desc) <= 160:+ ss += 2+ elif desc:+ ss += 1+ scores['schema_structure'] = min(ss, 10)++ # Freshness & Trust (10 points)+ ft = 0+ freshness = analysis['freshness']+ if freshness['has_last_updated']:+ ft += 4+ promo = analysis['self_promotion']+ if not promo['exceeds_limit']:+ ft += 3+ ft += 2 # Author E-E-A-T (can't detect from text alone)+ if freshness['has_date']:+ ft += 1+ scores['freshness_trust'] = min(ft, 10)++ total = sum(scores.values())++ if total >= 90:+ rating = 'Excellent'+ elif total >= 75:+ rating = 'Good'+ elif total >= 60:+ rating = 'Needs Work'+ else:+ rating = 'Poor'++ return {+ 'total': total,+ 'rating': rating,+ 'categories': scores,+ }+++def analyze_file(file_path: str) -> dict[str, Any]:+ """Analyze a single blog file."""+ path = Path(file_path)+ if not path.exists():+ return {'error': f'File not found: {file_path}'}++ content = path.read_text(encoding='utf-8')+ frontmatter = extract_frontmatter(content)+ body = strip_frontmatter(content)++ analysis = {+ 'file': str(path),+ 'format': path.suffix,+ 'frontmatter': frontmatter,+ 'headings': analyze_headings(body),+ 'paragraphs': analyze_paragraphs(body),+ 'images': analyze_images(content),+ 'charts': analyze_charts(content),+ 'citations': analyze_citations(body),+ 'faq': analyze_faq(body),+ 'freshness': analyze_freshness(frontmatter),+ 'self_promotion': analyze_self_promotion(body),+ }++ analysis['score'] = calculate_score(analysis)++ return analysis+++def main(args: argparse.Namespace) -> dict[str, Any]:+ """Main execution function."""+ path = Path(args.input)++ if path.is_dir() and args.batch:+ results = []+ for ext in ['*.md', '*.mdx', '*.html']:+ for f in path.glob(ext):+ results.append(analyze_file(str(f)))+ return {'batch': True, 'count': len(results), 'results': results}+ elif path.is_file():+ return analyze_file(str(path))+ else:+ return {'error': f'Path not found or not a file: {args.input}'}+++if __name__ == '__main__':+ parser = argparse.ArgumentParser(description='Analyze blog post quality')+ parser.add_argument('input', help='Blog file path or directory (with --batch)')+ parser.add_argument('--output', '-o', help='Output file path (JSON)')+ parser.add_argument('--batch', action='store_true', help='Analyze all blog files in directory')+ args = parser.parse_args()++ try:+ result = main(args)+ output = json.dumps(result, indent=2)++ if args.output:+ Path(args.output).write_text(output)+ print(f'Report saved to {args.output}')+ else:+ print(output)+ except Exception as e:+ print(json.dumps({'error': str(e)}), file=sys.stderr)+ sys.exit(1)diff --git a/skills/blog-analyze/SKILL.md b/skills/blog-analyze/SKILL.mdnew file mode 100644index 0000000..89b22a5--- /dev/null+++ b/skills/blog-analyze/SKILL.md@@ -0,0 +1,167 @@+---+name: blog-analyze+description: >+ Audit and score blog posts on a 0-100 scale across 6 quality dimensions:+ content quality, answer-first formatting, statistics and citations, visual+ elements, schema and structure, freshness and trust. Generates prioritized+ recommendations (Critical/High/Medium/Low) with specific fixes. Works with+ any format (MDX, markdown, HTML, URL). Use when user says "analyze blog",+ "audit blog", "blog score", "check blog quality", "blog review",+ "rate this blog", "blog health check".+allowed-tools:+ - Read+ - Write+ - Bash+ - Grep+ - Glob+ - WebFetch+---++# Blog Analyzer -- Quality Audit & Scoring++Scores blog posts on a 0-100 scale and provides prioritized improvement+recommendations. Works with local files or published URLs.++## Input Handling++- **Local file**: Read the file directly+- **URL**: Fetch with WebFetch, extract content+- **Directory**: Scan for blog files, audit all (batch mode)++## Scoring Process++### Step 1: Content Extraction++Read the blog post and extract:+- Frontmatter (title, description, date, lastUpdated, author, tags)+- Heading structure (H1, H2, H3 with hierarchy)+- Paragraph count and word counts+- Statistics (any number claims with or without sources)+- Images (count, alt text presence)+- Charts/SVGs (count, type diversity)+- Links (internal, external, broken)+- FAQ section presence+- Schema markup++### Step 2: Score Each Category++Load `references/quality-scoring.md` for the full checklist. Score each:++#### Content Quality (25 points)+| Check | Points | Pass Criteria |+|-------|--------|---------------|+| No paragraph > 100 words | 8 | Hard limit, no exceptions |+| Target 40-55 words per paragraph | 5 | Most paragraphs in range |+| Sentences max 15-20 words | 4 | Occasional longer OK |+| Question-format headings | 4 | 60-70% of H2s are questions |+| Flesch Reading Ease 60-70 | 4 | Readable by general audience |++#### Answer-First Formatting (20 points)+| Check | Points | Pass Criteria |+|-------|--------|---------------|+| Every H2 opens with stat | 10 | First paragraph has a specific number + source |+| Opening paragraphs 40-60 words | 5 | No section opener exceeds 60 words |+| Direct answer in first sentence | 5 | Reader gets the answer before explanation |++#### Statistics & Citations (20 points)+| Check | Points | Pass Criteria |+|-------|--------|---------------|+| Zero fabricated statistics | 8 | Every number has a named source |+| Tier 1-3 sources only | 5 | No SEO tool blogs, affiliate sites, low-authority |+| Inline attribution format | 4 | `([Source Name](url))` or `([Source Name](url), year)` |+| 8+ unique statistics | 3 | Minimum 8 distinct data points |++#### Visual Elements (15 points)+| Check | Points | Pass Criteria |+|-------|--------|---------------|+| 2-4 SVG charts present | 5 | Charts use real data with source attribution |+| Chart type diversity | 3 | No two charts use the same type |+| 3-5 images with alt text | 4 | Relevant to content, descriptive alt text |+| Visuals well-distributed | 3 | Not clustered — spread across the post |++#### Schema & Structure (10 points)+| Check | Points | Pass Criteria |+|-------|--------|---------------|+| FAQ schema present | 4 | 3-5 FAQ items with 40-60 word answers |+| Clean heading hierarchy | 3 | H1 → H2 → H3, no skipped levels |+| BlogPosting schema renders | 2 | dateModified matches lastUpdated |+| Meta description quality | 1 | 150-160 chars, fact-dense, includes statistic |++#### Freshness & Trust (10 points)+| Check | Points | Pass Criteria |+|-------|--------|---------------|+| lastUpdated within 30 days | 4 | Or dateModified in schema |+| Max 1 brand mention | 3 | Only in author context |+| Author has E-E-A-T bio | 2 | Credentials, not a sales pitch |+| Original publish date preserved | 1 | date field unchanged |++### Step 3: Generate Report++```+## Blog Quality Report: [Title]++**Score: [X]/100** — [Rating]++### Score Breakdown+| Category | Score | Max |+|----------|-------|-----|+| Content Quality | X | 25 |+| Answer-First Formatting | X | 20 |+| Statistics & Citations | X | 20 |+| Visual Elements | X | 15 |+| Schema & Structure | X | 10 |+| Freshness & Trust | X | 10 |+| **Total** | **X** | **100** |++### Issues Found++#### Critical (Must Fix)+- [ ] [Issue with specific location and fix]++#### High Priority+- [ ] [Issue with specific location and fix]++#### Medium Priority+- [ ] [Issue with specific location and fix]++#### Low Priority+- [ ] [Issue with specific location and fix]++### Quick Stats+- Word count: [N]+- Paragraphs: [N] (X over 100 words)+- H2 sections: [N] (X with answer-first formatting)+- Statistics: [N] sourced / [N] unsourced+- Images: [N] (X with alt text)+- Charts: [N] (types: ...)+- Internal links: [N]+- External links: [N]++### Recommended Actions+1. [Most impactful fix — Critical items first]+2. [Second most impactful]+3. [Third]++Run `/blog rewrite <file>` to apply these optimizations automatically.+```++## Batch Mode++When given a directory, scan for blog files and produce a summary table:++```+## Blog Audit Summary: [N] Posts Analyzed++| File | Score | Rating | Top Issue |+|------|-------|--------|-----------|+| post-1.md | 85 | Good | Missing FAQ schema |+| post-2.md | 42 | Poor | 12 fabricated stats |+| post-3.md | 71 | Needs Work | No answer-first formatting |++### Priority Queue (Lowest Scoring First)+1. post-2.md (42) — Full rewrite needed+2. post-3.md (71) — Answer-first + stats+3. post-1.md (85) — Add FAQ schema++Run `/blog rewrite <file>` on each, starting from lowest score.+```diff --git a/skills/blog-brief/SKILL.md b/skills/blog-brief/SKILL.mdnew file mode 100644index 0000000..0d0292b--- /dev/null+++ b/skills/blog-brief/SKILL.md@@ -0,0 +1,179 @@+---+name: blog-brief+description: >+ Generate detailed content briefs for blog posts with target keywords,+ content outlines, competitive analysis, recommended statistics, image and+ chart suggestions, word count targets, and internal linking plans. Briefs+ are optimized for Google rankings (Authenticity Update) and AI citations+ (GEO/AEO). Use when user says "content brief", "blog brief", "write brief",+ "outline blog", "plan blog post", "blog outline", "content outline".+allowed-tools:+ - Read+ - Write+ - Bash+ - Grep+ - Glob+ - WebFetch+ - WebSearch+ - Task+---++# Blog Brief Generator -- Content Planning++Generates comprehensive content briefs that guide blog writing for maximum+impact on both Google rankings and AI citation platforms.++## Workflow++### Step 1: Topic Intake++Gather from the user:+1. **Topic or keyword** (required)+2. **Target audience** (who reads this?)+3. **Search intent** — Informational, commercial, transactional, navigational+4. **Business context** — What does the company do? What's the CTA?++If only a topic is given, infer the rest from context.++### Step 2: Keyword Research++Using WebSearch:+1. Search for the target keyword — analyze what currently ranks+2. Identify **primary keyword** (exact match target)+3. Identify **3-5 secondary keywords** (related terms, long-tail)+4. Identify **3-5 question queries** (People Also Ask style)+5. Note the **search intent** — what do searchers actually want?++### Step 3: Competitive Analysis++Analyze the top 3-5 ranking pages for the target keyword:+1. **Content length** — What's the average word count?+2. **Heading structure** — How many H2s? What topics do they cover?+3. **Visual elements** — Do competitors use charts, images, videos?+4. **Content gaps** — What do all competitors miss?+5. **Freshness** — How recently were they updated?+6. **Schema** — Do they use FAQ or other rich results? (Note: HowTo deprecated Sept 2023)++### Step 4: Statistics Research++Find 8-12 statistics the article should include:+1. Search: `[topic] study 2025 2026 data statistics research`+2. Prioritize tier 1-3 sources+3. For each stat, record: value, source, URL, date, methodology+4. Identify 2-4 stats suitable for chart visualization++### Step 5: Generate the Brief++Output format:++```+# Content Brief: [Title Suggestion]++## Target Keywords+- **Primary**: [keyword] — [estimated monthly search volume if available]+- **Secondary**: [keyword 1], [keyword 2], [keyword 3]+- **Questions**: [question 1], [question 2], [question 3]++## Search Intent+[Informational/Commercial/Transactional] — [1-2 sentence explanation of+what the searcher wants]++## Content Parameters+- **Word count**: [2,000-2,500] words+- **Reading level**: Flesch 60-70 (grade 8-10)+- **Format**: [Markdown/MDX/HTML]+- **H2 sections**: [6-8]+- **Images**: 3-5 from Pixabay/Unsplash+- **Charts**: 2-4 via /svg-chart (diverse types)+- **FAQ items**: 3-5++## Recommended Title+[Question-format title including primary keyword, under 60 chars]++Alternative titles:+1. [Option 2]+2. [Option 3]++## Meta Description+[150-160 chars, fact-dense, includes 1 statistic, ends with value proposition]++## Content Outline++### Introduction (100-150 words)+- Hook: [Surprising statistic to open with]+- Problem: [What challenge does the reader face?]+- Promise: [What will they learn?]++### H2: [Question Format] (300-400 words)+- **Answer-first**: Open with [specific stat + source]+- Cover: [subtopic 1], [subtopic 2]+- **Image**: [Description of recommended image]+- **Key stat**: [Specific statistic to include]++### H2: [Question Format] (300-400 words)+- **Answer-first**: Open with [specific stat + source]+- Cover: [subtopic 1], [subtopic 2]+- **Chart**: [Type] showing [data description]+- **Key stat**: [Specific statistic to include]++[... repeat for 6-8 sections ...]++### FAQ Section (3-5 items)+1. [Question] — Answer with [stat + source]+2. [Question] — Answer with [stat + source]+3. [Question] — Answer with [stat + source]++### Conclusion (100-150 words)+- Key takeaways (bulleted)+- Call to action: [What should the reader do next?]++## Statistics to Include++| # | Statistic | Source | Year | Section |+|---|-----------|--------|------|---------|+| 1 | [stat] | [source + URL] | 2025 | H2: Section 1 |+| 2 | [stat] | [source + URL] | 2026 | H2: Section 2 |+| ... | ... | ... | ... | ... |++## Cover Image++| Option | Details |+|--------|---------|+| Photo cover | [Pixabay/Unsplash/Pexels search terms for wide hero image] |+| Generated SVG | [Text-on-gradient concept with key stat, if data-heavy topic] |+| Dimensions | 1200x630 (OG-compatible) |++## Visual Element Plan++| # | Type | Data | Section |+|---|------|------|---------|+| 1 | [Bar chart] | [Data description] | H2: Section 2 |+| 2 | [Donut chart] | [Data description] | H2: Section 4 |+| 3 | [Image: Pixabay] | [Search terms] | H2: Section 1 |+| 4 | [Image: Pixabay] | [Search terms] | H2: Section 3 |++## Competitive Gaps to Exploit+1. [What competitors miss that we should cover]+2. [Unique angle or original data we can provide]+3. [Format advantage — charts/visuals competitors lack]++## Internal Linking Opportunities+- Link TO: [existing pages on the site that are relevant]+- Link FROM: [existing pages that should link to this new post]++## E-E-A-T Signals to Include+- **Experience**: [First-hand insight, case study, or test result]+- **Expertise**: [Author credentials relevant to topic]+- **Authority**: [Industry recognition, citations, partnerships]+- **Trust**: [Transparency, sourced data, no self-promotion]++## Distribution Notes+- Reddit subreddits: [r/relevant1, r/relevant2]+- YouTube angle: [Video companion idea]+- Social hooks: [Key takeaway for social sharing]+```++### Step 6: Save the Brief++Save to the user's project as `briefs/[slug]-brief.md` or to a location+they specify. Confirm the brief is ready for `/blog write`.diff --git a/skills/blog-calendar/SKILL.md b/skills/blog-calendar/SKILL.mdnew file mode 100644index 0000000..daff9c2--- /dev/null+++ b/skills/blog-calendar/SKILL.md@@ -0,0 +1,164 @@+---+name: blog-calendar+description: >+ Generate editorial calendars for blogs with topic clusters, publishing+ schedules, freshness update plans, seasonal opportunities, and content+ type mix. Plans monthly or quarterly calendars optimized for SEO topic+ authority and AI citation freshness requirements (30-day update cycles).+ Use when user says "editorial calendar", "content calendar", "blog calendar",+ "publishing schedule", "blog plan", "content plan", "what should I write".+allowed-tools:+ - Read+ - Write+ - Bash+ - Grep+ - Glob+ - WebFetch+ - WebSearch+---++# Blog Calendar -- Editorial Planning++Generates editorial calendars with topic clusters, publishing cadence,+freshness update schedules, and seasonal hooks. Optimized for building+topical authority (Google) and maintaining citation freshness (AI platforms).++## Workflow++### Step 1: Understand the Blog++Gather context:+1. **Niche/industry** — What is the blog about?+2. **Existing content** — Scan for existing blog posts (Glob for *.md, *.mdx, *.html)+3. **Publishing cadence** — How often can they publish? (default: 2x/week)+4. **Timeframe** — Monthly or quarterly calendar?+5. **Business goals** — What should the blog drive? (traffic, leads, authority)++### Step 2: Topic Cluster Design++Design 3-5 topic clusters (pillar + supporting content):++```+Cluster: [Pillar Topic]+├── Pillar Page: [Comprehensive guide — 3,000+ words]+├── Supporting: [Subtopic 1 — 2,000 words]+├── Supporting: [Subtopic 2 — 2,000 words]+├── Supporting: [Subtopic 3 — 1,500 words]+├── Comparison: [X vs Y — 1,500 words]+└── FAQ: [Common questions — 1,500 words]+```++Each cluster should:+- Target a primary keyword theme+- Cover the topic comprehensively for topical authority+- Include varied content types (guides, comparisons, how-tos, listicles)+- Support internal linking between cluster pages++### Step 3: Freshness Update Schedule++AI platforms heavily favor fresh content (76% of top citations updated within 30 days).++Plan update cycles:+- **High-priority posts** (traffic drivers): Update every 30 days+- **Medium-priority posts**: Update every 90 days+- **Low-priority posts**: Update annually+- **Evergreen posts**: Update when data changes++### Step 4: Seasonal & Trending Hooks++Research seasonal opportunities:+1. **Industry events** — Conferences, product launches, algorithm updates+2. **Seasonal trends** — Google Trends for topic + month+3. **Annual reports** — When do major studies release new data?+4. **Algorithm updates** — Google core updates (typically 3-4 per year)++### Step 5: Generate the Calendar++#### Monthly Calendar Format++```+# Editorial Calendar: [Month Year]++## Publishing Cadence: [N] posts/week++### Week 1: [Date Range]+| Day | Type | Title | Cluster | Target Keyword | Status |+|-----|------|-------|---------|---------------|--------|+| Mon | New | [Title] | [Cluster] | [keyword] | Draft |+| Thu | Update | [Existing post] | [Cluster] | [keyword] | Refresh |++### Week 2: [Date Range]+| Day | Type | Title | Cluster | Target Keyword | Status |+|-----|------|-------|---------|---------------|--------|+| Mon | New | [Title] | [Cluster] | [keyword] | Brief |+| Thu | New | [Title] | [Cluster] | [keyword] | Brief |++### Week 3: [Date Range]+[...]++### Week 4: [Date Range]+[...]++## Content Mix This Month+- New posts: [N]+- Freshness updates: [N]+- Content types: [guides, comparisons, how-tos, listicles, ...]++## Freshness Update Queue+| Post | Last Updated | Priority | Scheduled |+|------|-------------|----------|-----------|+| [slug] | [date] | High | Week 2 |+| [slug] | [date] | Medium | Week 4 |++## Seasonal Hooks+- [Event/trend and how to leverage it]+```++#### Quarterly Calendar Format++```+# Quarterly Editorial Plan: Q[N] [Year]++## Content Strategy+- Topic clusters: [N] active+- New posts planned: [N]+- Freshness updates planned: [N]+- Total content actions: [N]++## Month 1: [Month]+### Focus: [Primary cluster or theme]+| Week | Type | Title | Cluster | Keyword |+|------|------|-------|---------|---------|+| W1 | New | ... | ... | ... |+| W1 | Update | ... | ... | ... |+| W2 | New | ... | ... | ... |+[...]++## Month 2: [Month]+### Focus: [Primary cluster or theme]+[...]++## Month 3: [Month]+### Focus: [Primary cluster or theme]+[...]++## Quarterly Goals+- [ ] Publish [N] new posts+- [ ] Update [N] existing posts for freshness+- [ ] Complete [Cluster] pillar + [N] supporting pages+- [ ] Achieve [metric target]++## Distribution Plan+- Reddit: Post insights to [subreddit list] (authentic participation)+- YouTube: Create companion videos for pillar pages+- Social: Share key statistics and charts from posts+- Email: Newsletter featuring [N] top posts per month+```++### Step 6: Save & Next Steps++Save the calendar and suggest:+1. Start with `/blog brief <first-topic>` to create the first content brief+2. Use `/blog write` to generate articles from briefs+3. Use `/blog rewrite` for freshness updates on existing content+4. Re-run `/blog calendar` next month/quarter for the next plandiff --git a/skills/blog-rewrite/SKILL.md b/skills/blog-rewrite/SKILL.mdnew file mode 100644index 0000000..c13543e--- /dev/null+++ b/skills/blog-rewrite/SKILL.md@@ -0,0 +1,170 @@+---+name: blog-rewrite+description: >+ Rewrite and optimize existing blog posts for Google rankings (Authenticity+ Update, E-E-A-T) and AI citations (GEO/AEO). Replaces fabricated statistics+ with sourced data, applies answer-first formatting, adds Pixabay/Unsplash+ images, generates SVG charts via /svg skill, injects FAQ schema, 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".+allowed-tools:+ - Read+ - Write+ - Edit+ - Bash+ - Grep+ - Glob+ - WebFetch+ - WebSearch+ - Task+---++# 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.++## Workflow++### Phase 1: Audit (Read-Only)++1. **Read the blog post** — Detect format (MDX, markdown, HTML)+2. **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 > 100 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+3. **Calculate current score** (0-100)+4. **Present audit summary** with specific findings and score+5. **Enter plan mode** — Present section-by-section optimization plan++Wait for user approval before proceeding.++### Phase 2: Research++1. **Identify the blog's core topic** from existing content+2. **Find replacement statistics** for any fabricated/unsourced data:+ - Search: `[topic] study 2025 2026 data statistics`+ - Target tier 1-3 sources only+3. **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+4. **Plan charts** if post has fewer than 2:+ - Identify data suitable for visualization+ - Select diverse chart types++### Phase 3: Chart Generation (If Needed)++Generate charts via `/svg-chart` if the post needs more visual elements.+See `references/visual-media.md` for requirements.++### 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 via `/svg` (text-on-gradient with key stat)+- 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 > 100 words+- Target 40-55 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+- Adapt embed format to detected platform (MDX vs markdown vs HTML)++#### 4h. 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++#### 4i. Reduce Self-Promotion+- Max 1 brand mention (author bio context only)+- Remove "At [Company], we..." patterns+- Convert promotional sections to educational content++### Phase 5: Verification++After rewriting, verify all quality gates pass:+1. Every H2 opens with a statistic + source+2. No paragraph exceeds 100 words+3. Zero fabricated statistics+4. Heading hierarchy is clean+5. FAQ section present with schema+6. Images have descriptive alt text+7. Cover image present in frontmatter (coverImage + ogImage)+8. If MDX: build the project to verify no compilation errors++### Phase 6: Summary++```+## Blog Optimization Complete: [Title]++### Score Change+- Before: [X]/100 ([Rating])+- After: [Y]/100 ([Rating])++### 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+- lastUpdated set to [date]+- Self-promotion reduced to [N] mentions++### Visual Elements+- Charts: [count] ([types])+- Images: [count]++### Ready for+- `/blog analyze <file>` to verify final score+- Publishing / deploying+```++## Update Mode++When invoked as `/blog update <file>`, focus on freshness:+1. Update statistics to latest available data (2025-2026)+2. Add new developments since last update+3. Refresh images if older than 1 year+4. Update `lastUpdated` in frontmatter+5. Preserve the existing structure — minimize rewrites+6. Target: at least 30% content change to register as "fresh" for AI crawlersdiff --git a/skills/blog-strategy/SKILL.md b/skills/blog-strategy/SKILL.mdnew file mode 100644index 0000000..988ecd7--- /dev/null+++ b/skills/blog-strategy/SKILL.md@@ -0,0 +1,192 @@+---+name: blog-strategy+description: >+ Blog strategy development including content pillar definition, audience+ mapping, competitive landscape analysis, distribution channel planning+ (YouTube, Reddit, review platforms for GEO), measurement framework, and+ content differentiation through original research and first-hand experience.+ Use when user says "blog strategy", "content strategy", "blog positioning",+ "what should I blog about", "blog topics", "content pillars", "blog ideation".+allowed-tools:+ - Read+ - Write+ - Bash+ - Grep+ - Glob+ - WebFetch+ - WebSearch+ - Task+---++# Blog Strategy -- Positioning & Content Architecture++Develops comprehensive blog strategies that build topical authority for+Google rankings while establishing brand presence for AI citation platforms.++## Workflow++### Step 1: Discovery++Gather context through questions or project analysis:++1. **Business**: What do you sell/do? Who are your customers?+2. **Blog goals**: Traffic? Leads? Authority? AI citations?+3. **Current state**: Existing blog content? (scan if project available)+4. **Competitors**: Who are your 3-5 main competitors?+5. **Differentiator**: What unique expertise or data do you have?+6. **Resources**: Writing capacity (posts/week), budget for visuals?++### Step 2: Competitive Landscape++Research competitors' blogs:+1. WebSearch for competitor blog URLs+2. For each competitor, assess:+ - Publishing frequency+ - Content types (guides, case studies, comparisons, news)+ - Visual quality (images, charts, videos)+ - Schema usage+ - Social distribution (YouTube, Reddit, LinkedIn)+ - AI citation presence (search ChatGPT/Perplexity for industry terms)+3. Identify gaps no competitor covers well++### Step 3: Audience Mapping++Define 2-3 audience segments:++```+### Audience Segment: [Name]+- **Role**: [Job title / description]+- **Pain points**: [What problems do they have?]+- **Search behavior**: [What do they Google?]+- **AI behavior**: [What do they ask ChatGPT/Perplexity?]+- **Content preferences**: [Long guides? Quick answers? Video?]+- **Buying stage**: [Awareness / Consideration / Decision]+```++### Step 4: Content Pillar Design++Design 3-5 content pillars based on audience needs and competitive gaps:++```+### Pillar: [Topic Area]+- **Purpose**: Build authority in [topic]+- **Primary keywords**: [3-5 keywords]+- **Content types**: Pillar guide, supporting posts, comparisons, FAQ+- **Unique angle**: [What first-hand experience/data can you provide?]+- **Estimated posts**: [N] to achieve topic coverage+- **AI citation potential**: [High/Medium/Low] — [why]+```++### Step 5: Differentiation Strategy++The January 2026 Authenticity Update rewards first-hand experience. Plan+how to demonstrate genuine expertise:++| Signal Type | Implementation |+|-------------|---------------|+| Original data | Conduct surveys, analyze proprietary data, run experiments |+| Case studies | Document real client/project results with metrics |+| Build in public | Share process, learnings, and failures transparently |+| Expert interviews | Feature practitioners with first-hand knowledge |+| Tool reviews | Test products personally, share screenshots and results |+| Industry analysis | Provide unique perspective on public data |++### Step 6: Distribution Channel Strategy++AI visibility requires off-site presence (88-92% of AI citations come+from off-site signals). Plan brand presence:++| Channel | AI Impact | Strategy |+|---------|-----------|----------|+| YouTube | 0.737 correlation (strongest) | Companion videos for pillar posts, how-tos, demos |+| Reddit | 450% citation surge | Authentic participation in 3-5 subreddits, share insights not links |+| Review platforms | 2.6-3.5x citation multiplier | Maintain profiles on G2, Capterra, TrustRadius (B2B) |+| Wikipedia/Wikidata | Credibility tiebreaker | Build notability through earned media, create Wikidata entry |+| Industry publications | Tier 2-3 citation source | Guest posts, expert commentary, study contributions |+| Social media | Brand mentions | LinkedIn thought leadership, Twitter/X insights |++Budget allocation recommendation: **40% owned content / 60% earned media and distribution**.++### Step 7: Measurement Framework++```+### Metrics to Track++#### Traditional SEO+- Organic traffic (monthly)+- Keyword rankings (top 10, top 3)+- Domain authority / Domain Rating+- Internal link coverage+- Core Web Vitals++#### AI Citation Metrics (New)+- Share of Voice in ChatGPT responses (manual tracking)+- AI Overview citation rate (Google Search Console)+- Perplexity mentions (manual tracking)+- AI referral traffic (GA4: source contains chatgpt, perplexity, claude)+- Brand mention volume (branded search + web mentions)++#### Content Quality+- Blog quality score via `/blog analyze` (target: 80+)+- Content freshness (% of posts updated within 30 days)+- Visual element coverage (charts + images per post)+- Citation tier quality (% tier 1-3 sources)++#### Business Impact+- Blog-attributed leads/conversions+- Email subscribers from blog+- Content-assisted revenue+```++### Step 8: Generate Strategy Document++Output format:++```+# Blog Strategy: [Business Name]++## Executive Summary+[2-3 sentences on the strategic direction]++## Audience+[Segment summaries]++## Content Pillars+[3-5 pillars with descriptions]++## Competitive Positioning+[How we differentiate — what unique value we bring]++## Distribution Channels+[Priority channels with specific tactics]++## Content Velocity+- New posts: [N]/week+- Freshness updates: [N]/month+- Visual elements: [N] charts + [N] images per post++## 90-Day Roadmap+### Month 1: Foundation+- [ ] Publish [Pillar 1] guide + [N] supporting posts+- [ ] Set up YouTube channel / Reddit profiles+- [ ] Establish measurement dashboard++### Month 2: Expansion+- [ ] Publish [Pillar 2] guide + [N] supporting posts+- [ ] First freshness update cycle+- [ ] Begin Reddit/YouTube distribution++### Month 3: Optimization+- [ ] Audit all posts with `/blog analyze`+- [ ] Optimize lowest-scoring posts+- [ ] Publish [Pillar 3] guide+- [ ] Review metrics, adjust strategy++## Measurement+[KPIs and tracking approach]++## Next Steps+1. Run `/blog calendar` to create the first month's editorial calendar+2. Run `/blog brief` for the first pillar page+3. Run `/blog write` to generate the first article+```diff --git a/skills/blog-write/SKILL.md b/skills/blog-write/SKILL.mdnew file mode 100644index 0000000..1038f52--- /dev/null+++ b/skills/blog-write/SKILL.md@@ -0,0 +1,275 @@+---+name: blog-write+description: >+ Write new blog articles from scratch optimized for Google rankings and AI+ citations. Generates full articles with answer-first formatting, sourced+ statistics, Pixabay/Unsplash images, SVG charts via /svg skill, FAQ schema,+ and proper heading hierarchy. Supports MDX, markdown, and HTML output.+ Use when user says "write blog", "new blog post", "create article",+ "write about", "draft blog", "generate blog post".+allowed-tools:+ - Read+ - Write+ - Edit+ - Bash+ - Grep+ - Glob+ - WebFetch+ - WebSearch+ - Task+---++# Blog Writer -- New Article Generation++Writes complete blog articles from a topic, brief, or outline. Every article+follows the 6 pillars of dual optimization (Google rankings + AI citations).++## Workflow++### Phase 1: Topic Understanding++1. **Clarify the topic** — If the user provides just a topic, ask:+ - Target audience (who is this for?)+ - Primary keyword / search intent+ - Desired word count (default: 2,000-2,500 words)+ - Platform/format (MDX, markdown, HTML — auto-detect if in a project)+2. **If a brief exists** — Load it and skip to Phase 2++### Phase 2: Research++Spawn a `blog-researcher` agent (or do inline research with WebSearch):++1. **Find 8-12 current statistics** (2025-2026 data preferred)+ - Search: `[topic] study 2025 2026 data statistics`+ - Prioritize tier 1-3 sources (see `references/quality-scoring.md`)+ - Record: statistic, source name, URL, date, methodology+2. **Find a cover image** (wide, high-quality, topic-relevant):+ - Search: `site:pixabay.com [topic] wide banner` (preferred)+ - Alternative: `site:unsplash.com [topic] wide`+ - Fallback: `site:pexels.com [topic] wide banner`+ - Target dimensions: 1200x630 (OG-compatible) or 1920x1080+ - Or generate a custom SVG cover via `/svg` (text-on-gradient with key stat)+ - See `references/visual-media.md` for cover image sizing details+3. **Find 3-5 inline images** from open-source platforms:+ - **Pixabay** (preferred): Search `site:pixabay.com [topic keywords]`+ - Extract image URL from page+ - Direct URLs: `https://cdn.pixabay.com/photo/YYYY/MM/DD/HH/MM/filename.jpg`+ - Verify with `curl -sI "<url>" | head -1` returns HTTP 200+ - **Unsplash** (alternative): Search `site:unsplash.com [topic keywords]`+ - Build URL: `https://images.unsplash.com/photo-<id>?w=1200&h=630&fit=crop&q=80`+ - **Pexels** (fallback): Search `site:pexels.com [topic keywords]`+4. **Plan 2-4 data visualizations** from researched statistics+ - Select diverse chart types (see `references/visual-media.md`)+ - Map data points to chart formats++### Phase 3: Outline Generation++Create a structured outline before writing:++```+# [Title as Question — Include Primary Keyword]++## Introduction (100-150 words)+- Hook with surprising statistic+- Problem/opportunity statement+- What the reader will learn++## H2: [Question Format] (300-400 words)+- Answer-first paragraph (40-60 words with stat + source)+- Supporting evidence+- [Image placement]+- Practical advice++## H2: [Question Format] (300-400 words)+- Answer-first paragraph+- [Chart: type + data description]+- Analysis and implications++## H2: [Statement for Variety] (300-400 words)+- Answer-first paragraph+- Real-world example or case study+- [Image placement]++## H2: [Question Format] (300-400 words)+- Answer-first paragraph+- [Chart: type + data description]+- Step-by-step guidance++## H2: [Question Format] (200-300 words)+- Answer-first paragraph+- Forward-looking analysis++## FAQ Section (3-5 questions, 40-60 words each answer)++## Conclusion (100-150 words)+- Key takeaways (bulleted)+- Call to action+```++Present the outline to the user for approval before writing.++### Phase 4: Chart Generation++Generate 2-4 SVG charts using `/svg-chart` skill.++For each chart, invoke `/svg-chart` with:+- Exact data values with sources+- Chart type (ensure diversity — never repeat a type)+- If platform is MDX: request JSX-compatible SVG (camelCase attributes)+- Save location: `/tmp/chart-<descriptive-name>.svg`++After generation, read the SVG and prepare for embedding.++See `references/visual-media.md` for chart type selection and styling rules.++### Phase 5: Content Writing++Write the full article following these rules:++#### 5a. Frontmatter+```yaml+---+title: "[Question-format title with primary keyword]"+description: "[Fact-dense, 150-160 chars, includes 1 statistic]"+coverImage: "[URL from Pixabay/Unsplash/Pexels or generated SVG path]"+coverImageAlt: "[Descriptive sentence about the cover image]"+ogImage: "[Same as coverImage, or custom OG image URL]"+date: "YYYY-MM-DD"+lastUpdated: "YYYY-MM-DD"+author: "[Author name]"+tags: ["keyword1", "keyword2", "keyword3"]+---+```++If the platform uses a different field name (e.g., `image`, `hero`, `thumbnail`),+adapt to match the project's existing frontmatter convention.++#### 5b. Answer-First Formatting (Critical)+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++Pattern:+```markdown+## How Does X Impact Y in 2026?++[Stat from source] ([Source Name](url), year). [Direct answer to the heading+question in 1-2 more sentences, explaining the implication and what this means+for the reader.]+```++#### 5c. Paragraph Rules+- Every paragraph: 40-55 words (never exceed 100)+- Every sentence: max 15-20 words+- Start each paragraph with the most important information+- Target Flesch Reading Ease: 60-70++#### 5d. Heading Rules+- One H1 (title only)+- H2s for main sections (60-70% as questions)+- H3s for subsections only — never skip levels+- Include primary keyword naturally in 2-3 headings++#### 5e. Image Embedding++Standard markdown:+```markdown++```++MDX with Next.js Image (if detected):+```mdx++```++- Place images after H2 headings, before body text+- Space evenly throughout the post (not clustered)+- Alt text should be a full descriptive sentence++#### 5f. Chart Embedding++Standard markdown/HTML:+```html+<figure>+ <svg viewBox="0 0 560 380" ...>...</svg>+ <figcaption>Source: [Source Name], [Year]</figcaption>+</figure>+```++MDX format:+```mdx+<figure className="chart-container" style={{margin: '2.5rem 0', textAlign: 'center', padding: '1.5rem', borderRadius: '12px'}}>+ <svg viewBox="0 0 560 380" ...>...</svg>+</figure>+```++#### 5g. Citation Format+Inline attribution (always):+```markdown+Organic CTR declined 61% with AI Overviews ([Seer Interactive](https://www.seerinteractive.com/), 2025).+```++#### 5h. FAQ Section+Add 3-5 FAQ items with 40-60 word answers. Each answer must contain a statistic.++For MDX with FAQSchema component:+```mdx+<FAQSchema faqs={[+ { question: "Question?", answer: "40-60 word answer with statistic and source." },+]} />+```++For standard markdown:+```markdown+## Frequently Asked Questions++### Question text here?++Answer with statistic and source attribution (40-60 words).+```++#### 5i. Internal Linking+- 5-10 internal links per 2,000-word post+- Link to relevant existing content naturally+- Use descriptive anchor text (not "click here")++### Phase 6: Quality Check++Before delivering, verify:+1. Every H2 opens with a statistic + source+2. No paragraph exceeds 100 words+3. All statistics have named tier 1-3 sources+4. 2-4 charts with type diversity+5. 3-5 inline images with descriptive alt text+6. Cover image present in frontmatter (coverImage + ogImage)+7. FAQ section present with 3-5 items+8. Heading hierarchy is clean (H1 → H2 → H3)+9. Meta description is 150-160 chars with a stat++### Phase 7: Delivery++Present the completed article with a summary:++```+## Blog Post Complete: [Title]++### Statistics+- [N] sourced statistics from tier 1-3 sources+- [N] unique sources cited++### Visual Elements+- Cover image: [source — Pixabay/Unsplash/Pexels or generated SVG]+- [N] inline images (Pixabay/Unsplash/Pexels)+- [N] SVG charts (types: bar, lollipop, donut, line)++### Structure+- [N] H2 sections with answer-first formatting+- [N] FAQ items with schema+- Word count: ~[N] words+- Estimated reading time: [N] min++### Next Steps+- Review and customize for your brand voice+- Add internal links to your existing content+- Run `/blog analyze <file>` to verify quality score+```