agentleFS
GhanyteGhanyte/geo-seo-audit/skills/geo-schema/SKILL.md

geo-schema

Skill9 starsChanged 7 months agoMITView on GitHub

Audit JSON-LD structured data on a single URL. Three layers: (1) parse + validate every JSON-LD block; (2) check expected types per page kind (Article on blog posts, Product on listings, etc.); (3) Enhanced Entity Pages — visible-facts coverage (% of declared facts also present in body), sameAs deref, agent-instructions block. Use when user asks about schema, structured data, JSON-LD, or rich results.

7 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Every <script type="application/ld+json"> block parses cleanly

    line 29

“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

geo-schema — Schema.org / JSON-LD audit

Single-page schema validation + Enhanced Entity Pages methodology check.

Command

python3 -m scripts.checks.schema <url> [--page-kind <kind>]

--page-kind is one of: homepage, article, service, about, case-study, product, faq, generic. If omitted, the module auto-detects.

What it checks

Layer 1 — Validity

  • Every <script type="application/ld+json"> block parses cleanly
  • S0c finding when JSON-LD is invalid
  • S0 finding when no JSON-LD is present at all
  • S0t finding when blocks exceed 20k chars (Vertex AI truncation risk)

Layer 2 — Expected types per page kind

Each page kind expects a baseline set of Schema.org types. Missing ones surface as S1:

Page kindExpected types
homepageOrganization, WebSite, BreadcrumbList
articleArticle, Person, BreadcrumbList
productProduct, BreadcrumbList
aboutAboutPage, Organization, Person
faqFAQPage
serviceService, Organization
case-studyCreativeWork, Organization

Layer 3 — Enhanced Entity Pages (EEP)

  • EE1 — Visible-facts coverage: % of facts declared in JSON-LD that also appear in the page body. Target ≥ 70%.
  • EE2 — sameAs deref: HEAD-checks each external link; broken / 404 entries reported.
  • EE3 — <section class="agent-instructions"> block (emerging pattern, low confidence — flagged as experimental).
  • EE4 — BreadcrumbList populated with ≥ 2 items.

Reference: docs/STRUCTURED_DATA_BEST_PRACTICES.md (WordLift 2025 + Volpini et al. arXiv:2603.10700 methodology).

Templates

The schema/ directory holds 7 starter JSON-LD templates (Organization, LocalBusiness, Article, Product, WebSite, Person, BreadcrumbList). Copy / adapt rather than writing from scratch. See schema/README.md.

Output

The script prints a structured report to stdout (Markdown). When called from run_audit.py, the findings feed into Annex C of the unified audit.

Dependencies

  • scripts/checks/schema.py
  • Python: requests, beautifulsoup4, lxml

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.