structured-data-audit
БесплатноБез исполняемых скриптовНе проверенValidate structured data with squirrelscan audit rules via the squirrel CLI or hosted squirrelscan MCP server in Claude Code, GitHub Copilot, Codex, Cursor…
от squirrelscan★ 110 звёзд на GitHubОб этом скилле
Structured Data Audit
Check a site's JSON-LD: is it valid, is it the right type for the page, and does the site describe each entity (the organization, the website, the authors, the products) once, with a stable identity, instead of redeclaring it differently on every page.
Valid markup does not guarantee rich results. Search engines decide eligibility, and markup must describe what is visible on the page.
Before the first audit
Run squirrel --version. If it fails, install the CLI from squirrelscan.com/download (the squirrelscan skill has references/install.md). Then run squirrel auth status:
- Signed out, or
--offline: the audit runs on this machine, is free, and nothing is published. - Signed in: the audit is billed in credits (50 plus 2 per audited page, plus 1 per distinct external link the cloud verifies), adds the site to the user's dashboard, can turn on recurring audits and publishes an unlisted report. Tell the user the cost (
squirrel credits) and get a yes. Offer--offlineor--no-publish. For a site the user does not own, add--ephemeral: nothing is added to the dashboard, scheduled or published.
Every flag below is checked against the squirrel CLI docs (https://docs.squirrelscan.com/cli/audit). Rule docs: https://docs.squirrelscan.com/rules/{category}/{rule_id}.
Run it
squirrel audit https://example.com --level surface --rule-include schema --format json -o schema.json
squirrel entities # the site-wide entity graph from the latest audit
squirrel entities --problem no-id,conflict,split-identity,dangling
--rule-include schemaruns the per-page and site-wide structured data rules (schema/json-ld-valid,schema/expected-type,schema/entity-*and the type rules such asschema/product,schema/article,schema/breadcrumb,schema/faq,schema/local-business,schema/organization).- The entity map collapses all JSON-LD into one graph. Sixty valid
Organizationblocks with no@idare sixty organizations to a search engine. Entity problems areno-id,conflict,dangling,single-pageandsplit-identity. Thesquirrelscanskill'sreferences/entity-map.mdandreferences/entity-map-fixes.mdhave the shape that works and the exact change per stack. Read them when anentity-*finding appears. - Use
--level fullwhen the entity map matters: it is built from the pages crawled.
Fix order
- Parse errors first:
schema/json-ld-valid(a block that does not parse is ignored entirely). - Identity: give each real-world entity one stable
@id(for examplehttps://example.com/#organization), declare it fully once, and reference it by@idelsewhere. Rules:schema/entity-id-format,schema/entity-organization-missing,schema/entity-website-missing,schema/entity-split-identity,schema/entity-conflicts,schema/entity-dangling,schema/entity-orphan,schema/entity-publisher-mismatch. - Type fit:
schema/expected-type,schema/coverage-outlier(a page type missing the markup its siblings have). - Required and recommended properties per type:
schema/product,schema/article,schema/organization,schema/local-business,schema/video,schema/review,schema/rating-scope,schema/faq,schema/breadcrumb. - Markup that claims more than the page shows: where a finding says the markup states something the page does not, fix the page or remove the markup. Never add markup for content users cannot see.
Where the fix usually lives
| Stack | Look here |
|---|---|
| WordPress with Yoast SEO | Yoast outputs one schema graph with @ids. Duplicates come from the theme or another plugin also printing JSON-LD: disable one source. Organization details are in Yoast's site representation settings |
| Next.js | one <script type="application/ld+json"> in the root layout for the Organization and WebSite (with @id), page-level scripts that reference those ids |
| Shopify | the theme's product JSON-LD (often duplicated by an app), and theme.liquid for Organization |
| Webflow | Site settings or page custom code (head) |
| Static and docs | the layout template's head, generated from site config so every page agrees |
Validate in the user's tools of choice once the audit is clean (for example Google's Rich Results Test); squirrelscan does not claim rich-result eligibility.
Prove it
Re-audit, then squirrel entities --diff. An entity that gains an @id changes key, so read the gainedId section (and its coverage: proven or partial, and notCrawled should be empty) rather than the added and removed lists.
Stop condition
Stop when schema/json-ld-valid is clean, no entity-conflicts, entity-split-identity or entity-dangling remain on a full crawl, each page type has the markup its siblings have or a reason it does not, and every finding about markup the page does not back up is resolved by f
Установить structured-data-audit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Bash(squirrel:*)ReadEditGrepGlobВложенные файлы
FAQ
Что делает скилл structured-data-audit?
Validate structured data with squirrelscan audit rules via the squirrel CLI or hosted squirrelscan MCP server in Claude Code, GitHub Copilot, Codex, Cursor, and other coding agents, checking JSON-LD validity, type fit, and the site-wide entity map so pages reuse one organization with a stable @id instead of creating a new one per page. It applies fixes for Yoast, Next.js, Shopify, and Webflow. Use when asked "check my JSON-LD", "audit my schema markup", or "fix duplicate Organization entities".
Как установить скилл structured-data-audit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл structured-data-audit запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic