Skills for Claude Code CLI such as full stack dev Cloudflare, React, Tailwind v4, and AI integrations.
Python aianthropicautomationclaude-codeclaude-skillscloudflaredevtoolsproductivityreactskillstailwindvite
feat(seo): add SEO plugin — audit, report, and monitor skills
Jez97b468d351be
diff --git a/plugins/seo/commands/seo-audit.md b/plugins/seo/commands/seo-audit.mdnew file mode 100644index 00000000..5a3eb9f8--- /dev/null+++ b/plugins/seo/commands/seo-audit.md@@ -0,0 +1,9 @@+---+description: Run a full SEO audit on a website+argument-hint: "<domain>"+allowed-tools: "*"+---++Load the `seo-audit` skill and run a full SEO audit on `$ARGUMENTS`.++If no domain provided, ask the user which site to audit.diff --git a/plugins/seo/commands/seo-monitor.md b/plugins/seo/commands/seo-monitor.mdnew file mode 100644index 00000000..29a17514--- /dev/null+++ b/plugins/seo/commands/seo-monitor.md@@ -0,0 +1,6 @@+---+description: Batch monitor SEO health across all active client sites+allowed-tools: "*"+---++Load the `seo-monitor` skill and run a batch SEO health check across all active sites.diff --git a/plugins/seo/commands/seo-report.md b/plugins/seo/commands/seo-report.mdnew file mode 100644index 00000000..53379e8c--- /dev/null+++ b/plugins/seo/commands/seo-report.md@@ -0,0 +1,9 @@+---+description: Generate a client-facing SEO report+argument-hint: "<domain>"+allowed-tools: "*"+---++Load the `seo-report` skill and generate a professional SEO report for `$ARGUMENTS`.++If no domain provided, ask the user which site to generate a report for.diff --git a/plugins/seo/skills/seo-audit/SKILL.md b/plugins/seo/skills/seo-audit/SKILL.mdnew file mode 100644index 00000000..7539caca--- /dev/null+++ b/plugins/seo/skills/seo-audit/SKILL.md@@ -0,0 +1,172 @@+---+name: seo-audit+description: "Run a full SEO audit on a website. Crawls the site, analyses technical SEO issues, compares with previous crawls, and generates an actionable report. Trigger with 'seo audit', 'audit seo', 'check seo', 'crawl site', or 'seo health check'."+compatibility: claude-code-only+---++# SEO Audit++Run a comprehensive technical SEO audit on a website using Whispering Wombat crawler and Jezweb Brain for client context.++## Required MCP Tools++- **Whispering Wombat**: `whispering_crawls`, `whispering_pages`, `whispering_issues`, `whispering_links`, `whispering_content`+- **Brain** (optional): `brain_site_get`, `brain_issues`++If Whispering Wombat MCP is not connected, inform the user and stop.++## Input++`$ARGUMENTS` should be a domain name or URL (e.g., `abpsychology.au` or `https://www.greenplanetplumbing.com.au`).++If no argument provided, ask the user which site to audit.++## Workflow++### Step 1: Resolve Domain and Get Context++Extract the domain from the input URL. Then:++1. **Brain lookup** (if available): `brain_site_get { domain }` — get client name, platform, previous issues, hosting+2. Note if it's a WordPress site (affects later steps)++### Step 2: Check for Recent Crawl++`whispering_crawls list` — look for a completed crawl of this domain within the last 24 hours.++- If recent crawl exists: reuse it (note the crawl_id)+- If no recent crawl: proceed to Step 3++### Step 3: Start New Crawl++```+whispering_crawls start {+ url: "https://{domain}",+ max_pages: 500,+ respect_robots: true+}+```++Then poll for completion:+```+whispering_crawls get { crawl_id: "..." }+```++Poll every 15 seconds. Typical times: 50 pages ~30s, 200 pages ~2min, 500 pages ~5min.++While waiting, inform the user: "Crawling {domain}... {pages_crawled}/{pages_found} pages"++### Step 4: Gather Analysis Data++Once crawl is complete, gather data in parallel where possible:++1. `whispering_issues overview` — SEO scores, status codes, security, response times+2. `whispering_issues summary` — all issue types with counts+3. `whispering_links stats` — follow/nofollow/broken/empty+4. `whispering_content sitemaps` — sitemap validation+5. `whispering_content structure` — URL tree and depth distribution++### Step 5: Deep Dive on Issues++Based on issues found, gather additional detail:++- If broken links > 0: `whispering_links domains` for external link analysis+- If duplicate content detected: `whispering_content duplicates`+- If WordPress: `whispering_content wordpress`+- If security issues: `whispering_content security`+- For top-traffic pages: `whispering_content pagespeed { url }` (max 3 pages)++### Step 6: Compare with Previous Crawl++`whispering_crawls history { crawl_id }` — get previous crawls.++If a previous completed crawl exists:+```+whispering_crawls compare {+ crawl_id: current_id,+ other_id: previous_id+}+```++Highlight: new issues, resolved issues, pages added/removed.++### Step 7: Generate Report++Output the report in this structure:++```markdown+# SEO Audit: {domain}+**Date**: {date} | **Pages crawled**: {count} | **Client**: {client_name or "N/A"}++## Site Health Summary+- SEO Score: {avg} (Good: {count}, OK: {count}, Poor: {count})+- Response Time: {avg}ms average+- Indexable Pages: {count}/{total}+- Broken Links: {count}+- Security: HSTS {yes/no}, CSP {yes/no}++## Critical Issues+{For each critical issue: description, affected URLs (max 5), how to fix}++## Warnings+{Same format, medium priority}++## Improvements+{Suggestions ranked by impact}++## Changes Since Last Crawl+{If comparison data available: new issues, resolved, pages added/removed}++## WordPress Status+{If WP site: plugin info, WP-specific issues}+```++### Step 8: Log to Brain (Optional)++If Brain is connected and critical issues were found, offer to log them:++```+brain_issues create {+ site_id: "...",+ subject: "SEO: {issue description}",+ description: "Found during SEO audit on {date}...",+ priority: "high",+ category: "seo"+}+```++## SEO Analysis Priorities++### Critical (always report)+- Broken pages (4xx/5xx responses)+- Missing/wrong canonical tags+- Noindex on important pages+- Missing H1 tags+- HTTPS mixed content+- Missing sitemap++### High+- Keyword cannibalisation (duplicate titles/H1s)+- Duplicate URL variants (/, /home, /index.html)+- Slow pages (>3s response)+- Missing meta descriptions on key pages+- Internal nofollow links++### Medium+- Title length issues+- Missing image alt text+- Missing JSON-LD schema+- Heading hierarchy issues+- Orphan pages (zero inlinks)++### Low+- Missing OG tags+- Long URLs+- Minor meta issues++## Notes++- Use Australian English (EN-AU)+- Be specific: "Fix missing H1 on /services" not "Add headings to pages"+- Focus on technical correctness, not keyword density or vanity scores+- For WordPress sites, cross-reference JezPress data if availablediff --git a/plugins/seo/skills/seo-monitor/SKILL.md b/plugins/seo/skills/seo-monitor/SKILL.mdnew file mode 100644index 00000000..ca6ae872--- /dev/null+++ b/plugins/seo/skills/seo-monitor/SKILL.md@@ -0,0 +1,118 @@+---+name: seo-monitor+description: "Batch monitor SEO health across all active client sites. Checks for regressions, starts fresh crawls for stale data, and generates a summary report. Trigger with 'seo monitor', 'check all seo', 'seo batch check', 'weekly seo', or 'monitor sites'."+compatibility: claude-code-only+---++# SEO Monitor++Batch check SEO health across all active Jezweb client sites. This is the weekly monitoring workflow — identifies sites with new issues, regressions, or stale crawl data.++## Required MCP Tools++- **Whispering Wombat**: `whispering_crawls`, `whispering_issues`+- **Brain**: `brain_sites` (to get active site list)+- **Google Chat** (optional): Post summary to SEO Ideas space++## Workflow++### Step 1: Get Active Sites++Use Brain to find sites that need SEO monitoring:++```+brain_sites find { status: "active", limit: 100 }+```++If Brain is not available, use `whispering_crawls list` and extract unique domains from recent crawls.++### Step 2: Check Each Site++For each site, check crawl freshness and health:++1. `whispering_crawls list` — find most recent crawl for this domain+2. Categorise:+ - **Fresh** (crawled < 7 days ago): check issues only+ - **Stale** (crawled > 7 days ago): start new crawl+ - **Never crawled**: start first crawl++For fresh sites:+- `whispering_issues summary { crawl_id }` — get issue counts+- If previous crawl exists: `whispering_crawls compare` — check for regressions++For stale sites:+- `whispering_crawls start { url, max_pages: 200 }` — lighter crawl for monitoring+- Note: don't wait for all crawls to complete — queue them and check later++### Step 3: Identify Concerns++Flag sites that need attention:++**Red flags** (report immediately):+- New 5xx errors since last crawl+- Significant increase in broken links (>5 new)+- Previously indexed pages now noindexed+- SEO score dropped by >10 points+- Site returning errors/timeouts++**Yellow flags** (note for review):+- New 4xx errors (>3)+- Missing sitemaps+- New duplicate content+- Score declined by 5-10 points++### Step 4: Generate Summary++Output a monitoring summary:++```markdown+# SEO Monitoring Report — {date}++## Sites Needing Attention+| Site | Issue | Severity | Change |+|------|-------|----------|--------|+| example.com | 5 new broken links | Red | +5 since last week |++## Crawl Status+- Fresh (< 7 days): {N} sites+- Stale (> 7 days): {N} sites — crawls started+- Never crawled: {N} sites — crawls started++## Overall Health+- Sites with critical issues: {N}+- Sites with warnings: {N}+- Healthy sites: {N}++## New Crawls Started+{List of domains where fresh crawls were initiated}+```++### Step 5: Communicate (Optional)++If Google Chat is available, post the summary to the SEO Ideas space.++Format for Google Chat (use their markdown):+```+*SEO Monitor — {date}*++*{N} sites need attention:*+• {domain} — {issue summary}+• {domain} — {issue summary}++_{N} fresh, {N} stale (crawls started), {N} healthy_+```++## Configuration++Default monitoring parameters:+- Max pages per monitoring crawl: 200 (lighter than full audit)+- Stale threshold: 7 days+- Max concurrent crawl starts: 5 (don't overwhelm WW)+- Rate limit per crawl: 2 req/s++## Notes++- Run this weekly (or trigger manually)+- Don't log individual issues to Brain during monitoring — only flag regressions+- If a site has critical regressions, suggest running `/seo-audit {domain}` for full analysis+- Keep the summary concise — it's a triage tool, not a full reportdiff --git a/plugins/seo/skills/seo-report/SKILL.md b/plugins/seo/skills/seo-report/SKILL.mdnew file mode 100644index 00000000..76004c47--- /dev/null+++ b/plugins/seo/skills/seo-report/SKILL.md@@ -0,0 +1,103 @@+---+name: seo-report+description: "Generate a client-facing SEO report from the latest crawl data. Produces a professional HTML report with executive summary, key metrics, top issues, and comparison charts. Trigger with 'seo report', 'generate seo report', 'client seo report', or 'seo summary'."+compatibility: claude-code-only+---++# SEO Report++Generate a professional, client-facing SEO report from Whispering Wombat crawl data. Outputs an HTML file suitable for sharing via PageDrop or email.++## Required MCP Tools++- **Whispering Wombat**: `whispering_crawls`, `whispering_issues`, `whispering_links`, `whispering_content`+- **Brain** (optional): `brain_site_get`, `brain_client_get`+- **PageDrop** (optional): For publishing shareable URL++## Input++`$ARGUMENTS` should be a domain name (e.g., `abpsychology.au`).++## Workflow++### Step 1: Get Latest Crawl++`whispering_crawls list` — find the most recent completed crawl for this domain.++If no crawl exists, inform the user and suggest running `/seo-audit {domain}` first.++### Step 2: Get Client Context++If Brain is available:+- `brain_site_get { domain }` — client name, contact, business type+- Use client name in the report header++### Step 3: Gather Report Data++Collect all data needed for the report:++1. `whispering_issues overview` — scores, status codes, response times+2. `whispering_issues summary` — issue counts by type+3. `whispering_links stats` — link health+4. `whispering_content sitemaps` — sitemap status+5. `whispering_content structure` — site depth+6. If previous crawl exists: `whispering_crawls compare` — changes++### Step 4: Generate HTML Report++Create a self-contained HTML file with inline CSS. Save to `.claude/artifacts/seo-report-{domain}-{date}.html`.++Report structure:++```html+<!DOCTYPE html>+<html lang="en-AU">+<head>+ <meta charset="UTF-8">+ <title>SEO Report: {domain}</title>+ <style>/* Inline professional styling */</style>+</head>+<body>+ <!-- Header with Jezweb branding -->+ <!-- Executive Summary (1 paragraph) -->+ <!-- Key Metrics Grid (4 cards: pages, issues, score, speed) -->+ <!-- Top 5 Issues with fix instructions -->+ <!-- Comparison with previous crawl (if available) -->+ <!-- Detailed Findings by Category -->+ <!-- Footer with date and disclaimer -->+</body>+</html>+```++Design guidelines:+- Professional, clean layout — no playful colours or emojis+- Monochrome/slate colour scheme matching Jezweb brand+- Tables for data, simple bar charts via CSS (no JS libraries)+- Print-friendly (reasonable page breaks, no fixed widths)+- Jezweb logo in header: `https://www.jezweb.com.au/wp-content/uploads/2021/11/Jezweb-Logo-White-Transparent.svg`++### Step 5: Offer to Share++After generating the HTML:+1. Show the file path to the user+2. Offer to publish via PageDrop for a shareable URL+3. If PageDrop: `pages { action: "create", content: htmlContent, slug: "seo-{domain}" }`++## Executive Summary Template++Write the executive summary as one short paragraph covering:+- Overall site health assessment (good/needs attention/critical)+- Number of pages analysed+- Most impactful finding+- Comparison trend (improving/declining/stable) if previous data exists++Example:+> "{Domain} is in good technical health with {X} pages analysed. The site scores well on core SEO fundamentals but has {N} critical issues that should be addressed — most notably {top issue}. Compared to the previous audit, the site has {improved/declined} with {N} new issues and {N} resolved."++## Notes++- Australian English throughout+- Keep language accessible — the client may not be technical+- Focus on "what to fix and why" not "what's wrong"+- Avoid jargon: "search engines can't find this page" not "noindex directive present"+- Include estimated impact: "fixing this could improve your visibility for local searches"