git clone https://github.com/AgriciDaniel/claude-blog.git--- name: blog-audit description: > Full-site blog health assessment scanning all blog files for quality scores, orphan pages, topic cannibalization, stale content, and AI citation readiness. Spawns parallel subagents for comprehensive analysis. Produces per-post scores and a prioritized action queue. Use when user says "audit blog", "blog audit", "site audit", "blog health", "audit all posts", "check all blogs". user-invokable: true argument-hint: "[directory]" license: MIT --- # 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 parallel subagents for efficient analysis and produces a prioritized action queue. ## Audit Process ### Step 1: Discover Blog Files Scan the project for all blog content files: - Glob for `*.md`, `*.mdx`, `*.html` in common blog directories - Common paths to check: - `content/` - `posts/` - `blog/` - `src/content/` - `_posts/` - `pages/blog/` - `articles/` - `src/pages/blog/` - Filter out non-blog files: README, CHANGELOG, LICENSE, config files, SKILL.md, package.json, node_modules - Report: "Found N blog files in [directories]" If no blog files are found in standard locations, search the entire project root for markdown files with blog-like frontmatter (title, date, description). ### Step 2: Parallel Analysis Spawn subagents via the Task tool for parallel processing across all discovered blog files: #### Content Quality Agent - Score each post on the 30-point content quality scale - Check paragraph length (target 40-80 words, hard limit 150) - Check sentence length (target 15-20 words) - Evaluate heading structure and question-format headings - Assess readability (Flesch Reading Ease 60-70 target) #### SEO Optimization Agent - Check on-page SEO elements per post: - Title tag length (50-60 chars) - Meta description (150-160 chars, includes statistic) - H1 presence and uniqueness - Image alt text coverage - Internal and external link counts - URL slug quality #### Schema Validation Agent - Detect structured data across all posts - Validate BlogPosting schema completeness - Check FAQ schema presence and format - Verify dateModified matches lastUpdated frontmatter - Flag missing or malformed schema #### Link Health Agent - 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 Agent - Read lastUpdated or dateModified from each post's frontmatter - Calculate days since last update - Flag posts not updated in 90+ days - Categorize by refresh priority #### AI Readiness Agent - Score each post for AI citation readiness - Check passage-level citability (120-180 word sections) - Evaluate Q&A formatting and entity clarity - Check for TL;DR boxes and citation capsules - Assess AI crawler accessibility ### 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 (lowercase, remove stop words) 3. Detect multiple posts targeting the same primary keyword 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 - **Differentiate**: Adjust focus so posts target distinct intents ### Step 4: Orphan Page Detection Build and analyze the internal link graph: 1. For each blog post, extract all internal links (relative and absolute) 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** (>180 days): Likely outdated, statistics may be stale - **Medium** (90-180 days): Review for accuracy, update statistics - **Low** (<90 days): Recently updated, no immediate action 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 Content (90+ days) | N | ``` #### Per-Post Table ``` ### Per-Post Scores | Post | Score | Content | SEO | E-E-A-T | Technical | AI Citation | Issues | |------|-------|---------|-----|---------|-----------|-------------|--------| | [filename] | XX/100 | X/25 | X/20 | X/20 | X/15 | X/20 | [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 the complete report to `blog-audit-report.md` in the project root. After saving, inform the user: - Report location: `[project-root]/blog-audit-report.md` - Summary of findings (total posts, average score, critical issues count) - Suggest running `/blog analyze <file>` on the lowest-scoring post first - Suggest running `/blog geo <file>` for AI citation optimization 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. **Gather Data:** Export your blog’s Google Search Console data for the last 6 months and note your top 10 performing posts. If you don’t use WordPress, identify your CMS/platform and note any SEO plugins available. 2. **Run a Crawl:** Use a tool like Screaming Frog (free for up to 500 URLs) or Sitebulb to identify technical SEO issues (broken links, missing alt text, etc.). For non-technical users, tools like SEMrush or Ahrefs offer automated audits. 3. **Analyze Content:** Compare your top posts to the top 3 ranking competitors for your primary keyword. Look for gaps in depth, recency, or structure. Use Google’s 'People Also Ask' and 'Related Searches' to identify subtopics to include. 4. **Prioritize:** Sort issues by impact (traffic potential) and effort. Start with high-impact, low-effort fixes like adding meta descriptions or fixing broken links. Save major content overhauls for later. 5. **Implement & Monitor:** Use a spreadsheet to track progress. After making changes, monitor Google Search Console for improvements in impressions and clicks over 4-6 weeks. Re-audit quarterly or after major algorithm updates. **Tips:** - For WordPress users, plugins like Yoast SEO or Rank Math can flag many SEO issues in real-time. - If you lack technical access, focus on content gaps and on-page SEO first. - Use Google’s Mobile-Friendly Test to check usability issues on mobile devices.
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/AgriciDaniel/claude-blog/tree/main/skills/blog-auditCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Conduct a comprehensive SEO and content audit for the blog '[BLOG_NAME]' hosted on [PLATFORM: e.g., WordPress, Medium, Substack]. Focus on: (1) On-page SEO issues like missing meta descriptions, broken links, or keyword cannibalization for the target keyword '[PRIMARY_KEYWORD]'; (2) Content quality gaps such as thin content, outdated information, or lack of depth compared to top-ranking competitors; (3) Technical SEO issues like slow page load times, mobile usability, or crawl errors. Provide a prioritized action plan with specific recommendations for each identified issue, including estimated effort (low/medium/high) and expected impact on organic traffic. Use the latest Google Search Console data for [WEBSITE_URL] and analyze the top 10 performing posts in the last 6 months.
### Blog Audit for 'GreenLivingTips.com' (WordPress, hosted on SiteGround) **Executive Summary:** Your blog ranks for 124 keywords but has significant SEO gaps that are likely suppressing organic traffic by ~35%. The top 10 posts drive 68% of traffic, but 4 of them have outdated information (last updated in 2021) and suffer from keyword cannibalization with newer posts. Technical issues include 18 broken internal links, 7 pages with slow load times (>3s), and missing alt text on 42% of images. **Top 5 Priority Issues:** 1. **Keyword Cannibalization:** Posts like 'DIY Natural Cleaners' (2020) and 'Eco-Friendly Cleaning Hacks' (2023) compete for the same intent. Recommend merging them into a single, updated pillar post with internal links to related guides. 2. **Outdated Content:** 'Guide to Zero-Waste Grocery Shopping' (ranked #12 for 'zero waste grocery') hasn't been updated since 2021. Add 2024 statistics on reusable packaging adoption and update product recommendations to reflect current availability. 3. **Technical SEO:** The 'Composting 101' page loads in 4.2s due to unoptimized images. Compress images using ShortPixel and implement lazy loading. Expected impact: +12% page speed score. 4. **Missing Meta Descriptions:** 63% of posts lack meta descriptions, including high-traffic posts like 'How to Start a Compost Bin.' Add compelling descriptions (150-160 chars) with primary keywords. 5. **Broken Links:** 18 internal links point to 404 errors, including links from your most-shared post, '10 Easy Swaps for Plastic-Free Living.' Update links to active pages or redirect to relevant content. **Action Plan:** | Task | Effort | Impact | Deadline | |------|--------|--------|----------| | Merge cannibalized posts | High | High | 2 weeks | | Update 'Zero-Waste Grocery' post | Medium | High | 1 week | | Optimize images on 'Composting 101' | Low | Medium | 3 days | | Add meta descriptions to top 20 posts | Medium | Medium | 1 week | | Fix broken links (prioritize top posts) | Low | High | 2 days | **Expected Results:** Fixing these issues could increase organic traffic by 25-40% within 3 months, based on similar audits for eco-lifestyle blogs. Focus on high-impact, low-effort tasks first to see quick wins. **Tools Used:** Google Search Console, Screaming Frog (for crawl data), PageSpeed Insights, and Ahrefs (for competitor analysis).
skills-collection
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan