agentleFS
sharabarinilliasharabarinillia/SEO-GEO-Vercel-Playbook-Skill/skills/structured-data/SKILL.md

structured-data

Skill1 starsChanged 27 days agoMITView on GitHub

Designs, writes and validates JSON-LD structured data (schema.org) for websites. Builds one connected @graph per page (Organization or LocalBusiness, WebSite, WebPage, BreadcrumbList, Service, Product, Article, FAQPage, SoftwareApplication, Event) linked by stable @id values and generated at build time; scripts/jsonld-check.mjs checks every page of a build or live site for parse errors, unresolved @id references, required and recommended properties, absolute URLs and ISO dates. Use it when adding schema markup, chasing rich results, fixing Search Console structured-data errors, or making a business's facts (address, services, opening hours, certifications) machine-readable for search engines and AI assistants.

12 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ai-crawler-access, internal-linking and 2 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • jstanxSkill

    ai-crawler-access

    Make sure answer engines can actually crawl a site, and set a deliberate access policy — the AI bot user-agent landscape, robots.txt rules, CDN/WAF (e.g. Cloudflare) allow/block configuration, and bot verification. Works for any business, B2B or B2C, product or service. Use when the request is to allow or block AI bots, configure robots.txt for GPTBot or ClaudeBot or PerplexityBot, check whether AI crawlers can access a site, fix AI invisibility caused by blocking, or decide a crawler policy. Reference the shared crawler table; pairs with ai-retrievability.

    Also in 3 projects that use this

  • akii-technologies-ltdSkill

    internal-linking

    Analyze and improve internal linking strategy. Use when the user asks about "internal links", "link structure", "site architecture", "link strategy", "orphan pages", "link equity", "page authority distribution", "anchor text", "topical clusters", "siloing", or wants to improve how pages connect.

    Also in 3 projects that use this

  • vijpatel7Skill

    core-web-vitals

    Optimize Core Web Vitals (LCP, INP, CLS) for better page experience and search ranking. Use when asked to "improve Core Web Vitals", "fix LCP", "reduce CLS", "optimize INP", "page experience optimization", or "fix layout shifts".

    Also in 3 projects that use this

  • AnthropicSkill

    seo-audit

    Run a comprehensive SEO audit — keyword research, on-page analysis, content gaps, technical checks, and competitor comparison. Use when assessing a site's SEO health, when finding keyword opportunities and content gaps competitors own, or when you need a prioritized action plan split into quick wins and strategic investments.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 11 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every page's graph is self-contained: if a node is referenced, it is defined on that page (repeat the Organization node.

    line 33
  2. Distinctive:

    No markup for content that isn't visible on the page.

    line 77
  3. Distinctive:

    No fake or self-written reviews and ratings.

    line 78
  4. Distinctive:

    No separate, conflicting graphs from plugins and hand-written blocks on one page: merge them.

    line 80

“Common” is measured: kept by at least 6 in 10 of the 11 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

Structured data (JSON-LD)

Structured data tells machines what a page is about: which business, which service, which answer. It drives rich results where Google still shows them, and it helps search engines and AI assistants read facts without guessing. Google says it is not required for its AI features, but it costs little when it is generated from the same data as the page.

Principles

  1. One @graph per page, in one <script type="application/ld+json"> block, generated at build time with JSON.stringify (never by string concatenation).
  2. Stable @ids link the nodes: https://www.example.com/#org for the business on every page, #website, and <page URL>#webpage per page. Reference with { "@id": "…" }.
  3. Every page's graph is self-contained: if a node is referenced, it is defined on that page (repeat the Organization node; it's small).
  4. Facts only, and the same facts as the page. Markup that claims what the page doesn't show (reviews, prices, hours) breaks Google's guidelines and gets repeated by AI assistants.
  5. dateModified comes from the same source as the sitemap's lastmod, the date the visible content last changed.
  6. Absolute URLs, ISO 8601 dates (2026-11-05 or 2026-11-05T09:30:00+01:00).

Steps

  1. Pick the types. Organization or a LocalBusiness subtype (one business, everywhere); WebSite; WebPage (or AboutPage, ContactPage, CollectionPage) per page; BreadcrumbList on inner pages; then the page's own node: Service, Product, Article, SoftwareApplication (free tools), Event, FAQPage (questions answered on the page), DefinedTermSet (glossaries, reference charts). Patterns: references/graph-patterns.md.
  2. Start from the template assets/graph-template.json and fill it from the site's content data, not by hand per page.
  3. Generate it in the build (a template partial, a Vite/Astro plugin, or generateMetadata in Next.js) and inject it into the <head>.
  4. Validate every page:

    node <skill>/scripts/jsonld-check.mjs --dir dist          # build folder
    node <skill>/scripts/jsonld-check.mjs --sitemap https://www.example.com/sitemap.xml

    Errors (parse failures, unresolved @ids, missing required properties, relative URLs, bad dates) must be fixed; make the build fail on them. Warnings list recommended properties: add one only when the fact is confirmed (no opening hours you don't have).

  5. Spot-check rich results for 3–5 key pages in Google's Rich Results Test and the Schema Markup Validator.
  6. After launch, watch Search Console's enhancement reports for errors.

What to expect from rich results

Google's supported rich results change often; check the Search Gallery before promising one. Notes as of November 2026 are in references/rich-results.md. Markup Google no longer shows does no harm and still describes the page to other consumers.

Don'ts

  • No markup for content that isn't visible on the page.
  • No fake or self-written reviews and ratings.
  • No LocalBusiness without a real address the business confirms.
  • No separate, conflicting graphs from plugins and hand-written blocks on one page: merge them.

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.