---
name: prod-page-audit
description: >
Run a production readiness audit on a web page or site and fix the gaps it finds —
covering SEO, favicon, Open Graph / social previews, and mobile optimization. Use
whenever the user asks for a production check, launch checklist, SEO or OG audit, mobile
readiness check, mentions going live, or asks about favicon, meta tags, social previews,
or viewport issues.
---
# Production Page Audit
Audit + auto-fix workflow for web pages before they go to production. Don't restructure
HTML blindly, and don't generate `robots.txt` or `sitemap.xml` unless asked.
| Area | What's checked | Auto-fix? |
|---|---|---|
| SEO | Title, description, semantic HTML, canonical, robots | Fix meta; flag structural issues |
| Favicon | Presence, sizes, formats, manifest | Generate if missing |
| Open Graph | og: tags, Twitter Card, image dimensions | Generate OG image if missing |
| Mobile | Viewport, font sizes, input zoom, touch targets | Fix in-place where possible |
## Phase 0 — Understand the target
1. **Input type**: file path / project directory → read source directly; URL → fetch or
ask for the HTML.
2. **Page type**: landing, blog post, product, portfolio — determines what the OG image
and favicon should look like.
3. **Brand context**: colors, logo, name — pull from CSS variables, ``, or ask.
If ambiguous, ask one focused question before proceeding.
## Phase 1 — SEO
For each item in Phases 1–4, record the file path, current state, and verdict (✅/⚠️/❌).
If `a11y-page-audit` already ran on this page, skip the landmarks, single `
`, `alt`
and `lang` checks below and report them as covered there.
**Check**:
- ``: exists, 50–60 chars, descriptive and unique
- ``: exists, 120–160 chars, action-oriented
- `` present; `` not accidentally `noindex`
- Single `
`, logical heading nesting
- Images have meaningful `alt`; links have descriptive text (not "click here")
- Landmarks: ``, ``, `