schema-markup-validation
БесплатноБез исполняемых скриптовНе проверенValidate the JSON-LD structured data on WordPress pages against the official schema.org vocabulary (from the schemaorg/schemaorg GitHub release files) and…
от lightspeedwp★ 20 звёзд на GitHubОб этом скилле
Schema Markup Validation
Fetch each page, extract every <script type="application/ld+json"> block,
and check it against the schema.org vocabulary and Google's rich-result
rules. The check is read-only.
When to use this skill
- A full audit, after
schema-test-urlshas produced a URL list. - A spot check of named pages ("check the specials again", "test the tour page").
- Before and after a schema change, to compare runs.
Procedure
1. Gather the facts
- The URLs, or the URL file from
schema-test-urls. - Whether the user wants a particular schema.org release (default: the latest
release in
schemaorg/schemaorg). - For offers and events: whether "today" should be a different date, for example to test what happens after a special ends.
2. Run the check
In a clone of lightspeedwp/.github (Node.js 20+):
node agents/wp-schema-audit-agent/lib/schema-tool.cjs validate --urls-file urls.txt
node agents/wp-schema-audit-agent/lib/schema-tool.cjs validate <url> <url> --details
audit <site-url> runs discovery and validation together, and labels each
page with its kind (for example "Tours: single item") in the output.
| Option | Use |
|---|---|
--details |
List every finding per page, with the path to the node. |
--json |
Machine-readable report, to save or compare between runs. |
--vocab-version 30.1 |
Check against a specific schema.org release. |
--vocab <file> |
Use a local vocabulary file; no network needed. |
--today 2026-12-01 |
Treat this date as today for expired-offer checks. |
--format report |
Plain-English Markdown report for a client (see schema-audit-report). |
--format csv |
One row per finding, for a spreadsheet. |
--out <file>, --csv <file> |
Write the report, and a CSV alongside it, to files (never replaced without --force). |
The first run downloads the release file
(data/releases/<version>/schemaorg-all-https.jsonld) and caches it in
~/.cache/lightspeedwp/schemaorg/. Exit code 0 means no errors or
warnings, 1 findings to review, 2 a tool error.
3. What is checked
| Check | Severity | Meaning |
|---|---|---|
unknown-type, unknown-property |
error | Not a schema.org term; usually a typo or a made-up name. |
invalid-json, http-status, fetch-failed |
error | The block or page could not be read. |
property-domain |
warn | The property is not defined for this type (for example additionalProperty on a Review). |
property-range |
warn | The value is the wrong type (for example a LodgingBusiness as an Offer's itemOffered). |
enum-value |
warn | Not a member of the enumeration (for example a misspelt availability). |
superseded-*, retired-* |
warn | The term has been replaced or retired. |
unresolved-reference |
warn | {"@id": …} points to a node no block on the page defines. |
duplicate-id |
warn | Two blocks define the same @id with different types, usually two plugins. |
rich-result-required |
warn | Google needs this property to show a rich result (for example a Review's itemReviewed). |
expired-offer |
warn | The offer ended but still says it is available. |
date-order, date-format, empty-value |
warn | Reversed date ranges, non-ISO dates, empty strings or lists. |
redirected |
warn | The URL redirects; crawlers see the destination's schema. |
no-structured-data |
warn | The page has no JSON-LD at all. |
pending-* |
info | Valid, but still in schema.org's pending section; Google may ignore it. |
rich-result-recommended, address-text, text-for-thing, html-entity |
info | Improvements, no |
Установить schema-markup-validation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл schema-markup-validation?
Validate the JSON-LD structured data on WordPress pages against the official schema.org vocabulary (from the schemaorg/schemaorg GitHub release files) and Google's rich-result requirements. Use to audit a site's schema, spot-check a few pages after a change, or re-test one post type. Reports unknown terms, wrong property placement, missing required properties, expired offers, redirects and broken references, without changing the site.
Как установить скилл schema-markup-validation?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл schema-markup-validation запускает скрипты?
Нет, скилл состоит только из инструкций (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