seo-audit
The seo-audit command performs a comprehensive assessment of a website's search engine optimization across technical infrastructure, on-page elements, content quality, E-E-A-T signals, local SEO, backlink profile, and AI answer engine visibility. Use this tool when conducting a full site audit, analyzing specific technical issues, evaluating content gaps, comparing competitors, or researching keywords to develop prioritized improvement strategies based on impact-to-effort scoring.
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/indranilbanerjee/digital-marketing-pro/HEAD/commands/seo-audit.md -o ~/.claude/commands/seo-audit.mdseo-audit.md
# SEO Audit > If you see unfamiliar placeholders or need to check which tools are connected, see [CONNECTORS.md](../CONNECTORS.md). Audit a website's SEO health across all major ranking dimensions: technical infrastructure, on-page optimization, content quality, E-E-A-T signals, local SEO, link profile, and AI answer engine visibility. Produces a prioritized action plan with impact-to-effort scoring. ## Trigger User runs `/digital-marketing-pro:seo-audit` or asks for an SEO audit, keyword research, content gap analysis, technical SEO check, or competitor SEO comparison. ## Inputs Gather the following from the user. If not provided, ask before proceeding: 1. **URL or domain** — the site to audit, or a topic/keyword if running in keyword research mode 2. **Audit scope** — one of: - **Full site audit** — end-to-end SEO review covering all dimensions below (default) - **Technical only** — crawlability, Core Web Vitals, structured data, infrastructure - **Content only** — thin content, gaps, freshness, E-E-A-T, keyword opportunities - **Local SEO** — Google Business Profile, NAP consistency, local schema, reviews - **Competitor comparison** — head-to-head benchmarking against specific competitors 3. **Target keywords** (optional) — specific keywords the site is targeting or wants to rank for 4. **Competitors** (optional) — 2-3 domains to benchmark against. If not provided and comparison is needed, identify likely competitors from the keyword space. ## Process ### 1. Keyword Research **If SEO tools are connected (Ahrefs, Similarweb):** - Pull keyword data, search volume, difficulty scores, and current ranking positions automatically - Identify keywords gaining or losing ground **If tools are not connected:** - Use web search to research the keyword landscape - Note: "For precise volume and difficulty data, connect an SEO tool via `/digital-marketing-pro:connect ahrefs` or `/digital-marketing-pro:connect similarweb`." For each keyword opportunity, assess: - **Search volume signals** — relative demand (high, medium, low) - **Keyword difficulty** — how competitive (easy, moderate, hard) - **Intent classification** — informational, navigational, commercial, or transactional - **Long-tail opportunities** — specific, lower-competition phrases with clear intent - **Question-based keywords** — "how to", "what is" queries for People Also Ask ### 2. Technical SEO Audit Evaluate infrastructure that affects crawlability and rankings: - **Page speed** — slow-loading pages, likely causes (large images, render-blocking scripts, redirects) - **Mobile-friendliness** — responsive design, tap targets, viewport configuration - **Structured data** — schema markup opportunities (FAQ, HowTo, Product, Article, Organization, Breadcrumb) - **Crawlability** — robots.txt, XML sitemap, canonical tags, noindex/nofollow usage - **Broken links** — internal and external 404s, redirect chains - **HTTPS** — secure connection, mixed content - **Core Web Vitals** — LCP, INP, CLS indicators - **Indexation** — pages that should be indexed but aren't, duplicate content risks ### 3. On-Page SEO Audit For each key page (homepage, top landing pages, recent content): - **Title tags** — present, unique, 50-60 characters, includes target keyword - **Meta descriptions** — present, compelling, 150-160 characters, includes CTA - **Heading hierarchy** — one H1, logical H2/H3 structure, keywords in subheadings - **Keyword usage** — primary keyword in first 100 words, natural distribution, no stuffing - **Internal linking** — pages link to related content, orphan pages identified, descriptive anchor text - **Image optimization** — alt text on all images, compressed files, proper sizing - **URL structure** — clean, readable, keyword-inclusive ### 4. Content Quality & E-E-A-T Assessment - **Experience** — first-hand experience signals, original research, case studies - **Expertise** — author credentials, depth of coverage, technical accuracy - **Authoritativeness** — citation quality, industry recognition, backlink authority - **Trustworthiness** — accuracy, transparency, editorial standards, secure site - **Content freshness** — pages not updated in 12+ months, outdated statistics - **Thin content** — pages with insufficient depth to rank - **Content gaps** — topics competitors cover that the site doesn't ### 5. AI Answer Engine Visibility (AEO/GEO) - **AI Overview presence** — does the site appear in Google AI Overviews? - **Citation-worthiness** — are there "citeable moments" (definitions, data, structured answers)? - **Snippet structuring** — content formatted for direct answer extraction - **Entity consistency** — brand name, facts, and claims consistent across the web ### 6. Link Profile Analysis - **Domain authority signals** — overall site strength based on backlink profile - **Backlink quality** — proportion of high-quality vs. low-quality referring domains - **Anchor text distribution** — natural vs. over-optimized - **Link velocity** — trend in new links acquired - **Competitor link gap** — sites linking to competitors but not to this domain - **Toxic links** — potentially harmful backlinks to disavow ### 7. Local SEO (if applicable) - **Google Business Profile** — completeness, accuracy, categories, photos, posts - **NAP consistency** — name, address, phone matching across directories - **Local schema markup** — LocalBusiness, opening hours, service area - **Review profile** — volume, recency, rating, response rate - **Local content** — city/service pages, local landing pages ## Output Format ### Executive Summary - Overall SEO health score (1-10 per dimension) - Top 3 strengths - Top 3 priorities with estimated impact ### Keyword Opportunity Table | Keyword | Volume Signal | Difficulty | Current Rank | Intent | Recommended Action | |---------|--------------|------------|--------------|--------|--------------------| Include 15-25 opportunities sorted by opportunity score. ### Issue Tabl
Design a statistically rigorous A/B or multivariate test plan — If/Then/Because hypothesis, control and variant specs, required sample size per variant (absolute vs relative MDE via sample-size-calculator.py), test duration, guardrail metrics, stopping rules, and go/no-go decision criteria. Triggers on \"/digital-marketing-pro:ab-test-plan\", \"set up an A/B test\", \"how long should my test run\", \"calculate sample size for an experiment\", \"is this test result significant\". Reads the brand profile and past campaign-tracker results to avoid re-testing validated hypotheses; finished tests are evaluated with significance-tester.py by the cro-specialist agent.
Generate 3-5 ad copy variations per platform — headlines, descriptions, and CTAs formatted to Google, Meta, LinkedIn, TikTok, X, and Pinterest specs — each scored 1-10 with policy-compliance flags, A/B testing groupings, and a message-match check against the landing page. Triggers on \"/digital-marketing-pro:ad-creative\", \"write ad copy for Meta\", \"give me RSA headline variations\", \"we need LinkedIn ad copy\", \"draft TikTok ad creative\". Reads the brand profile, guidelines, and compliance rules; routes video ad scripts to /digital-marketing-pro:video-script and gates AI-generated visuals for EU campaigns through /digital-marketing-pro:c2pa-metadata and /digital-marketing-pro:check.
Walk through adding a custom MCP server integration to the plugin — searches npm for an existing MCP package (or scaffolds a custom server from the plugin's guide), generates the exact .mcp.json entry, sets up environment-variable credentials, tests connectivity, and documents the tools the new server exposes. Triggers on \"/digital-marketing-pro:add-integration\", \"connect Ahrefs to the plugin\", \"add a new MCP server\", \"integrate our internal API\", \"hook up Stripe data\". Reads the brand profile and agency credential profiles at ~/.claude-marketing/credentials/ to map client-specific keys; custom builds follow skills/context-engine/custom-mcp-guide.md.
Audit how a brand appears across the 6 canonical AI answer surfaces — ChatGPT, Perplexity, Google AI Mode, AI Overviews, Gemini, Copilot — probing 10-25 queries into a numbered output bundle with per-platform visibility scorecards, citation-accuracy checks, a competitor matrix, content gaps, and an optimization playbook behind a four-gate quality scorecard. Triggers on \"/digital-marketing-pro:aeo-audit\", \"does ChatGPT know about our brand\", \"check our AI search visibility\", \"how does Perplexity describe us\", \"are we showing up in AI Overviews\". Reads the brand profile; reconciles probes against GSC actuals via /digital-marketing-pro:gsc-ai-performance and defines the AI-visibility scoring standard reused by geo-monitor and share-of-voice.
Strategy module for Answer Engine / Generative Engine Optimization — audits AI visibility, restructures content for citation, runs entity-consistency checks across Knowledge Graph, Wikidata, Wikipedia, Crunchbase, and LinkedIn, and produces JSON-LD schema specs, monitoring frameworks, and a 90-day LLM content strategy. Triggers on \"/digital-marketing-pro:aeo-geo\", \"how do we get cited by AI\", \"optimize for AI Overviews\", \"fix our entity consistency\", \"do we need llms.txt\". Reads the brand profile, compliance rules, and industry benchmarks; its measurement counterpart is /digital-marketing-pro:aeo-audit, with GSC actuals via /digital-marketing-pro:gsc-ai-performance.
Generate a portfolio-level dashboard across ALL client brands — per-client RAG health scores, campaign activity, budget pacing, aggregate KPIs, team utilization, pending approvals, upcoming deadlines, and an alerts panel — built for agency standups and weekly reviews. Triggers on \"/digital-marketing-pro:agency-dashboard\", \"how are all our clients doing\", \"portfolio health check\", \"budget pacing across accounts\", \"which accounts are at risk\". Enumerates every brand under ~/.claude-marketing/brands/ and pulls data via campaign-tracker.py, execution-tracker.py, and team-manager.py; drill into a single client with /digital-marketing-pro:performance-report or /digital-marketing-pro:client-report.
Invoke when the user needs to manage multiple client brands, view portfolio-level dashboards, generate client reports, manage SOPs, switch credential profiles, assign team tasks, configure regions, or generate executive summaries. Triggers on requests involving multi-client management, agency workflows, client onboarding, or portfolio oversight.
Invoke when the user needs help with marketing measurement, KPI definition, dashboard design, attribution reporting, performance analysis, competitive benchmarking, or translating data into marketing decisions. Triggers on requests involving metrics, reporting, analytics setup, or data interpretation.