Blog Audit: Full-Site Health Assessment

Full-site blog health assessment scanning all blog files for quality scores, orphan pages, topic cannibalization, stale content, and AI citation readiness.

How to use it

  1. Hit Copy SKILL.md — or use the Claude Code line below to get every file.
  2. Claude: ⋯ → Download .md, then Customize → Skills → Add → Upload skill.
    ChatGPT: make a Project and paste it into Instructions.
    Neither? Paste it at the top of a new chat — it works for that chat.
  3. Describe your job in plain words. The AI follows the skill from there.
Claude Code — installs the whole folder, not just SKILL.md
npx degit AgriciDaniel/claude-blog/skills/blog-audit#main ~/.claude/skills/blog-audit-2

For one project only, change the path to .claude/skills/blog-audit-2. This skill also uses robots.txt, llms.txt, post-a.md, post-b.md, post-c.md — copying SKILL.md alone won't be enough. See the folder on GitHub.

Not working?
  • Check which app you pasted it into — the steps above name the right one.
  • Some skills need the paid tier of Claude or ChatGPT.
Step-by-step guide with screenshots · Ask in the forum

Paste into Claude, ChatGPT or Cursor.

Show the full text255 lines
blog-audit-2/SKILL.md255 lines9.5 KBpushed 60d agoRawView on GitHub

Blog Audit: Full-Site Health Assessment

Performs a comprehensive blog health assessment across all posts in the project. Scans for quality scores, orphan pages, topic cannibalization, stale content, and AI citation readiness. Uses the canonical analyzer JSON as the score source and produces a prioritized action queue.

Audit Process

Step 1: Discover Blog Files

