# /geo-schema: Audit structured data and get JSON-LD that AI can parse

Source: https://trendhub.net/skills/zubair-trabzada-geo-seo-claude/geo-schema
Skill folder: https://github.com/zubair-trabzada/geo-seo-claude/tree/main/skills/geo-schema
Pack: GEO-SEO Claude (https://trendhub.net/skills/zubair-trabzada-geo-seo-claude)
Works with: Claude Code (macOS/Linux, one line), Claude Code (manual), Claude Code (Windows, Git Bash)

The schema skill treats structured data as the way a site tells machines what entity it is. It finds every JSON-LD, Microdata and RDFa block on a page, validates syntax, types and required properties, audits sameAs links to other profiles, flags deprecated types, and writes ready-to-paste JSON-LD in a single @graph for whatever the business type is missing.

## When to use it

- Your homepage has no Organization or LocalBusiness markup.
- Schema is injected by JavaScript and you want to know if that is a problem.
- Author pages lack Person markup and you want stronger expertise signals.

## How it works

1. **Fetch raw HTML**: Uses the bundled fetch script instead of WebFetch, because WebFetch strips the head where JSON-LD usually lives.
2. **Detect and validate**: Parses each block and checks JSON syntax, Schema.org types, required and recommended properties, nesting, URLs and whether it is server-rendered.
3. **Audit sameAs**: Lists the entity's profiles on sites such as Wikipedia, Wikidata and LinkedIn, checks they resolve and match, and notes gaps.
4. **Flag deprecations**: Marks retired or changed types such as SpecialAnnouncement and notes where FAQ or HowTo rich results no longer show.
5. **Generate JSON-LD**: Writes Organization or Person, WebSite, BreadcrumbList and a business-specific type with absolute URLs, @id links and ISO dates.

## What it steers the agent away from

- Relying on WebFetch output that has lost the page head.
- Promising rich results for types Google has restricted.
- Shipping schema that only appears after JavaScript runs.

## What it can touch

Runs the fetch_page.py script on target URLs and writes GEO-SCHEMA-REPORT.md with generated JSON-LD blocks.

## Pairs well with

- `/geo-audit`
- `/geo-llmstxt`
- `/geo-technical`

## Questions

### Which format does it recommend?

JSON-LD placed in the page head; sites using only Microdata or RDFa get a migration flag.

### Does it add the markup to my site?

No. It writes the code blocks and placement notes, and you add them to your templates.
