MR
Mayur Rathi
@sickn33
⭐ 47.3k GitHub stars

geo-schema

geo-schema is an code AI skill with a core value of Schema. It helps developers solve real-world problems in the code domain, boosting efficiency, automating repetitive tasks, and optimizing workflows.

Schema.org structured data audit and generation optimized for AI discoverability — detect, validate, and generate JSON-LD markup

Last verified on: 2026-10-06

Quick Facts

Category code
Works With Claude
Source sickn33/antigravity-awesome-skills
Stars ⭐ 47.3k
Last Verified 2026-10-06
Risk Level Low
mkdir -p ./skills/geo-schema && curl -sfL https://raw.githubusercontent.com/sickn33/antigravity-awesome-skills/main/skills/geo-schema/SKILL.md -o ./skills/geo-schema/SKILL.md

Run in terminal / PowerShell. Requires curl (Unix) or PowerShell 5+ (Windows).

Skill Content

# 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


1. Fetch the target page HTML using `fetch_page.py` (see note below)

2. Detect all existing structured data (JSON-LD, Microdata, RDFa)

3. Validate detected schemas against Schema.org specifications

4. Identify missing recommended schemas based on business type

5. Generate ready-to-use JSON-LD code blocks

6. 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:

bash
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:


1. **Valid JSON**: Is the JSON-LD syntactically valid? Check for trailing commas, unquoted keys, malformed strings.

2. **Valid @type**: Does the `@type` match a recognized Schema.org type? Check against https://schema.org/docs/full.html.

3. **Required Properties**: Does the schema include all required properties for its type? (See per-type requirements below.)

4. **Recommended Properties**: Does the schema include recommended properties that increase AI discoverability?

5. **sameAs Links**: Does the schema include `sameAs` properties linking to other platform presences?

6. **URL Validity**: Do all URLs in the schema resolve (not 404)?

7. **Nesting**: Is the schema properly nested (e.g., author inside Article, address inside Organization)?

8. **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 name

- `url`: Official website URL

- `logo`: 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 organization

- `foundingDate`: ISO 8601 date

- `founder`: Person schema

- `address`: PostalAddress schema

- `contactPoint`: ContactPoint with telephone, email, contactType

- `areaServed`: Geographic area

- `numberOfEmployees`: QuantitativeValue

- `industry`: Text or DefinedTerm

- `award`: Array of awards received

- `knowsAbout`

🎯 Best For

  • Developers scaffolding new projects
  • Prototype builders
  • Claude users
  • Software engineers
  • Development teams

💡 Use Cases

  • Bootstrapping React components
  • Creating API route handlers
  • Code quality improvement
  • Best practice enforcement

📖 How to Use This Skill

  1. 1

    Install the Skill

    Copy the install command from the Terminal tab and run it. The SKILL.md file downloads to your local skills directory.

  2. 2

    Load into Your AI Assistant

    Open Claude and reference the skill. Paste the SKILL.md content or use the system prompt tab.

  3. 3

    Apply geo-schema to Your Work

    Open your project in the AI assistant and ask it to apply the skill. Start with a small module to verify the output quality.

  4. 4

    Review and Refine

    Review AI suggestions before committing. Run tests, check for regressions, and iterate on the skill output.

❓ Frequently Asked Questions

Can I customize the generated output?

Yes — modify the skill's prompt instructions to match your project conventions and coding style.

Is geo-schema compatible with Cursor and VS Code?

Yes — this skill works with any AI coding assistant including Cursor, VS Code with Copilot, and JetBrains IDEs.

Do I need specific dependencies for geo-schema?

Check the install command and Works With section. Most code skills only require the AI assistant and your codebase.

How do I install geo-schema?

Copy the install command from the Terminal tab and run it. The skill downloads to ./skills/geo-schema/SKILL.md, ready to use.

Can I customize this skill for my team?

Absolutely. Edit the SKILL.md file to add team-specific instructions, examples, or workflows.

⚠️ Common Mistakes to Avoid

Using generated code without understanding

Understand what generated code does before shipping it to production.

Skipping validation

Always test AI-generated code changes, even for simple refactors.

Missing dependency updates

Check if the skill requires updated dependencies or new packages.

🔗 Related Skills