site_readiness
Run a read-only launch readiness audit on a WordPress site, checking headings, metadata, JSON-LD, images, headers, robots/sitemap and WooCommerce settings, then return structured pass/fail findings.
Instructions
Read-only exit code for the build-standard standard: runs every objective, machine-checkable part of a launch readiness pass and returns structured pass/fail findings shape-compatible with the pre-launch-audit skill's machine-readable block. Checks: heading order, alt-text coverage, title/meta description/Open Graph presence, JSON-LD validity (and aggregateRating/review misuse), href="#" count, placeholder text, image weight (300KB cap, 200KB on the LCP image), security headers (HSTS/nosniff/frame-ancestors/referrer-policy — deliberately does NOT require an enforcing CSP), llms.txt/sitemap/robots.txt status (including a 404 page served with a 200, a real bug this plugin shipped), 404 handling, snippet errors, legal-page wiring, and — only when WooCommerce is active — tax-rate sanity, stock policy, and registration/role defaults. Changes nothing on the site. A check that could not run (WooCommerce inactive, no HTTPS, a capability the owner disabled) is reported in skipped and is NEVER counted as a pass — always check skipped and not_verified before trusting pass. Some checks (viewport sweeps, console errors, rendered contrast, animation smoothness) are structurally impossible without a browser and are listed in not_verified with what a human should click instead.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "site_readiness"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | No | Optional extra absolute URLs to include in the page-level checks (e.g. a landing page not in the post table). | |
| scope | No | site: crawl published pages/posts plus the site-level checks. page: check only post_id. | site |
| post_id | No | Required when scope=page: the post/page to check. | |
| request_headers | No | Optional headers to send with every fetch OF THIS SITE, so a site behind a coming-soon gate, a maintenance-mode plugin or an HTTP-auth wall can be audited instead of returning one holding page for every URL. Usually a Cookie: e.g. {"Cookie": "preview_key=abc"}. Ignored for any URL not on this site's own origin. This does not reveal anything the caller could not already reach; it only presents the credential a human would use in a browser. |