Scan the project for all blog content files:

  • Recursively glob for .md, .mdx, .html, .astro, .svelte, .vue, .tsx, and .jsx in common blog directories and CMS export folders
  • Common paths to check:
    • content/
    • posts/
    • blog/
    • src/content/
    • _posts/
    • pages/blog/
    • articles/
    • content/blog/**
    • CMS export folders explicitly provided by the user
    • src/pages/blog/
  • Filter out hidden, vendor, generated, and secret-adjacent paths: .git/, dot-directories, node_modules/, vendor/, dist/, build/, .next/, coverage/, reports/, generated exports, README, CHANGELOG, LICENSE, config files, SKILL.md, package files, .env*, keys, and private notes
  • Report: "Found N blog files in [directories]"

If no blog files are found in standard locations, ask for an allow-listed root or only search user-approved content directories. Do not scan the entire project root by default.

Step 2: Canonical Batch Analysis

Run canonical analyzer output first and use it as the source of per-post scores:

python3 scripts/analyze_blog.py <blog-root> --batch --format json

Process files in chunks, cap parallel follow-up work to a small fixed number, respect context limits, and aggregate deterministic JSON with file, score, categories, issues, and metadata. Layer the site-wide checks below on top of analyzer JSON, not separate scoring rubrics.

Content Quality Layer

  • Score each post on the 30-point content quality scale
  • Review paragraph and sentence pacing in context; lengths are descriptive, not universal pass/fail thresholds
  • Evaluate heading structure and question-format headings
  • Assess readability using persona and content type: consumer content favors easier bands, professional content can be moderate, and technical content may be denser when clarity remains high

SEO Optimization Layer

  • Check on-page SEO elements per post:
    • Title tag length (40-60 acceptable, 50-60 ideal, preview warning only)
    • Meta description is concise and page-specific. Statistics are optional and must be visible and sourced
    • H1 presence and uniqueness
    • Image alt text coverage
    • Internal and external link counts
    • URL slug quality

Schema Validation Layer

  • Detect structured data across all posts
  • Validate Article/BlogPosting, Person, Organization, and BreadcrumbList schema completeness
  • If FAQPage exists, validate it as optional entity markup only, not a Google rich result
  • Normalize dateModified, lastUpdated, updated, and lastmod, including timezone-normalized generated schema, then require freshness parity
  • Flag missing or malformed schema

Link Health Layer

  • Map internal links across all posts
  • Build a directed link graph
  • Detect orphan pages (zero inbound internal links)
  • Detect dead-end pages (zero outbound internal links)
  • Check for broken internal link targets
  • Recommend bidirectional link opportunities

Freshness Check Layer

  • Read lastUpdated or dateModified from each post's frontmatter
  • Calculate days since last update
  • Flag freshness by content type, source or statistic age, and GSC decay, not by a universal day count
  • Categorize by refresh priority

AI Readiness Layer

  • Score each post for AI citation readiness
  • Check whether important sections are self-contained and evidence-backed
  • Evaluate purpose fit and entity clarity; question headings and FAQs are optional
  • Check whether summaries and structured formats help the intended reader
  • Check robots.txt, llms.txt, SSR/SSG output, JS-gated content, blocked assets, GPTBot, ClaudeBot, PerplexityBot, Googlebot, and Google-Extended policies

Step 2.5: Technical Crawl and Search Performance

Add site-wide technical checks before final recommendations:

  • Validate sitemap coverage, robots.txt, noindex directives, canonical tags, redirects, HTTP status codes, hreflang, and internal canonical consistency
  • Use blog-google when available for Core Web Vitals, GSC queries, URL Inspection, indexing status, and GA4 context
  • Report skipped optional checks with reasons such as SKIPPED: credentials unavailable

Step 3: Topic Cannibalization Detection

Analyze across all posts for keyword competition:

  1. Extract primary keyword/topic from each post:
    • Title text
    • H1 heading
    • Meta description
    • First paragraph
  2. Normalize keywords with stopword handling, lemmatization, locale awareness, and intent modifiers
  3. Cluster by intent using analyzer data, embeddings or explicit confidence, GSC query-to-URL data when available, and SERP overlap where available
  4. Flag competing posts with one of these recommendations:
    • Merge: Combine two weak posts into one strong post
    • Redirect: 301 redirect the weaker post to the stronger one after preserving backlinks, validating a redirect map, and updating internal links
    • Differentiate: Adjust focus so posts target distinct intents

Step 4: Orphan Page Detection

Build and analyze the internal link graph:

  1. Normalize URLs against site config and sitemap, including relative links, same-domain absolutes, trailing slashes, generated routes, anchors, and slug mappings
  2. Build an adjacency map: { page -> [pages it links to] }
  3. Build a reverse map: { page -> [pages linking to it] }
  4. Identify orphan pages: posts with zero inbound internal links
  5. Identify dead-end pages: posts with zero outbound internal links
  6. For each orphan, recommend 2-3 existing posts that should link to it based on topic relevance

Step 5: Stale Content Detection

Audit content freshness across all posts:

  1. Read frontmatter fields: lastUpdated, dateModified, date, updated
  2. Calculate days since last update for each post
  3. Categorize by refresh priority:
    • High: Volatile topic, stale sources or statistics, or GSC decay
    • Medium: Evergreen topic with aging examples, links, or screenshots
    • Low: Recently validated or stable reference content
  4. Estimate refresh effort per post:
    • Light refresh: Update statistics, check links (1-2 hours)
    • Moderate refresh: Rewrite sections, add new data (3-4 hours)
    • Heavy refresh: Full rewrite recommended (5+ hours)

Step 6: Generate Site-Wide Report

Aggregate all results into a comprehensive report:

Summary Dashboard

## Blog Audit Report

**Audit Date:** [date]
**Total Posts:** N
**Average Score:** XX/100

### Health Overview
| Metric | Count |
|--------|-------|
| Posts Scoring 90+ (Excellent) | N |
| Posts Scoring 70-89 (Good) | N |
| Posts Scoring 50-69 (Needs Work) | N |
| Posts Scoring <50 (Poor) | N |
| Orphan Pages | N |
| Dead-End Pages | N |
| Cannibalization Issues | N |
| Stale or Decaying Content | N |

Per-Post Table

### Per-Post Scores
| Post | Score | Content | SEO | E-E-A-T | Technical | AI Citation | Issues |
|------|-------|---------|-----|---------|-----------|-------------|--------|
| [filename] | XX/100 | X/30 | X/25 | X/15 | X/15 | X/15 | [count] |

Prioritized Action Queue

### Prioritized Action Queue (Lowest Score First)
| Priority | Post | Score | Top Issue | Recommended Action |
|----------|------|-------|-----------|--------------------|
| 1 | [file] | XX | [issue] | [action] |
| 2 | [file] | XX | [issue] | [action] |

Cannibalization Report

### Topic Cannibalization
| Keyword | Competing Posts | Recommendation |
|---------|----------------|----------------|
| [keyword] | post-a.md, post-b.md | Merge / Redirect / Differentiate |

Orphan Pages

### Orphan Pages (No Inbound Links)
| Page | Inbound Links | Recommended Link Sources |
|------|---------------|--------------------------|
| [file] | 0 | post-a.md, post-b.md, post-c.md |

Stale Content

### Stale Content
| Post | Last Updated | Days Stale | Priority | Refresh Effort |
|------|-------------|------------|----------|----------------|
| [file] | [date] | [N] | High/Med/Low | Light/Moderate/Heavy |

Step 7: Save Report

Save timestamped Markdown and JSON exports under reports/, for example reports/blog-audit-YYYY-MM-DD.md and reports/blog-audit-YYYY-MM-DD.json. Do not overwrite a previous audit report.

After saving, inform the user:

  • Report locations: [project-root]/reports/blog-audit-YYYY-MM-DD.md and [project-root]/reports/blog-audit-YYYY-MM-DD.json
  • Summary of findings (total posts, average score, critical issues count)
  • Suggest running /blog analyze <file> on the lowest-scoring post first
  • Suggest running /blog flow optimize for AI-citation SEO checks on key posts

Cross-reference

For evidence-led audit prompts beyond this site-wide health pass, see /blog flow optimize (visibility, CTR, schema, extraction audits) and /blog flow win (dual-surface scorecard, conversion audit).

1---
2name: blog-audit
3description: >
4 Full-site blog health assessment scanning all blog files for quality scores,
5 orphan pages, topic cannibalization, stale content, and AI citation readiness.
6 Runs canonical batch analysis before site-wide checks. Produces per-post scores
7 and a prioritized action queue. Use when user says "audit blog", "blog audit",
8 "site audit", "blog health", "audit all posts", "check all blogs".
9user-invokable: true
10argument-hint: "[directory]"
11license: MIT
12---
13 
14# Blog Audit: Full-Site Health Assessment
15 
16Performs a comprehensive blog health assessment across all posts in the project.
17Scans for quality scores, orphan pages, topic cannibalization, stale content,
18and AI citation readiness. Uses the canonical analyzer JSON as the score source
19and produces a prioritized action queue.
20 
21## Audit Process
22 
23### Step 1: Discover Blog Files
24 
25Scan the project for all blog content files:
26 
27- Recursively glob for `.md`, `.mdx`, `.html`, `.astro`, `.svelte`, `.vue`,
28 `.tsx`, and `.jsx` in common blog directories and CMS export folders
29- Common paths to check:
30 - `content/`
31 - `posts/`
32 - `blog/`
33 - `src/content/`
34 - `_posts/`
35 - `pages/blog/`
36 - `articles/`
37 - `content/blog/**`
38 - CMS export folders explicitly provided by the user
39 - `src/pages/blog/`
40- Filter out hidden, vendor, generated, and secret-adjacent paths: `.git/`,
41 dot-directories, `node_modules/`, `vendor/`, `dist/`, `build/`, `.next/`,
42 `coverage/`, `reports/`, generated exports, README, CHANGELOG, LICENSE,
43 config files, SKILL.md, package files, `.env*`, keys, and private notes
44- Report: "Found N blog files in [directories]"
45 
46If no blog files are found in standard locations, ask for an allow-listed root
47or only search user-approved content directories. Do not scan the entire project
48root by default.
49 
50### Step 2: Canonical Batch Analysis
51 
52Run canonical analyzer output first and use it as the source of per-post scores:
53 
54```bash
55python3 scripts/analyze_blog.py <blog-root> --batch --format json
56```
57 
58Process files in chunks, cap parallel follow-up work to a small fixed number,
59respect context limits, and aggregate deterministic JSON with `file`, `score`,
60`categories`, `issues`, and `metadata`. Layer the site-wide checks below on top
61of analyzer JSON, not separate scoring rubrics.
62 
63#### Content Quality Layer
64- Score each post on the 30-point content quality scale
65- Review paragraph and sentence pacing in context; lengths are descriptive,
66 not universal pass/fail thresholds
67- Evaluate heading structure and question-format headings
68- Assess readability using persona and content type: consumer content favors
69 easier bands, professional content can be moderate, and technical content may
70 be denser when clarity remains high
71 
72#### SEO Optimization Layer
73- Check on-page SEO elements per post:
74 - Title tag length (40-60 acceptable, 50-60 ideal, preview warning only)
75 - Meta description is concise and page-specific. Statistics are optional and
76 must be visible and sourced
77 - H1 presence and uniqueness
78 - Image alt text coverage
79 - Internal and external link counts
80 - URL slug quality
81 
82#### Schema Validation Layer
83- Detect structured data across all posts
84- Validate Article/BlogPosting, Person, Organization, and BreadcrumbList schema completeness
85- If FAQPage exists, validate it as optional entity markup only, not a Google rich result
86- Normalize `dateModified`, `lastUpdated`, `updated`, and `lastmod`, including
87 timezone-normalized generated schema, then require freshness parity
88- Flag missing or malformed schema
89 
90#### Link Health Layer
91- Map internal links across all posts
92- Build a directed link graph
93- Detect orphan pages (zero inbound internal links)
94- Detect dead-end pages (zero outbound internal links)
95- Check for broken internal link targets
96- Recommend bidirectional link opportunities
97 
98#### Freshness Check Layer
99- Read lastUpdated or dateModified from each post's frontmatter
100- Calculate days since last update
101- Flag freshness by content type, source or statistic age, and GSC decay, not by
102 a universal day count
103- Categorize by refresh priority
104 
105#### AI Readiness Layer
106- Score each post for AI citation readiness
107- Check whether important sections are self-contained and evidence-backed
108- Evaluate purpose fit and entity clarity; question headings and FAQs are optional
109- Check whether summaries and structured formats help the intended reader
110- Check robots.txt, llms.txt, SSR/SSG output, JS-gated content, blocked assets,
111 GPTBot, ClaudeBot, PerplexityBot, Googlebot, and Google-Extended policies
112 
113### Step 2.5: Technical Crawl and Search Performance
114 
115Add site-wide technical checks before final recommendations:
116 
117- Validate sitemap coverage, robots.txt, noindex directives, canonical tags,
118 redirects, HTTP status codes, hreflang, and internal canonical consistency
119- Use `blog-google` when available for Core Web Vitals, GSC queries, URL
120 Inspection, indexing status, and GA4 context
121- Report skipped optional checks with reasons such as
122 `SKIPPED: credentials unavailable`
123 
124### Step 3: Topic Cannibalization Detection
125 
126Analyze across all posts for keyword competition:
127 
1281. Extract primary keyword/topic from each post:
129 - Title text
130 - H1 heading
131 - Meta description
132 - First paragraph
1332. Normalize keywords with stopword handling, lemmatization, locale awareness,
134 and intent modifiers
1353. Cluster by intent using analyzer data, embeddings or explicit confidence,
136 GSC query-to-URL data when available, and SERP overlap where available
1374. Flag competing posts with one of these recommendations:
138 - **Merge**: Combine two weak posts into one strong post
139 - **Redirect**: 301 redirect the weaker post to the stronger one after
140 preserving backlinks, validating a redirect map, and updating internal
141 links
142 - **Differentiate**: Adjust focus so posts target distinct intents
143 
144### Step 4: Orphan Page Detection
145 
146Build and analyze the internal link graph:
147 
1481. Normalize URLs against site config and sitemap, including relative links,
149 same-domain absolutes, trailing slashes, generated routes, anchors, and slug
150 mappings
1512. Build an adjacency map: `{ page -> [pages it links to] }`
1523. Build a reverse map: `{ page -> [pages linking to it] }`
1534. Identify orphan pages: posts with zero inbound internal links
1545. Identify dead-end pages: posts with zero outbound internal links
1556. For each orphan, recommend 2-3 existing posts that should link to it
156 based on topic relevance
157 
158### Step 5: Stale Content Detection
159 
160Audit content freshness across all posts:
161 
1621. Read frontmatter fields: `lastUpdated`, `dateModified`, `date`, `updated`
1632. Calculate days since last update for each post
1643. Categorize by refresh priority:
165 - **High**: Volatile topic, stale sources or statistics, or GSC decay
166 - **Medium**: Evergreen topic with aging examples, links, or screenshots
167 - **Low**: Recently validated or stable reference content
1684. Estimate refresh effort per post:
169 - Light refresh: Update statistics, check links (1-2 hours)
170 - Moderate refresh: Rewrite sections, add new data (3-4 hours)
171 - Heavy refresh: Full rewrite recommended (5+ hours)
172 
173### Step 6: Generate Site-Wide Report
174 
175Aggregate all results into a comprehensive report:
176 
177#### Summary Dashboard
178```
179## Blog Audit Report
180 
181**Audit Date:** [date]
182**Total Posts:** N
183**Average Score:** XX/100
184 
185### Health Overview
186| Metric | Count |
187|--------|-------|
188| Posts Scoring 90+ (Excellent) | N |
189| Posts Scoring 70-89 (Good) | N |
190| Posts Scoring 50-69 (Needs Work) | N |
191| Posts Scoring <50 (Poor) | N |
192| Orphan Pages | N |
193| Dead-End Pages | N |
194| Cannibalization Issues | N |
195| Stale or Decaying Content | N |
196```
197 
198#### Per-Post Table
199```
200### Per-Post Scores
201| Post | Score | Content | SEO | E-E-A-T | Technical | AI Citation | Issues |
202|------|-------|---------|-----|---------|-----------|-------------|--------|
203| [filename] | XX/100 | X/30 | X/25 | X/15 | X/15 | X/15 | [count] |
204```
205 
206#### Prioritized Action Queue
207```
208### Prioritized Action Queue (Lowest Score First)
209| Priority | Post | Score | Top Issue | Recommended Action |
210|----------|------|-------|-----------|--------------------|
211| 1 | [file] | XX | [issue] | [action] |
212| 2 | [file] | XX | [issue] | [action] |
213```
214 
215#### Cannibalization Report
216```
217### Topic Cannibalization
218| Keyword | Competing Posts | Recommendation |
219|---------|----------------|----------------|
220| [keyword] | post-a.md, post-b.md | Merge / Redirect / Differentiate |
221```
222 
223#### Orphan Pages
224```
225### Orphan Pages (No Inbound Links)
226| Page | Inbound Links | Recommended Link Sources |
227|------|---------------|--------------------------|
228| [file] | 0 | post-a.md, post-b.md, post-c.md |
229```
230 
231#### Stale Content
232```
233### Stale Content
234| Post | Last Updated | Days Stale | Priority | Refresh Effort |
235|------|-------------|------------|----------|----------------|
236| [file] | [date] | [N] | High/Med/Low | Light/Moderate/Heavy |
237```
238 
239### Step 7: Save Report
240 
241Save timestamped Markdown and JSON exports under `reports/`, for example
242`reports/blog-audit-YYYY-MM-DD.md` and `reports/blog-audit-YYYY-MM-DD.json`.
243Do not overwrite a previous audit report.
244 
245After saving, inform the user:
246- Report locations: `[project-root]/reports/blog-audit-YYYY-MM-DD.md` and
247 `[project-root]/reports/blog-audit-YYYY-MM-DD.json`
248- Summary of findings (total posts, average score, critical issues count)
249- Suggest running `/blog analyze <file>` on the lowest-scoring post first
250- Suggest running `/blog flow optimize` for AI-citation SEO checks on key posts
251 
252## Cross-reference
253 
254For evidence-led audit prompts beyond this site-wide health pass, see `/blog flow optimize` (visibility, CTR, schema, extraction audits) and `/blog flow win` (dual-surface scorecard, conversion audit).
255 

Discussion

Alternatives

Also in Blog & articles