# Schema Markup skill for Claude

Schema Markup writes and repairs JSON-LD structured data, then checks each block for the fields Google requires for rich results

A 3-minute read, updated Nov 30, 2026

The recorded run

Read the run as text

Search Console flags our product pages and we get no price or stars in results, so audit the markup on our best-selling product page with the pages export and errors and give me fixed JSON-LD

- product-lapsang.html 76 lines
- gsc-pages.csv 24 rows

Using the skill **Schema Markup**

Running schema_validator.py on product-lapsang.html: 4 JSON-LD blocks found

Validator results before the fix

| Block | Score | Flagged |
|---|---|---|
| Product | 82 | price "$18.50", availability "InStock", no image |
| BreadcrumbList | 100 | positions 1, 2, 4 |
| Organization | 70 | no logo or sameAs |
| FAQPage | 100 | answer #3 empty |

Overall **88/100**, but the score only counts which fields exist. Breadcrumb and FAQ score 100 while each carries a real error. The warnings are the findings.

Share of impressions by template (191,520 total)

- Product 63.8% 14 product URLs in export
- Blog 16.7%
- Collection 11.6%
- Homepage 4.9%
- Other pages 3%

Fixes in the product template 5 passed 1 to check

- passed: Add absolute image URL (critical, 38 items)
- passed: Price as number: 18.50
- passed: Availability as https://schema.org/InStock
- passed: Add SKU and 4.7 rating from 212 visible reviews
- passed: Renumber breadcrumb to 1, 2, 3 and fill FAQ answer
- needs a look: Return policy and shipping details need real values

Re-running validator on corrected blocks: 100/100, 0 warnings

Ready to paste into the theme

- One template fix corrects all 38 product pages
- Overall score 88 to 100, warnings 4 to 0
- Organization moved to the site header with logo and sameAs
- Next: Rich Results Test on one URL, then Validate fix in Search Console

The run is one sample task, kept exactly as it came out

