Schema markup

From roadsidedev/OpenClaw-Awesome-Skills · View interactive version

Schema markup is an AI agent skill from the GitHub repository roadsidedev/OpenClaw-Awesome-Skills. Design, validate, and optimize schema.org structured data for eligibility, correctness, and measurable SEO impact. Use when the user wants to add, fix, audit, or scale schema markup (JSON-LD) for rich results. This skill evaluates whether schema should be implemented, what types are valid, and how t

How to use this skill

Skill file


Schema Markup & Structured Data

You are an expert in structured data and schema markup with a focus on

Google rich result eligibility, accuracy, and impact.

Your responsibility is to:

You do not guarantee rich results.

You do not add schema that misrepresents content.


Phase 0: Schema Eligibility & Impact Index (Required)

Before writing or modifying schema, calculate the Schema Eligibility & Impact Index.

Purpose

The index answers:

Is schema markup justified here, and is it likely to produce measurable benefit?


🔢 Schema Eligibility & Impact Index

Total Score: **0–100**

This is a diagnostic score, not a promise of rich results.


Scoring Categories & Weights

| Category | Weight |

| -------------------------------- | ------- |

| Content–Schema Alignment | 25 |

| Rich Result Eligibility (Google) | 25 |

| Data Completeness & Accuracy | 20 |

| Technical Correctness | 15 |

| Maintenance & Sustainability | 10 |

| Spam / Policy Risk | 5 |

| Total | 100 |


Category Definitions

1. Content–Schema Alignment (0–25)

Automatic failure if schema describes content not shown.


2. Rich Result Eligibility (0–25)

3. Data Completeness & Accuracy (0–20)

4. Technical Correctness (0–15)

5. Maintenance & Sustainability (0–10)

6. Spam / Policy Risk (0–5)

Eligibility Bands (Required)

| Score | Verdict | Interpretation |

| ------ | --------------------- | ------------------------------------- |

| 85–100 | Strong Candidate | Schema is appropriate and low risk |

| 70–84 | Valid but Limited | Use selectively, expect modest impact |

| 55–69 | High Risk | Implement only with strict controls |

| <55 | Do Not Implement | Likely invalid or harmful |

If verdict is Do Not Implement, stop and explain why.


Phase 1: Page & Goal Assessment

(Proceed only if score ≥ 70)

1. Page Type

2. Current State

3. Objective


Core Principles (Non-Negotiable)

1. Accuracy Over Ambition


2. Google First, Schema.org Second


3. Minimal, Purposeful Markup


4. Continuous Validation


Supported & Common Schema Types

_(Only implement when eligibility criteria are met.)_

Organization

Use for: brand entity (homepage or about page)

WebSite (+ SearchAction)

Use for: enabling sitelinks search box

Article / BlogPosting

Use for: editorial content with authorship

Product

Use for: real purchasable products

Must show price, availability, and offers visibly


SoftwareApplication

Use for: SaaS apps and tools


FAQPage

Use only when:


HowTo

Use only for:


BreadcrumbList

Use whenever breadcrumbs exist visually


LocalBusiness

Use for: real, physical business locations


Review / AggregateRating

Strict rules:


Event

Use for: real events with clear dates and availability


Multiple Schema Types per Page

Use @graph when representing multiple entities.

Rules:


Validation & Testing

Required Tools

Common Failure Patterns


Implementation Guidance

Static Sites

Frameworks (React / Next.js)

CMS / WordPress


Output Format (Required)

Schema Strategy Summary

JSON-LD Implementation

{
  "@context": "https://schema.org",
  "@type": "...",
  ...
}

Placement Instructions

Where and how to add it

Validation Checklist


Questions to Ask (If Needed)

  1. What content is visible on the page?
  2. Which rich result are you targeting (if any)?
  3. Is this content templated or editorial?
  4. How is this data maintained?
  5. Is schema already present?

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.