想知道 AI 推薦的是你,還是你的競品? 看課程
SEO v1.1.0 2026-10-27 Claude Code

Schema Generator

Structured data that both search engines and AI can read

Auto-selects and generates Schema.org markup by page type — Organization, Product, Article, FAQ, Breadcrumb — validates it, and outputs injection-ready JSON-LD. Specifically handles the common trap of JS-injected markup being invisible to AI crawlers.

schema-generator

The problem it solves

Upgrades structured data from copy-pasted JSON-LD to a full move: field matching by page type, validation, and confirming AI can actually read it.

When to use it

  • Product pages lack Product schema and rich results never show up
  • Ratings and reviews are JS-injected, so AI crawlers see an empty shell
  • A new template is about to launch and needs Organization/Article/FAQ markup complete

What a run is worth

Required fields are matched by page type, so less is written and less is missed
Generated markup is validated before it ships — no broken schema goes live
Specifically hunts the common trap where humans see the data but AI crawlers do not

What it can do

  • Matches schema types and required fields to page types
  • Generates and validates JSON-LD (Rich Results testing)
  • Diagnoses AI-invisibility issues like JS injection and conflicting ratings
  • Single @graph wiring: breadcrumb + Product + rating + reviews + specs + shipping + returns + FAQ, all linked by @id
  • Compliance guardrail: aggregateRating must come from reviews reachable on that page — never a third-party platform’s number on your own Product
  • Applies markup at template level, in bulk

How it runs

The flow lives in the SKILL.md body — each step is confirmed before the next

  1. 1 Identify page types
  2. 2 Match schema types and required fields
  3. 3 Generate JSON-LD
  4. 4 Validate via Rich Results
  5. 5 Inject in bulk and re-verify visibility

What you get per run

  • JSON-LD code per page type
  • Schema audit report
  • Implementation checklist

How to invoke it

Natural-language triggering comes from the frontmatter description; you can also invoke it explicitly

Natural language “Generate and validate Product schema for this product page”
Slash command /schema-generator https://example.com/products/x

SKILL.md frontmatter

Written to the Agent Skills spec — this is what is inside the download

---
name: schema-generator
description: Structured data that both search engines and AI can read. Use when: Product pages lack Product schema and rich results never show up; Ratings and reviews are JS-injected, so AI crawlers see an empty shell; A new template is about to launch and needs Organization/Article/FAQ markup complete.
license: CC-BY-4.0
compatibility: Claude Code only; validation uses validator.schema.org (needs network access)
metadata:
  version: "1.1.0"
  updated: "2026-10-27"
  author: Riven · georiven.com
  category: seo
---

What is in the package

schema-generator/Included in v1.1.0
  • SKILL.md The only required file: frontmatter plus the instructions the agent executes
  • README.md Human-facing readme: install paths, invocation, version, license
  • references/checklist.md Acceptance checklist, loaded on demand
  • LICENSE CC-BY-4.0 license notice
schema-generator/Coming in later versions
  • references/schema-by-page-type.md Page type → schema type and required-field mapping
  • references/ai-visibility-traps.md Checklist for AI-invisibility traps such as JS injection
  • assets/jsonld-templates/ JSON-LD templates per page type

Version record

Old versions are never removed — every row below downloads that exact release

Version Date Changes Download
v1.1.0 Minor 2026-10-27
  • Switches to a single @graph: breadcrumb + Product + rating + reviews + specs + shipping + returns + FAQ linked by @id
  • Adds the compliance guardrail: aggregateRating must come from reviews reachable on that page, never a third-party platform’s number
↓ zip
v1.0.0 Initial 2026-10-26
  • Initial release: SKILL.md + references + templates + scripts, packaged to the Agent Skills spec
  • Covers Organization / Product / Article / FAQ / Breadcrumb templates
↓ zip

Paired courses

Learn the method, then run the skill

  1. GEO-F-018 Schema & Structured Data: A Beginner's Guide
  2. GEO-I-023 Schema.org In Depth: Understanding and Choosing Types(lesson in production)
  3. GEO-I-024 Organization Schema: Marking Up Company Information(lesson in production)
  4. GEO-I-025 Product Schema: Structuring Product Information(lesson in production)
  5. GEO-I-026 Article and FAQ Schema in Practice(lesson in production)
  6. GEO-I-027 Schema Validation and Testing Methods(lesson in production)
← Back to skill library