seo_audit
Audits HTML for SEO and digital marketing readiness, evaluating 50+ factors across 10 categories. Provides score, grade, detailed issues with fixes, and top recommendations.
Instructions
Phase 6.5 — SEO & Digital Marketing Audit.
Analyzes generated HTML for SEO optimization and digital marketing readiness. Checks 50+ factors across 10 categories: meta tags, heading structure, images, performance, accessibility, content quality, technical SEO, mobile optimization, social media readiness, and link structure.
Returns: SEO score (0-100), letter grade (A-F), detailed issue list with severity + fix instructions + code snippets, and top 5 priority recommendations.
Issues feed back into the pipeline — if the score is too low, re-run code generation with the suggested fixes.
Call this AFTER generate_full_page, BEFORE review_output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| js | No | External JS code to include in the audit. Pass if JS is in a separate file from the HTML. | |
| css | No | External CSS code to include in the audit. Pass if CSS is in a separate file from the HTML. | |
| code | Yes | The generated HTML code to audit. Pass the complete page HTML from generate_full_page. | |
| industry | No | Industry context for SEO recommendations (e.g., "fintech", "ecommerce", "healthcare") | |
| pageName | No | Page name for the audit report | |
| pageType | No | Page type for context-aware checks: "landing", "product", "blog", "about", "contact" | |
| targetKeywords | No | Target SEO keywords to check for in headings and content (e.g., ["budgeting app", "personal finance"]) |