Schema Generator
/schema-genGenerate 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 | bashOr install this skill manually:
$ git clone https://github.com/ccforseo/seo-skills.git
$ cp -r seo-skills/schema-generator ~/.claude/skills/schema-generatorWhat 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
Run the command
Type /schema-gen followed by the page URL or paste the page content directly.
Select schema type
Specify the schema type (Article, Product, FAQ, etc.) or let the skill auto-detect it from page content.
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.
Related skills
Structured Data Validator
/sd-validateValidate JSON-LD structured data on any page against schema.org specs and Google's rich result requirements. Catches errors before they cost you rich snippets.
Local SEOLocal Business Schema
/local-schemaGenerate LocalBusiness JSON-LD schema markup with all recommended properties. Includes opening hours, service areas, accepted payments, and department details.
Technical SEOSite Audit
/seo-auditRun a full technical SEO audit from your terminal. Checks crawlability, indexation issues, meta tags, page speed signals, and site structure in one pass.
AI VisibilityAEO Content Formatter
/aeo-formatFormat your content for Answer Engine Optimization. Restructures pages with citation blocks, entity definitions, and structured answer patterns that AI engines extract.
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.