# Schema markup

> Schema markup is an open-source agent skill for marketing and seo. Checks and writes JSON-LD structured data so pages qualify for valid rich results. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/RomeoSEO/seo-skills/tree/main/skills/schema-markup
- **Repository:** https://github.com/romeoseo/seo-skills
- **GitHub stars:** 15
- **License:** MIT
- **Skill name:** schema-markup
- **Collection:** https://github.com/RomeoSEO/seo-skills
- **Categories:** [marketing and SEO](https://ai-powered.com/categories/marketing-and-seo)
- **Listing updated:** 2026-12-02

## About

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".

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/RomeoSEO/seo-skills/tree/HEAD/skills/schema-markup)
- [License: MIT](https://github.com/RomeoSEO/seo-skills/tree/HEAD/skills/schema-markup)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

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

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

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Schema markup](https://ai-powered.com/skills/schema-markup): Schema markup is an open-source agent skill for marketing and seo.
- [Schema](https://ai-powered.com/skills/schema-coreyhaines31): Schema is an open-source agent skill for marketing and seo.
- [SEO schema](https://ai-powered.com/skills/seo-schema): SEO schema is an open-source agent skill for marketing and seo.
- [Structured data authoring](https://ai-powered.com/skills/structured-data-authoring): Structured data authoring is an open-source agent skill for marketing and seo.
- [Search page audit](https://ai-powered.com/skills/search-page-audit): Search page audit is an open-source agent skill for marketing and seo.
- [SEO audit](https://ai-powered.com/skills/seo-audit-zeitlos): SEO audit is an open-source agent skill for marketing and seo.
- [SEO page](https://ai-powered.com/skills/seo-page): SEO page is an open-source agent skill for marketing and seo.
- [AI discoverability audit](https://ai-powered.com/skills/ai-discoverability-audit): AI discoverability audit is an open-source agent skill for ai models and llm tooling.

---
Source: https://ai-powered.com/skills/schema-markup-romeoseo
