/seo-skills:schemafrom seo-skills
Guides adding, fixing, and reviewing JSON-LD structured data for rich results: articles, products, FAQs, breadcrumbs, organizations, local businesses, and more.
Ships in seo-skills. 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.
Structured data tells a search engine what a page is rather than making it rank. Done right it earns a richer result and makes the page easier for an engine to summarize. Done wrong it earns a manual action.
Four rules govern everything below:
<script type="application/ld+json"> in the head or at the end of the body. Google recommends it, and it's the only format you can add without touching the page's markup.| Type | Use on | Required |
|---|---|---|
| Organization | Homepage, about page | name, url |
| WebSite | Homepage, to declare a site search | name, url |
| Article, BlogPosting | Posts and news | headline, image, datePublished, author |
| Product | Product pages | name, image, offers |
| SoftwareApplication | App and SaaS pages | name, offers |
| Dataset | Dataset and benchmark pages | name, description |
| FAQPage | A page with real questions and answers | mainEntity |
| HowTo | Step-by-step instructions | name, step |
| BreadcrumbList | Any page with breadcrumbs | itemListElement |
| LocalBusiness | A location page | name, address |
| Event | Events and webinars | name, startDate, location |
references/schema-examples.md has a complete, valid block for each of these plus a combined @graph and a Next.js pattern. references/required-properties.json holds required properties and references/recommended-properties.json holds recommended properties that surface as non-critical Search Console warnings when absent (such as Dataset creator and license). Keep both property maps in sync when adding a type, and never invent a Dataset license URL when the upstream source declares none.
When a page needs several types, prefer one @graph array over several separate script tags: entities can then reference each other by @id instead of repeating themselves.
A fetch of the page shows only server-rendered JSON-LD. CMS SEO plugins commonly inject it client side, so absence in fetched HTML is not absence on the page. Report what the server HTML contained, then send them to the Rich Results Test, which renders JavaScript.
When markup exists but earns nothing, check in this order: a required property missing, a value in the wrong shape (dates must be ISO 8601, URLs absolute, enumerations exact), the type having no rich result to earn, or the markup describing something the page doesn't show.
From this skill directory, run node scripts/validate_schema.mjs <jsonld-file> (or pass - on stdin or --url https://example.com to fetch every server-rendered JSON-LD script from a page). It parses the JSON, walks @graph and nested entities such as ItemList.itemListElement, checks required properties in references/required-properties.json and recommended properties in references/recommended-properties.json, flags local-host URL leaks (localhost, 127.0.0.1), and catches dates that aren't ISO 8601 or relative URLs (including sameAs and license). It's mechanical, so a clean result means the syntax is right and nothing more.
Then point the user at the Rich Results Test at https://search.google.com/test/rich-results for eligibility, and the schema.org validator at https://validator.schema.org/ for correctness against the vocabulary. Those answer different questions from each other and from the tool, so a block can pass one and fail another. None of the three can tell you whether the markup describes what the page actually shows, which is the accuracy rule above and still yours to check.
Give the complete block, ready to paste, with the page's real values filled in rather than placeholders. Say where it goes, name any property you had to leave out and why, and note which rich result it makes the page eligible for, with eligible being the honest word. Google decides whether to show one.
These rules decide whether markup is safe and whether it can earn anything:
FAQPage, HowTo, and a WebSite SearchAction earn nothing in Google Search, so add them only for other consumers and never promise the rich result. WebSite with name and url still sets the site name.offers.price and either aggregateRating or review, and events need a physical Place with an address, since online-only events aren't eligible.JSON.stringify doesn't escape </script>, so Next.js recommends JSON.stringify(schema).replace(/</g, "\\u003c") before dangerouslySetInnerHTML.aggregateRating. Show them as attributed text instead.logo at a version that reads on white, at least 112x112 px, at a crawlable URL.ProfilePage needs a mainEntity Person or Organization with a name, or an alternateName when no name is available. Google recommends the real name in name and social handles in alternateName, plus dateCreated and dateModified on the page, where dateModified ideally changes only when a person edits the profile.sameAs as a page that unambiguously identifies the item, such as its Wikipedia page, Wikidata entry, or official website. On a movie or show page, the IMDb title URL does the same job and tells apart remakes that share a name.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
4 skills in this plugin
/programmatic-seoUse when planning many similar pages from a template and a data set: choosing the pattern, deciding whether the data can carry it, and avoiding the thin-content failure that gets page sets deindexed./seo-auditUse when reviewing a page or site for organic search, or diagnosing why something isn't ranking: crawl and index signals, on-page elements, content quality, and how to order the fixes./site-architectureUse when planning or restructuring what pages a site has and how they connect: hierarchy, navigation, URL patterns, breadcrumbs, and internal linking. Not for XML sitemaps, which are in seo-audit.npx claudepluginhub fcakyon/claude-codex-settings --plugin seo-skillsOther plugins' skills for the same job