Skip to content
Skill

Schema markup

Checks and writes JSON-LD structured data so pages qualify for valid rich results

Schema markup is an open-source agent skill for marketing and seo. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
15
Last commit
License
MIT
Listing updated

Similar skills

About Schema markup

This skill audits the structured data a page or template already outputs, then writes replacement JSON-LD. It inventories JSON-LD, Microdata and RDFa blocks in both raw and rendered HTML, flags duplicates and conflicting values, and checks types against Google's current rich result support, including features that have been retired.

The workflow picks schema.org types according to what each page actually is, fills the properties Google requires and recommends from real page data, and links entities together in a single @graph with stable @id values. It also gives a validation checklist covering the Rich Results Test and the Schema Markup Validator, and reminds the user to confirm markup after deployment.

The skill expects a URL or HTML for representative pages of each template and the business facts the markup will state, such as legal name, logo, prices, shipping and return terms. It works with Search Console reports and CMS or SEO plugin output when available, and it provides a manual check method when no tools are at hand.

When your agent uses it

Detect, validate and write JSON-LD structured data. Pick schema types by page type, fill Google's required properties, link entities in one @graph, and drop retired rich results. Use for "add schema to my site", "check my structured data", "fix Rich Results Test errors", "product schema", "missing field shippingDetails".

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (19 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the romeo-seo plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add RomeoSEO/seo-skills
/plugin install romeo-seo@romeoseo

Or copy only this skill to ~/.claude/skills/schema-markup:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/RomeoSEO/seo-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/schema-markup &&
cp -R "$tmp/skills/schema-markup" ~/.claude/skills/schema-markup &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/schema-markup inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/schema-markup to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/RomeoSEO/seo-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/schema-markup &&
cp -R "$tmp/skills/schema-markup" ~/.agents/skills/schema-markup &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/schema-markup inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/schema-markup to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/RomeoSEO/seo-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/schema-markup &&
cp -R "$tmp/skills/schema-markup" ~/.cursor/skills/schema-markup &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/schema-markup inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/RomeoSEO/seo-skills.git --path skills/schema-markup

Or copy the folder to ~/.gemini/skills/schema-markup yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/schema-markup:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/RomeoSEO/seo-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/schema-markup &&
cp -R "$tmp/skills/schema-markup" ~/.copilot/skills/schema-markup &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/schema-markup inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/RomeoSEO/seo-skills.git

Then copy seo-skills/skills/schema-markup into your agent's skills folder as schema-markup. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Inventory existing markup
Finds every structured data block in raw and rendered HTML and notes its format, source and duplicates.
Retired feature checks
Compares markup types against Google's current rich result support and flags removed features.
Template-based type selection
Matches schema.org types such as Product, Event, JobPosting and Article to each page template.
Single graph JSON-LD
Writes one script holding an @graph with linked entities and stable @id values.
Validation checklist
Provides a pre-deploy and post-deploy checklist covering both Google and schema.org validators.
Shipping and returns markup
Shows how to express shipping details and merchant return policies on product offers.

Good for

  • Add structured data to a new article or blog template
  • Fix Rich Results Test errors such as a missing shippingDetails field
  • Write product schema with price, availability and returns for a shop
  • Check whether a site's existing JSON-LD duplicates its Organization entity
  • Replace retired markup types after a theme or plugin change

Schema markup FAQ

What does the skill need to start?

One representative URL or HTML per page template, a short description of each template, and the facts the markup will state, such as legal name, logo, prices and shipping terms.

Can Schema markup run without online validation tools?

Yes. The skill describes checking the page source for JSON-LD, Microdata or RDFa, linting the JSON, and running Google's Rich Results Test and the Schema Markup Validator manually.

Does Schema markup add FAQ markup for Google rich results?

No. The skill states that FAQ rich results have stopped appearing in Google Search, so it advises against adding FAQPage for Google, though existing markup can be left in place.

Does the skill change live sites?

It drafts the markup and changes, but it says not to apply edits to a live theme, plugin or tag manager without explicit permission for that specific change.

How do I install Schema markup in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/schema-markup to use it in all your projects, or to .claude/skills/schema-markup in one project. Or install the romeo-seo plugin, which includes it: /plugin marketplace add RomeoSEO/seo-skills, then /plugin install romeo-seo@romeoseo.

Does Schema markup run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Schema markup?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Schema markup?

The closest alternatives to Schema markup are Schema markup, Schema, SEO schema, Structured data authoring and Search page audit.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from RomeoSEO/seo-skills

  1. Checks and sets up how AI crawlers, search bots and browsing agents reach your site

    • Open source
    • 15 GitHub stars
    • Marketing and SEO
  2. Finds and fixes what AI answer engines get wrong about a business, tracing claims

    • Open source
    • 15 GitHub stars
    • Marketing and SEO
  3. Restructures a page passage by passage so AI answer engines can quote it accurately

    • Open source
    • 15 GitHub stars
    • Marketing and SEO
  4. Finds the questions buyers ask AI assistants and maps each to the page to cite

    • Open source
    • 15 GitHub stars
    • Marketing and SEO
  5. Measures and improves how AI answer engines cite and recommend a brand

    • Open source
    • 15 GitHub stars
    • Marketing and SEO
  6. Diagnoses why store products are missing or misquoted in AI shopping answers and fixes

    • Open source
    • 15 GitHub stars
    • Marketing and SEO