- [Download the skill: schema-markup.zip (22 KB)](https://marketingengineeringacademy.com/downloads/schema-markup.zip)

- Files: 6

- SKILL.md: 292 lines

- Works in: claude.ai, Claude Code

- Area: [Technical SEO](https://marketingengineeringacademy.com/areas/technical.html)

Technical SEO

- [Schema Builder](https://marketingengineeringacademy.com/skills/schema-builder.html)
- [Site Architecture](https://marketingengineeringacademy.com/skills/site-architecture.html)
- [Hreflang Audit](https://marketingengineeringacademy.com/skills/hreflang-audit.html)
- [Schema Markup Checker](https://marketingengineeringacademy.com/skills/schema-markup-checker.html)
- [Page-Level SEO Audit](https://marketingengineeringacademy.com/skills/page-level-seo-audit.html)

How it works

## How Schema Markup works step by step

### What it asks about your site

It asks about existing markup, Search Console errors, your CMS, whether you can edit the head tag and which rich results or AI search goals you have

Step **1** of 6

## How a block is scored

The validator script finds every JSON-LD block, including objects inside @graph, and detects the @type. Required fields are worth 70 points and recommended fields 30, shared by how many are present, so Product needs name and offers and Article needs headline, image, datePublished and author. Malformed JSON or a missing @type scores 0, while warnings such as a price with a currency symbol or breadcrumb positions out of order are listed beside the score without lowering it.

## Choosing and stacking types

The selection table pairs each page type with a primary and supporting schema, such as FAQPage for an FAQ page, VideoObject for a video page and CollectionPage with BreadcrumbList for a category page. BreadcrumbList goes on any non-homepage that shows breadcrumbs. Product never goes on a page that does not sell a product, and Product is never nested inside Article.

## What Google still shows

In 2023 Google stopped showing HowTo rich results and limited FAQ rich results to a small set of government and health sites, then ended FAQ rich results for every site in May 2026. The skill still writes FAQPage and HowTo markup because parsers and AI systems read it, but it does not promise dropdowns or steps in results. It checks Google's Search Gallery documentation before promising any rich result.

## Placement and testing

Markup is JSON-LD in a script tag in the head, never Microdata or RDFa, and several blocks per page are fine. Schema added through Google Tag Manager is often not indexed because it renders client-side, so the skill recommends server-side injection. Claude runs the local script on the HTML and asks you to test with Google's Rich Results Test and the schema.org validator before publishing. Search Console Enhancements take 1 to 2 weeks to update after deployment.

## Markup for AI search

For AI search visibility it adds FAQPage to any page with questions and answers, even three of them. Article gets author and datePublished, and both authors and the Organization get sameAs links to real profiles such as LinkedIn or Wikidata. It keeps datePublished and dateModified accurate.

## Rules it keeps

Thresholds and limits written into the skill, each with the reason behind it

Mark up only what a visitor can see on the page

Markup that does not match visible content breaks Google's policy and can cost rich result eligibility

Image URLs start with https:// and the domain, never a bare /path

A relative path is invalid, and image is a required field for Article rich results

Product markup needs an Offer with price, currency and availability to qualify for a product rich result

Google needs the offer details to show price and stock in results

Every block carries @context set to https://schema.org

Without it the schema will not parse at all

A dateModified earlier than datePublished is flagged and fixed

A page cannot be updated before it was published, so the dates must be corrected

## What it needs and what comes back

You give it

- The page HTML or URL and its page type
- Your CMS and whether you can edit the head tag
- Search Console structured data errors, if any
- Real values for fields such as prices, dates and image URLs

It hands back

- An audit report with schemas found, missing required fields, errors and a 0 to 100 score per block in priority order
- Copy-paste JSON-LD per page type
- Corrected JSON-LD with a change log, each with placement notes for your CMS

### When it helps

- Search Console shows structured data errors on product or article pages
- You launch a new page template and need markup before it goes live
- Your product pages show no price or stock details in search results

## Prompts to start with

Check the JSON-LD in our product page HTML and tell me what Google needs that's missing

Write Organization and WebSite schema for the homepage of our dental clinic on WordPress with Yoast

Fix the Article markup in this template, since Search Console says 'Missing field image' on 40 blog posts

## Adding it to Claude

claude.ai

Download `schema-markup.zip`, upload it still zipped in Settings, Capabilities, Skills and ask for the job in a new chat, as Anthropic's [help article on using skills in Claude](https://support.claude.com/en/articles/12512180-use-skills-in-claude) shows

Claude Code

```
unzip schema-markup.zip -d ~/.claude/skills/
```

To use it in one project only, move the `schema-markup` folder into that project's `.claude/skills/`, as the [Claude Code skills docs](https://code.claude.com/docs/en/skills) describe

## Inside the zip

- [schema-markup.zip: 6 files in 22 KB](https://marketingengineeringacademy.com/downloads/schema-markup.zip)

- schema-markup/
- CHANGES.md 3 KB
- SKILL.md 18 KB
- references/
- implementation-patterns.md 9 KB
- schema-types-guide.md 10 KB
- scripts/
- schema_validator.py 15 KB

## Questions

Will FAQ markup get me dropdowns in Google results?

Probably not, since Google limited FAQ rich results in 2023 and ended them for every site in May 2026, so the skill writes FAQPage markup only for parsers and AI answers

Does the skill change my site?

No, Schema Markup gives you the JSON-LD and says where it goes, and you add it to your CMS or page template yourself

More in Technical SEO

- [Schema Builder: JSON-LD code for each page type, checked against Google's current rich results](https://marketingengineeringacademy.com/skills/schema-builder.html)
- [Site Architecture: Plans the page tree, URLs, navigation and internal links of a website](https://marketingengineeringacademy.com/skills/site-architecture.html)
- [Hreflang Audit: Hreflang errors per language version, plus corrected tags or a sitemap](https://marketingengineeringacademy.com/skills/hreflang-audit.html)
- [Schema Markup Checker: Checks the schema on a page for errors and writes JSON-LD you can paste](https://marketingengineeringacademy.com/skills/schema-markup-checker.html)

---

HTML version: https://marketingengineeringacademy.com/skills/schema-markup.html
