/site-qa:content-structure-auditfrom site-qa
Audit a site's content and structure for search and AI answer engines - semantic HTML, meta, schema and entity graph, llms.txt and crawler access, answer-first copy, citations, boilerplate, cannibalisation and prose slop - and use the Wayback Machine to see which content strategies survived. Produces a prioritised fix list.
Ships in site-qa. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Finds what makes a site hard for search engines and AI answer engines to trust, quote and attribute. That includes missing entity markup, pages that bury the answer, claims with no source, doorway pages, boilerplate and prose that reads as generated. It also covers the semantic HTML underneath all of it.
It also lets you study a competitor or reference site without guessing at its strategy. The Wayback Machine shows what the site published over the years and what it later deleted. Content that survived several rebuilds earned its place. Sections that were removed wholesale are the experiments that failed.
Use when asked to audit SEO, AEO/GEO or "AI visibility", review content structure or metadata, check semantic HTML, reverse-engineer another site's content strategy, or check copy for AI slop. Pair it with slop-ui-audit: that skill covers what a visitor sees (layout, design tells, leaks); this one covers what a crawler reads.
Both scripts are in scripts/ and run on Node 18+ with no dependencies. Copy them into the working directory before running.
| File | Does |
|---|---|
scripts/content-audit.mjs | Seeds from the sitemap (follows indexes), fetches raw server HTML and audits every page: semantic landmarks, heading order, leaked attributes, meta, JSON-LD and entity consistency, llms.txt coverage, AI-bot rules, answer-first openings, citations, dates and bylines, boilerplate, near-duplicate titles, and prose tells per 1,000 words. Writes content-report.md, summary.json, pages.json and text/ |
scripts/wayback-survival.mjs | Pulls the Wayback CDX index, compares it with the live sitemap and groups by first-seen year and section, giving survival %, average captures, the oldest survivors and samples of retired URLs. It also checks whether retired URLs now redirect or 404 |
node content-audit.mjs https://example.com --max 400 --out ./content-out
node wayback-survival.mjs example.com --out ./wayback-out --check 20
web.archive.org rate-limits, and some sandboxes block it. If the CDX fetch fails, run the script from the person's own machine (e.g. through a device shell) rather than giving up.
likelyClientRendered lists pages with almost no server text.answerFirst is a heuristic. Read the opening of a sample of pages before reporting it. Downgrade false positives, and say that you did.Run content-audit.mjs and read content-report.md, then work through these checks.
Crawler access
Semantic HTML
<main>, plus <header>, <nav> and <footer>.<article> on article pages and <time datetime> for dates.<th> on tables.<a href> and controls are <button>, never clickable <div> or <span> elements.alt and width/height (missing dimensions cause layout shift).leakedAttributes: framework props serialised into the DOM, such as node="[object Object]" from react-markdown passing node through, or undefined/null attribute values. These are invisible in the browser but sit in every crawler's copy of the page. The fix is in the component that renders them, not on individual pages.<div> where a <footer> belongs.Entity and schema (the biggest gap on most small sites)
Organization: legal name, logo, address, contact point, sameAs profiles, company number if UK.WebSite.Person for the named author or founder: jobTitle, hasCredential (degrees, chartered status) and knowsAbout.@id and carry datePublished and dateModified.orgNameVariants and sameAs variants for drift (e.g. a short brand name in one block and the legal name in another, or two different YouTube URLs), and look for HTML-escaped entities inside JSON-LD (& in a name).Meta and cannibalisation
Specific topic: qualifier | Brand.nearDuplicateTitles: pairs of pages competing for the same query. Merge them, differentiate them, or canonicalise one to the other. A hub page and its "What is X?" spoke with the same title is the most common case.Content evidence
medianExternalCitations of 0 is a finding on any page that makes claims about law, standards, statistics or other people's products. Add a "Sources and further reading" block that links primary sources: legislation, regulators, standards bodies, specifications and the original research.<time>.Prose tells (the slopPer1kWords rates; compare against a human-written reference page from the same site if there is one)
| Marker | Rough threshold | Note |
|---|---|---|
| Em dashes | above about 3 per 1,000 words | The strongest single tell readers now notice. Replace most with commas, colons, brackets or full stops |
| "Not X — Y." / "It's not X, it's Y" reveals | any repeated use | Rewrite as a plain claim |
| "actually", "honest(ly)", "the real question", "here's the thing", "quietly" | above about 1 per 1,000 words | Verbal tics |
| Punchy fragments ("That's it. Nothing more to it.") | repeated | Template voice |
| Unsourced trends ("interest has doubled since last year") | any | Cite or cut |
| First-person anecdotes on unattributed pages ("In my experience…") | any | Name the author or cut |
| Invented worked examples ("a £20M programme…") presented as typical | any | Label them as illustrative, or use a real, permissioned case |
Run wayback-survival.mjs on the reference site and read the section table:
Survival shows what the owner chose to keep, not proven traffic. If Ahrefs, Semrush or Search Console data is available, use it to confirm.
Separate technique (worth copying) from slop (avoid) explicitly. The useful lessons are usually structural:
Fix in templates and components, not page by page:
<time> in the article layout.components={{ p: ({node, ...props}) => <p {...props}/> }}). The node prop must be dropped, not spread.rg -c '—' content/, rg -i "\bnot just\b|\bactually\b|\bquietly\b".# Content structure audit - <site> (<date>)
**Scope:** N pages from raw HTML · Wayback: M archived paths since <year> · **Confirmed issues:** access X · semantic X · entity X · meta X · evidence X · prose X
## Fix first (highest impact for least effort)
1. ...
## 1. Crawler access (robots, llms.txt, server rendering)
## 2. Semantic HTML
## 3. Entity and schema
## 4. Meta and cannibalisation
## 5. Content evidence (answers, sources, authors, dates, boilerplate)
## 6. Prose tells (judged)
## 7. What survived elsewhere (if a reference site was studied)
## What's working (keep it)
Include a small table comparing the target with the reference site where both were audited, and adjust anything the scripts got wrong.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
3 skills in this plugin
/security-signals-auditCheck whether a website shows the outward signs of good security posture - HTTPS and HSTS, security headers and CSP quality, cookie flags, leaked secrets and source maps, vulnerable JS libraries, SRI, security.txt, trackers before consent, SPF/DMARC/CAA - passively by default, with owner-only probes. Produces a gate result and a fix list./slop-ui-auditAudit a website for unconsidered UI and leaks - broken images, gutter drift, cross-page inconsistency, meta hygiene, AI/agent comments and secrets in shipped HTML/JS, plus AI 'slop' design tells - and produce a prioritised fix list.npx claudepluginhub cleggypdc/claude-skills --plugin site-qa