Skip to content

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.

docs(v1.9.0): sync README + CLAUDE + ARCHITECTURE + INSTALLATION to v1.9.0 reality

Danielc59e6ea69e89
diff --git a/CLAUDE.md b/CLAUDE.md
index 792950c..22f6207 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -9,8 +9,10 @@ subagents, 12 content templates, and 21 reference docs are dual-optimized for Go
(December 2025 Core Update, E-E-A-T) and AI citations (GEO/AEO). Includes FLOW framework
integration, semantic topic-cluster planning + execution, multilingual publishing (Pro Hub
Challenge v1.7.0), BRAND.md/VOICE.md/DISCOURSE.md project-root context auto-load (v1.8.0,
-fenced via `scripts/load_untrusted_root.py` with CSPRNG nonces, v1.8.3+), and CI-enforced
-prose hygiene via `scripts/lint_prose.py` (v1.8.4+).
+fenced via `scripts/load_untrusted_root.py` with CSPRNG nonces, v1.8.3+), CI-enforced
+prose hygiene via `scripts/lint_prose.py` (v1.8.4+), and the 5-gate Blog Delivery Contract
+(v1.9.0, `skills/blog/references/blog-delivery-contract.md`) that runs `blog_preflight.py`
++ a BLOCKING `blog-reviewer` agent between every draft and the user.
## Architecture
@@ -19,13 +21,16 @@ claude-blog/
CLAUDE.md # Project instructions (this file)
CONTRIBUTORS.md # Pro Hub Challenge attribution and integration decisions
CHANGELOG.md # Keep a Changelog format
- .claude-plugin/plugin.json # Plugin manifest (v1.8.5+)
+ .claude-plugin/plugin.json # Plugin manifest (v1.9.0)
.claude-plugin/marketplace.json # Marketplace catalog for distribution
.mcp.json # MCP server configuration (nanobanana-mcp)
pyproject.toml # Python packaging (3.11+)
scripts/analyze_blog.py # 5-category quality scoring (stdlib)
+ scripts/blog_preflight.py # 5-gate delivery contract runner (v1.9.0)
+ scripts/blog_render.py # md -> html -> pdf renderer; XSS-safe JSON-LD (v1.9.0)
scripts/cognitive_load.py # Per-section concept-density analyzer (v1.8.0)
scripts/discourse_research.py # Discourse brief synthesis from SERP JSON (v1.8.0)
+ scripts/generate_hero.py # Hero image ladder: Banana -> Gemini -> stock -> Openverse (v1.9.0)
scripts/load_untrusted_root.py # Code-enforced fence helper for BRAND/VOICE/DISCOURSE (v1.8.3)
scripts/lint_prose.py # Fence-aware prose-hygiene linter (v1.8.4; CI-enforced)
scripts/sync_flow.py # Pulls FLOW references (stdlib, sandboxed)
@@ -89,7 +94,7 @@ claude-blog/
blog-seo.md # SEO validation
blog-reviewer.md # Quality scoring (no Bash, post v1.7.0 hardening)
blog-translator.md # Multilingual translation (no Bash, v1.7.0)
- tests/ # pytest suite incl. test_security_guardrails.py
+ tests/ # pytest suite (160 tests) incl. test_blog_delivery_contract.py + test_security_guardrails.py
```
## Commands
diff --git a/README.md b/README.md
index 3947714..af5f610 100644
--- a/README.md
+++ b/README.md
@@ -53,7 +53,7 @@ install.sh and pin a release tag, closing audit VULN-005):
```bash
git clone https://github.com/AgriciDaniel/claude-blog.git
cd claude-blog
-git checkout v1.8.6 # pin to a release tag (latest as of 2026-05-17)
+git checkout v1.9.0 # pin to a release tag (latest as of 2026-05-18)
chmod +x install.sh && ./install.sh
```
@@ -108,7 +108,7 @@ Restart Claude Code after installation to activate.
| `/blog brand [init\|show\|update]` | Generate BRAND.md + VOICE.md context auto-loaded by all sub-skills (v1.8.0) |
| `/blog discourse <topic>` | API-free last-30-days discourse research; produces DISCOURSE.md (v1.8.0) |
-> **30 sub-skill directories total**: 29 user-invokable (28 distinct slash commands above + `/blog update` aliased to rewrite) + 1 internal-only (`blog-chart`, invoked by blog-write/blog-rewrite for inline SVG charts). `blog-image` is user-invokable AND callable internally. v1.7.0 added `blog-cluster`, `blog-multilingual`, `blog-translate`, `blog-localize`, `blog-locale-audit`, and `blog-flow`. v1.8.0 added `blog-brand` and `blog-discourse`.
+> **30 sub-skill directories total**: 29 user-invokable (28 distinct slash commands above + `/blog update` aliased to rewrite) + 1 internal-only (`blog-chart`, invoked by blog-write/blog-rewrite for inline SVG charts). `blog-image` is user-invokable AND callable internally. v1.7.0 added `blog-cluster`, `blog-multilingual`, `blog-translate`, `blog-localize`, `blog-locale-audit`, and `blog-flow`. v1.8.0 added `blog-brand` and `blog-discourse`. v1.9.0 adds the 5-gate Blog Delivery Contract (see Architecture section below).
### Foundational methodologies (v1.8.0 references)
@@ -209,7 +209,7 @@ claude-blog/
│ │ ├── SKILL.md # Routes all 29 user-facing commands (28 distinct + `/blog update` alias)
│ │ ├── references/ # 21 on-demand reference docs (5 new in v1.8.0, 1 new in v1.9.0)
│ │ └── templates/ # 12 content type templates
-│ ├── blog-write/SKILL.md # Sub-skills (28 user-facing + 2 internal-only)
+│ ├── blog-write/SKILL.md # Sub-skills (29 user-invokable + 1 internal-only blog-chart)
│ ├── blog-rewrite/SKILL.md
│ ├── blog-analyze/SKILL.md
│ ├── blog-brief/SKILL.md
@@ -251,20 +251,28 @@ claude-blog/
│ └── blog-translator.md # v1.7.0; runs without Bash for blast-radius safety
├── scripts/
│ ├── analyze_blog.py # Python quality analysis (5-category scoring)
+│ ├── blog_preflight.py # 5-gate delivery contract runner (v1.9.0)
+│ ├── blog_render.py # md -> html -> pdf renderer with XSS-safe JSON-LD (v1.9.0)
│ ├── cognitive_load.py # Per-section concept-density analyzer (v1.8.0)
│ ├── discourse_research.py # Discourse brief synthesis from SERP JSON (v1.8.0)
+│ ├── generate_hero.py # Hero image ladder: Banana -> Gemini -> stock -> Openverse (v1.9.0)
│ ├── load_untrusted_root.py # Code-enforced BRAND/VOICE/DISCOURSE fencing helper (v1.8.3)
│ ├── lint_prose.py # CI prose-hygiene linter (v1.8.4; fence-aware)
│ └── sync_flow.py # FLOW reference sync (stdlib, sandboxed)
-├── tests/ # pytest test suite (130+ tests, 0 skips)
+├── tests/ # pytest test suite (160 tests, 0 skips)
│ ├── conftest.py
│ ├── test_analyze_blog.py
+│ ├── test_blog_delivery_contract.py # v1.9.0 (XSS / symlink / frontmatter mutation-verified)
│ ├── test_cognitive_load.py # v1.8.0
+│ ├── test_command_coherence.py # v1.8.5 (SKILL.md <-> COMMANDS.md command-set parity)
│ ├── test_discourse_research.py # v1.8.0
+│ ├── test_installer_sync.py # v1.8.6 (every scripts/*.py shipped + removed)
+│ ├── test_lint_prose.py # v1.8.4 (fence-aware prose-hygiene tests)
│ ├── test_load_untrusted_root.py # v1.8.3 (behavioral nonce + sanitize tests)
│ ├── test_security_guardrails.py
-│ └── test_security_v1_8_0.py # v1.8.0 (path traversal + DoS + contract regression)
-├── docs/ # 6 documentation files
+│ ├── test_security_v1_8_0.py # v1.8.0 (path traversal + DoS + contract regression)
+│ └── test_version_coherence.py # v1.8.5 (pyproject / plugin.json / CITATION / SKILL.md aligned)
+├── docs/ # 7 documentation files
├── .github/workflows/ci.yml # CI pipeline
├── install.sh # Unix/macOS installer (fallback)
├── install.ps1 # Windows PowerShell installer
@@ -284,7 +292,7 @@ claude-blog/
### Quality Gates (CI-enforced on every PR)
-1. **pytest**: 130+ tests across security, behavioral, and regression suites
+1. **pytest**: 160 tests across security, behavioral, regression, and delivery-contract suites
2. **Plugin validation**: `claude plugin validate .` (when CLI available) + hand-rolled JSON/regex checks
3. **Stale-path lint**: catches drift in `references/` and `templates/` cross-references
4. **Prose hygiene**: `scripts/lint_prose.py` (fence-aware, backtick-aware) enforces CONTRIBUTING.md no-em-dash / no-en-dash / no-` -- ` rule
diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md
index ceb17e1..0a8ddd6 100644
--- a/docs/ARCHITECTURE.md
+++ b/docs/ARCHITECTURE.md
@@ -28,27 +28,41 @@ data flow, scoring methodology, file conventions, and extension points.
| |
v v
+----------------------------+ +---------------------------+
-| 12 Sub-Skills | | On-Demand References |
+| 30 Sub-Skills | | On-Demand References |
| skills/blog-*/SKILL.md | | skills/blog/references/*.md |
| | | skills/blog/templates/*.md |
| write rewrite | | |
-| analyze brief | | Loaded as needed |
-| calendar strategy | | (RAG-style pattern) |
-| outline seo-check | +---------------------------+
-| schema repurpose |
+| analyze brief | | 21 references loaded |
+| calendar strategy | | on demand (RAG pattern) |
+| outline seo-check | | 12 content templates |
+| schema repurpose | +---------------------------+
| geo audit |
+| image cannibalization |
+| factcheck persona |
+| taxonomy notebooklm |
+| audio google |
+| cluster flow |
+| multilingual translate |
+| localize locale-audit |
+| brand discourse |
+| chart (internal) |
+------+----------+----------+
| |
v v
-+------------------+ +------------------+
-| 4 Subagents | | Python Script |
-| agents/*.md | | analyze_blog.py |
-| | | |
-| blog-researcher | | Automated |
-| blog-writer | | quality metrics |
-| blog-seo | | and scoring |
-| blog-reviewer | +------------------+
-+------------------+
++------------------+ +------------------------+
+| 5 Subagents | | 9 root-level Scripts |
+| agents/*.md | | scripts/*.py |
+| | | |
+| blog-researcher | | analyze_blog |
+| blog-writer | | blog_preflight (1.9) |
+| blog-seo | | blog_render (1.9) |
+| blog-reviewer | | generate_hero (1.9) |
+| blog-translator | | cognitive_load |
++------------------+ | discourse_research |
+ | load_untrusted_root |
+ | lint_prose |
+ | sync_flow |
+ +------------------------+
```
---
@@ -70,70 +84,91 @@ The entry point for all `/blog` commands. Responsibilities:
The orchestrator is a Claude Code skill with YAML frontmatter defining its
name, description, trigger phrases, and allowed tools.
-### 2. Sub-Skills (12)
+### 2. Sub-Skills (30 total: 29 user-invokable + 1 internal blog-chart)
-**Location**: `skills/blog-*/SKILL.md`
+**Location**: `skills/blog-*/SKILL.md` (and `skills/blog/SKILL.md` for the orchestrator)
Each sub-skill is a standalone Claude Code skill with its own:
-- YAML frontmatter (name, description, allowed-tools)
+- YAML frontmatter (name, description, user-invokable, argument-hint, metadata.version)
- Detailed workflow (step-by-step instructions)
- Input/output specifications
- Quality checks
-| Sub-Skill | Responsibility |
-|-----------|---------------|
-| blog-write | New article generation with full optimization |
-| blog-rewrite | Existing post optimization preserving author voice |
-| blog-analyze | Quality audit with 0-100 scoring |
-| blog-brief | Content brief generation with research |
-| blog-calendar | Editorial calendar planning |
-| blog-strategy | Blog positioning and content architecture |
-| blog-outline | SERP-informed outline generation |
-| blog-seo-check | Post-writing SEO validation |
-| blog-schema | JSON-LD schema markup generation |
-| blog-repurpose | Cross-platform content repurposing |
-| blog-geo | AI citation optimization audit |
-| blog-audit | Full-site blog health assessment |
-
-### 3. Subagents (4)
+| Sub-Skill | Responsibility | Introduced |
+|-----------|----------------|------------|
+| blog-write | New article generation with full optimization (v1.9.0: iterates through 5-gate delivery contract until score >= 90 and zero P0, max 3 iterations) | v1.0.0 |
+| blog-rewrite | Existing post optimization preserving author voice (v1.9.0: same delivery contract) | v1.0.0 |
+| blog-analyze | Quality audit with 5-category 100-point scoring | v1.0.0 |
+| blog-brief | Content brief generation with research | v1.0.0 |
+| blog-calendar | Editorial calendar planning | v1.0.0 |
+| blog-strategy | Blog positioning and content architecture | v1.0.0 |
+| blog-outline | SERP-informed outline generation | v1.0.0 |
+| blog-seo-check | Post-writing SEO validation | v1.0.0 |
+| blog-schema | JSON-LD schema markup generation | v1.0.0 |
+| blog-repurpose | Cross-platform content repurposing | v1.0.0 |
+| blog-geo | AI citation optimization audit | v1.0.0 |
+| blog-audit | Full-site blog health assessment | v1.0.0 |
+| blog-chart | Inline SVG charts (internal-only, invoked by write/rewrite) | v1.0.0 |
+| blog-image | AI image generation via Gemini (nanobanana-mcp) | v1.4.0 |
+| blog-cannibalization | Keyword overlap detection across posts | v1.4.x |
+| blog-factcheck | Statistics verification against cited sources | v1.4.x |
+| blog-persona | Writing persona / voice profile management | v1.4.x |
+| blog-taxonomy | CMS tag / category management (WordPress, Shopify, Ghost, Strapi, Sanity) | v1.4.x |
+| blog-notebooklm | Source-grounded research via NotebookLM | v1.5.0 |
+| blog-audio | Audio narration via Gemini TTS (30 voices, 80+ languages) | v1.6.0 |
+| blog-google | Google API integration (PSI, CrUX, GSC, GA4, NLP, YouTube, Ads) | v1.6.5 |
+| blog-cluster | Semantic topic-cluster planning + execution (hub-and-spoke) | v1.7.0 |
+| blog-flow | FLOW framework prompts (find / optimize / win / prompts / sync) | v1.7.0 |
+| blog-multilingual | One-command multilingual write + translate + localize + hreflang | v1.7.0 |
+| blog-translate | SEO-optimized translation with format preservation | v1.7.0 |
+| blog-localize | Cultural deep-adaptation per locale | v1.7.0 |
+| blog-locale-audit | Multilingual content QA (completeness, hreflang, parity, freshness) | v1.7.0 |
+| blog-brand | Generate BRAND.md + VOICE.md context auto-loaded by all sub-skills | v1.8.0 |
+| blog-discourse | API-free last-30-days discourse research (Reddit, X, YouTube, etc.) | v1.8.0 |
+
+### 3. Subagents (5)
**Location**: `agents/blog-*.md`
Specialized agents spawned by sub-skills via Claude Code's `Task` tool.
-Each agent has a focused role with a restricted tool set.
+Each agent has a focused role with a restricted tool set. None of the
+agents have Bash access; the v1.7.0 hardening removed Bash from the
+agent frontmatter to bound blast radius (see `agents/blog-reviewer.md`
+and `agents/blog-translator.md`).
| Agent | Tools | Role |
|-------|-------|------|
| blog-researcher | WebSearch, WebFetch, Read, Grep, Glob | Find statistics, images, competitive data |
| blog-writer | Read, Write, Edit, Grep, Glob | Write and rewrite optimized content |
| blog-seo | Read, WebFetch, Grep, Glob | Technical SEO analysis and validation |
-| blog-reviewer | Read, Grep, Glob | Quality review and scoring |
+| blog-reviewer | Read, Grep, Glob | Quality review and scoring; **BLOCKING in v1.9.0** (emits `BLOCKING: true\|false (reason)` line parsed by `scripts/blog_preflight.py` Gate 4) |
+| blog-translator | Read, Write, Edit, Grep, Glob | Multilingual translation (v1.7.0; no Bash for blast-radius safety) |
Agents are defined as markdown files with YAML frontmatter specifying their
name, description, and available tools.
-### 4. Reference Files (12)
+### 4. Reference Files (21)
**Location**: `skills/blog/references/*.md`
-Knowledge documents loaded on demand (not preloaded). Each reference covers
-a specific optimization domain:
-
-| Reference | Domain |
-|-----------|--------|
-| google-landscape-2026.md | December 2025 Core Update, E-E-A-T, algorithm changes |
-| geo-optimization.md | GEO/AEO techniques, AI citation factors |
-| content-rules.md | Structure, readability, answer-first formatting |
-| visual-media.md | Image sourcing (Pixabay, Unsplash) + SVG chart integration |
-| quality-scoring.md | Full scoring checklist with point values |
-| eeat-signals.md | E-E-A-T demonstration techniques |
-| content-templates.md | Template selection and customization guide |
-| ai-crawler-guide.md | AI crawler behavior and technical requirements |
-| schema-stack.md | JSON-LD schema type reference |
-| platform-guides.md | Platform-specific formatting (MDX, Hugo, Ghost, etc.) |
-| distribution-playbook.md | Off-site distribution tactics |
-| internal-linking.md | Internal link strategy and implementation |
+Knowledge documents loaded on demand (RAG-style; not preloaded into context).
+21 references in `skills/blog/references/` cover SEO landscape, GEO/AEO,
+content rules, visual media, schema, E-E-A-T, platform guides, distribution,
+internal linking, FLOW prompts, video embeds, AI-slop detection, editorial
+heuristics, cognitive load, research quality, synthesis contract, and the
+v1.9.0 blog-delivery-contract spec.
+
+To list the current set:
+
+```bash
+ls skills/blog/references/*.md
+```
+
+The exact list is intentionally not enumerated here so this doc doesn't drift
+behind file-system reality. The `test_reference_count_coherence` pytest
+asserts the count claimed in `skills/blog/SKILL.md` matches the actual file
+count, so every documented count auto-syncs.
### 5. Content Templates (12)
@@ -143,23 +178,24 @@ Structural templates for different content types. Each template defines
section structure, word count targets, and format-specific guidance.
See [TEMPLATES.md](TEMPLATES.md) for the full reference.
-### 6. Python Analysis Script
+### 6. Root-Level Python Scripts (9)
-**File**: `scripts/analyze_blog.py`
+**Location**: `scripts/*.py`
-Standalone Python script for automated quality metrics. Runs outside Claude
-Code's context as a CLI tool. Provides:
+Standalone CLIs that the orchestrator calls via Bash. Each has argparse,
+docstring, JSON output, and stdlib-only or narrowly-pinned dependencies.
-- Frontmatter extraction
-- Heading structure analysis
-- Paragraph length measurement
-- Image and chart counting
-- Citation detection and source counting
-- FAQ section detection
-- Self-promotion pattern matching
-- 0-100 quality scoring across 6 categories
-- Batch mode for directory scanning
-- JSON, markdown, and table output formats
+| Script | Purpose | Introduced |
+|---|---|---|
+| `analyze_blog.py` | 5-category 100-point quality scoring; batch mode; JSON/markdown/table output | v1.0.0 |
+| `blog_preflight.py` | Runs 5-gate Blog Delivery Contract (Gates 1, 2, 3, 5; reads Gate 4 output) | v1.9.0 |
+| `blog_render.py` | md -> html -> pdf renderer; XSS-safe JSON-LD via `</`->`<\/`; O_NOFOLLOW symlink refusal; frontmatter validation | v1.9.0 |
+| `cognitive_load.py` | Per-section concept-density analyzer (entities, numerics, jargon, forward refs, clause depth) | v1.8.0 |
+| `discourse_research.py` | Discourse-brief synthesis from SERP JSON; depth-bounded parsing; path-traversal guards | v1.8.0 |
+| `generate_hero.py` | Hero image ladder: Banana MCP -> Gemini API -> Unsplash/Pexels/Pixabay -> Openverse | v1.9.0 |
+| `load_untrusted_root.py` | Code-enforced BRAND/VOICE/DISCOURSE fencing with CSPRNG nonces; O_NOFOLLOW + size cap | v1.8.3 |
+| `lint_prose.py` | Fence-aware prose-hygiene linter (no em-dash, en-dash, ` -- `); CI-enforced | v1.8.4 |
+| `sync_flow.py` | Pulls FLOW reference prompts from upstream; sandboxed; stdlib-only | v1.7.0 |
---
@@ -198,12 +234,20 @@ Code's context as a CLI tool. Provides:
| | - FAQ section
| +-- Returns: complete article
|
- +-- Quality verification (all 6 pillars)
+ +-- Quality verification (5 categories, 100 points)
+ |
+ +-- v1.9.0: 5-gate Blog Delivery Contract (blog_preflight.py)
+ | Gate 1 Capability Discovery -> capabilities.json
+ | Gate 2 Format Completeness -> .md + .html + .pdf + hero.<ext>
+ | Gate 3 Visual Verification -> patchright/playwright 3 viewports
+ | Gate 4 Content Review -> blog-reviewer agent (BLOCKING)
+ | Gate 5 Asset + Link -> imgs, links, schema, wordCount
+ | If any gate BLOCKS: iterate up to 3x then escalate to user
|
+-- Writes file to user's project
|
v
- Delivery summary
+ Delivery summary (8 artifacts: md, html, pdf, hero, 4 viewport screenshots, review.md, preflight-report.json)
```
### Analyze Flow
@@ -222,7 +266,7 @@ Code's context as a CLI tool. Provides:
| |
| +-- Returns: JSON metrics
|
- +-- Manual scoring (6 categories, 100 points)
+ +-- Manual scoring (5 categories, 100 points)
|
+-- Generates prioritized recommendations
|
@@ -277,10 +321,15 @@ AI Citation (15 pts) ###############---------------
| 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 |
+| 90-100 | Exceptional | Publish as-is (v1.9.0 contract delivers GREEN) |
+| 80-89 | Strong | Minor tweaks; orchestrator iterates if Gate 4 wants 90+ |
+| 70-79 | Acceptable | Notable gaps; iterate |
+| 60-69 | Below Standard | Significant improvements required |
+| < 60 | Rewrite | Full rewrite recommended |
+
+The v1.9.0 Blog Delivery Contract Gate 4 BLOCKS on score < 90 OR any P0 issue
+from `editorial-heuristics.md`. The orchestrator iterates the writer up to 3
+times before escalating with a diagnostic to the user.
### Quality Gates (Hard Rules)
@@ -438,15 +487,20 @@ After installation, `claude-blog` occupies this structure inside `~/.claude/`:
└── blog-translator.md # v1.7.0
```
-**Component counts (v1.8.5)**: 1 orchestrator + 29 sub-skills = 30 skill dirs
+**Component counts (v1.9.0)**: 1 orchestrator + 29 sub-skills = 30 skill dirs
total, 5 agents (blog-researcher, blog-writer, blog-seo, blog-reviewer,
blog-translator), 21 references in `skills/blog/references/` (plus per-sub-skill
references and 30 synced FLOW prompts under `skills/blog-flow/references/`),
-12 content templates, 6 root-level scripts (`scripts/analyze_blog.py`,
-`cognitive_load.py`, `discourse_research.py`, `load_untrusted_root.py`,
+12 content templates, 9 root-level scripts (`scripts/analyze_blog.py`,
+`blog_preflight.py`, `blog_render.py`, `cognitive_load.py`,
+`discourse_research.py`, `generate_hero.py`, `load_untrusted_root.py`,
`lint_prose.py`, `sync_flow.py`) plus per-sub-skill scripts under
`blog-google/`, `blog-notebooklm/`, `blog-audio/`, `blog-image/`.
v1.8.0+ adds three project-root context files (BRAND.md / VOICE.md /
DISCOURSE.md, auto-loaded via `scripts/load_untrusted_root.py` with
CSPRNG nonce fencing). v1.8.4+ enforces prose hygiene and version
coherence via CI (see `scripts/lint_prose.py`, `tests/test_version_coherence.py`).
+v1.9.0 adds the 5-gate Blog Delivery Contract (see
+`skills/blog/references/blog-delivery-contract.md`) and 160-test pytest
+suite including mutation-test-verified XSS, symlink, and frontmatter
+regression coverage.
diff --git a/docs/INSTALLATION.md b/docs/INSTALLATION.md
index 5444b7d..c70aa8a 100644
--- a/docs/INSTALLATION.md
+++ b/docs/INSTALLATION.md
@@ -8,7 +8,7 @@ ecosystem for blog content creation, optimization, and management.
| Requirement | Version | Purpose |
|-------------|---------|---------|
| [Claude Code CLI](https://docs.anthropic.com/en/docs/claude-code) | Latest | Runtime for all `/blog` commands |
-| Python | 3.11+ | Quality analysis script (`analyze_blog.py`) |
+| Python | 3.11+ | Quality scoring + 5-gate delivery contract runners (analyze_blog, blog_preflight, blog_render, generate_hero, lint_prose, ...) |
| pip | Latest | Python dependency management |
Claude Code must be installed and configured before installing `claude-blog`.
@@ -224,7 +224,7 @@ ls ~/.claude/skills/blog-*/SKILL.md | wc -l
# Agents (should list 5: blog-researcher, blog-writer, blog-seo, blog-reviewer, blog-translator)
ls ~/.claude/agents/blog-*.md | wc -l
-# References (should list 5+)
+# References (should list 21 .md files)
ls ~/.claude/skills/blog/references/*.md | wc -l
# Python script
@@ -304,16 +304,21 @@ This removes:
- `~/.claude/skills/blog/` (main skill, references, templates, scripts)
- `~/.claude/skills/blog-*/` (all 29 sub-skills: write, rewrite, analyze, brief, calendar, strategy, outline, seo-check, schema, repurpose, geo, audit, chart [internal], image, cannibalization, factcheck, persona, taxonomy, notebooklm, audio, google, cluster, flow, multilingual, translate, localize, locale-audit, brand, discourse)
-- `~/.claude/scripts/` (6 root-level scripts: analyze_blog, cognitive_load, discourse_research, load_untrusted_root, lint_prose, sync_flow)
-- `~/.claude/agents/blog-*.md` (all 5 agents)
-- `~/.claude/scripts/sync_flow.py` (FLOW reference sync script)
+- `~/.claude/scripts/` (9 root-level scripts: analyze_blog, blog_preflight, blog_render, cognitive_load, discourse_research, generate_hero, load_untrusted_root, lint_prose, sync_flow)
+- `~/.claude/agents/blog-*.md` (all 5 agents: blog-researcher, blog-writer, blog-seo, blog-reviewer, blog-translator)
### Manual Uninstall
```bash
+# Main skill + all sub-skills (auto-discovers blog-* via glob)
rm -rf ~/.claude/skills/blog
-rm -rf ~/.claude/skills/blog-{write,rewrite,analyze,brief,calendar,strategy,outline,seo-check,schema,repurpose,geo,audit,chart,image}
-rm -f ~/.claude/agents/blog-{researcher,writer,seo,reviewer}.md
+rm -rf ~/.claude/skills/blog-*
+
+# All 5 agents
+rm -f ~/.claude/agents/blog-{researcher,writer,seo,reviewer,translator}.md
+
+# All 9 root-level scripts (only if no other plugin uses ~/.claude/scripts/)
+rm -f ~/.claude/scripts/{analyze_blog,blog_preflight,blog_render,cognitive_load,discourse_research,generate_hero,load_untrusted_root,lint_prose,sync_flow}.py
```
### Clean Up Python Dependencies (Optional)