Technical SEO

Schema Generator

/schema-gen

Generate valid JSON-LD structured data for any page type. Supports Article, Product, FAQ, LocalBusiness, HowTo, and 20+ other schema types.

Get this skill

Install all free SEO skills with one command:

curl -fsSL https://raw.githubusercontent.com/ccforseo/seo-skills/main/install.sh | bash

Or install this skill manually:

$ git clone https://github.com/ccforseo/seo-skills.git
$ cp -r seo-skills/schema-generator ~/.claude/skills/schema-generator
View on GitHubFree · MIT License · 8 skills included

What it does

Schema Generator is a Claude Code command that produces valid JSON-LD structured data markup for any page type. It analyzes your page content and generates the appropriate schema, including nested entities, required properties, and recommended fields per Google's documentation. The output passes the Rich Results Test and can be pasted directly into your page head.

Key features

  • Supports 20+ schema types including Article, Product, FAQ, and HowTo
  • Auto-detects page type from content when not specified
  • Includes all required and recommended properties per Google guidelines
  • Validates output against schema.org specifications
  • Generates nested entities for complex page structures

How to use Schema Generator

  1. Run the command

    Type /schema-gen followed by the page URL or paste the page content directly.

  2. Select schema type

    Specify the schema type (Article, Product, FAQ, etc.) or let the skill auto-detect it from page content.

  3. Copy the output

    The skill outputs valid JSON-LD. Paste it into your page's <head> section or inject it via your CMS.

When to use it

Adding FAQ schema to blog posts for rich snippets

Generating Product schema for e-commerce pages

Creating Organization schema for homepage

Building HowTo schema for tutorial content

Frequently asked questions

Does the Schema Generator validate against Google's requirements?

Yes. The generated JSON-LD follows Google's structured data guidelines, including all required fields and recommended properties. You can still run it through Google's Rich Results Test for final verification.

Can I generate multiple schema types for one page?

Yes. Many pages need multiple schemas, like Article + FAQ + BreadcrumbList. Specify all types you need and the skill generates a combined JSON-LD block with proper nesting.

What schema types does the Schema Generator support?

It supports Article, Product, FAQ, HowTo, LocalBusiness, Organization, Person, BreadcrumbList, WebSite, Event, Recipe, Review, VideoObject, and more. Custom types can be specified manually.

How do I add the generated schema to my website?

Copy the JSON-LD output and place it inside a <script type="application/ld+json"> tag in your page's <head> section. Most CMS platforms also have schema fields where you can paste it directly.

Get all 50 skills

The SEO Command Center includes every skill in this library plus Python data fetchers, CLAUDE.md configs, and report templates. One-time purchase.

Browse all skills