geo-schema
Schema.org structured data audit and generation optimized for AI discoverability — detect, validate, and generate JSON-LD markup
geo-seo-claude · 已有 AI 审核记录
安装与使用
运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。
npx skills add zubair-trabzada/geo-seo-claude --skill geo-schema技能说明
name: geo-schema description: Schema.org structured data audit and generation optimized for AI discoverability — detect, validate, and generate JSON-LD markup version: 1.0.0 author: geo-seo-claude tags: [geo, schema, structured-data, json-ld, entity-recognition, ai-discoverability] allowed-tools: Read, Grep, Glob, Bash, WebFetch, Write
GEO Schema & Structured Data
Purpose
Structured data is the primary machine-readable signal that tells AI systems what an entity IS, what it does, and how it connects to other entities. While schema markup has traditionally been about earning Google rich results, its role in GEO is fundamentally different: structured data is how AI models understand and trust your entity. A complete entity graph in structured data dramatically increases citation probability across all AI search platforms.
How to Use This Skill
- Fetch the target page HTML using
fetch_page.py(see note below) - Detect all existing structured data (JSON-LD, Microdata, RDFa)
- Validate detected schemas against Schema.org specifications
- Identify missing recommended schemas based on business type
- Generate ready-to-use JSON-LD code blocks
- Output GEO-SCHEMA-REPORT.md
Step 1: Detection
IMPORTANT: WebFetch converts HTML to markdown and strips <head> content, which removes JSON-LD blocks. Use fetch_page.py instead:
python3 ~/.claude/skills/geo/scripts/fetch_page.py <url> page
The output includes a structured_data array with all parsed JSON-LD blocks from the page.
Scan for JSON-LD
Look for <script type="application/ld+json"> blocks in the HTML. Parse each block as JSON. A page may contain multiple JSON-LD blocks — collect all of them.
Scan for Microdata
Look for elements with itemscope, itemtype, and itemprop attributes. Map the hierarchy of nested items. Note: Microdata is harder for AI crawlers to parse than JSON-LD. Flag a recommendation to migrate to JSON-LD if Microdata is the only format found.
Scan for RDFa
Look for elements with typeof, property, and vocab attributes. Similar to Microdata — recommend migration to JSON-LD.
Priority Order
JSON-LD is the strongly recommended format for GEO. Google, Bing, and AI platforms all process JSON-LD most reliably. If the site uses Microdata or RDFa exclusively, flag this as a high-priority migration.
Step 2: Validation
For each detected schema block, validate:
- Valid JSON: Is the JSON-LD syntactically valid? Check for trailing commas, unquoted keys, malformed strings.
- Valid @type: Does the
@typematch a recognized Schema.org type? Check against https://schema.org/docs/full.html. - Required Properties: Does the schema include all required properties for its type? (See per-type requirements below.)
- Recommended Properties: Does the schema include recommended properties that increase AI discoverability?
- sameAs Links: Does the schema include
sameAsproperties linking to other platform presences? - URL Validity: Do all URLs in the schema resolve (not 404)?
- Nesting: Is the schema properly nested (e.g., author inside Article, address inside Organization)?
- Rendering Method: Is the JSON-LD in the server-rendered HTML or injected via JavaScript? Per Google's December 2025 guidance, JavaScript-injected structured data may face delayed processing. Flag any schema that requires JS execution.
Step 3: Schema Types for GEO
Organization (CRITICAL — every business site)
Essential for entity recognition across all AI platforms. This is how AI models identify WHAT the business is.
Required properties:
@type: "Organization" (or subtype: Corporation, LocalBusiness, etc.)name: Official business nameurl: Official website URLlogo: URL to logo image (ImageObject preferred)
Recommended properties for GEO:
sameAs: Array of ALL platform URLs (see sameAs strategy below)description: 1-2 sentence description of the organizationfoundingDate: ISO 8601 datefounder: Person schemaaddress: PostalAddress schemacontactPoint: ContactPoint with telephone, email, contactTypeareaServed: Geographic areanumberOfEmployees: QuantitativeValueindustry: Text or DefinedTermaward: Array of awards receivedknowsAbout: Array of topics the organization is expert in (strong GEO signal)
LocalBusiness (for businesses with physical locations)
Extends Organization. Critical for local AI search results and Google Gemini.
Additional required properties:
address: Full PostalAddresstelephone: Phone numberopeningHoursSpecification: Operating hours
Recommended for GEO:
geo: GeoCoordinates (latitude, longitude)priceRange: Price indicatoraggregateRating: AggregateRating schemareview: Array of Review schemashasMap: URL to Google Maps
Article + Author (CRITICAL for publishers)
The Author schema is one of the strongest E-E-A-T signals for AI platforms.
Article required:
@type: "Article" (or NewsArticle, BlogPosting, TechArticle)headline: Article titledatePublished: ISO 8601dateModified: ISO 8601 (critical for freshness signals)author: Person or Organization schemapublisher: Organization schema with logoimage: Representative image
Author (Person) required for GEO:
name: Full nameurl: Author page URL on the sitesameAs: LinkedIn, Twitter, personal site, Google Scholar, ORCIDjobTitle: Professional titleworksFor: Organization schemaknowsAbout: Array of expertise areasalumniOf: Educational institutionsaward: Professional awards
Product (for e-commerce)
Required:
name,description,imageoffers: Offer with price, priceCurrency, availabilitybrand: Brand schemaskuorgtin/mpn
Recommended for GEO:
aggregateRating: AggregateRatingreview: Array of individual reviewscategory: