agentleFS
saizulsaizul/seo-audit-skills/skills/schema-markup/SKILL.md

schema-markup

Skill0 starsChanged 11 days agoMITView on GitHub

Generate and validate schema.org JSON-LD structured data for Article/BlogPosting, Product and Offer, FAQPage, LocalBusiness, Organization, Person, BreadcrumbList, WebSite, Event and VideoObject - from page content or a template - and check it offline against Google rich-result required and recommended properties. Use when the user asks to add structured data, schema markup, JSON-LD or rich snippets, fix Search Console structured-data errors, or wire schema into a CMS or framework template.

76 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use broken-links, keyword-cannibalization and 8 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.
  • akii-technologies-ltdSkill

    broken-links

    Find and fix broken links — three modes with different scale ceilings. `local` audits any local repo (HTML/MD/MDX, no size limit) via Glob/Grep + per-link verification. `page` checks one live URL deeply (~30-100 outbound links per run). `site` requires the Ahrefs site-audit MCP for true multi-page crawl — without it, refuses and tells the user how to get there. Use when the user asks to "check broken links", "find dead links", "fix 404s", "link checker", "broken link audit", "redirect chains", "find dead URLs", "link validation", "mixed content". Accepts a mode modifier (`--mode=local|page|site`); auto-detects from the target if unspecified.

    Also in 3 projects that use this

  • keuperaSkill

    keyword-cannibalization

    Detect and fix cases where several pages on the same site compete for the same query, splitting signals and suppressing all of them. Use whenever the user mentions keyword cannibalization, pages competing with each other, the wrong page ranking for a query, rankings that keep swapping between URLs, duplicate topics, or has published many posts on similar subjects. Also use when a page won't rank despite being good, or when Search Console shows several URLs alternating for one term.

    Also in 3 projects that use this

  • semrushSkill

    internal-link-audit

    Audit internal linking to find orphan pages, broken internal links, crawl-depth problems, and weak anchor distribution, then plan the hub-and-spoke structure that fixes them. Use when the user asks about internal links, orphan pages, site architecture, crawl depth, or how to pass authority to priority pages.

    Also in 3 projects that use this

  • xfstudioSkill

    product-marketing-context

    When the user wants to create or update their product marketing context document. Also use when the user mentions 'product context,' 'marketing context,' 'set up context,' 'positioning,' or wants to avoid repeating foundational information across marketing tasks. Creates `.claude/product-marketing-context.md` that other marketing skills reference.

    Also in 20 projects that use this

  • Prompthon-IOSkill

    ai-search-visibility

    Audit selected page snapshots for target-question answerability, entity positioning, headings, evidence and cross-page consistency, then recheck the same scope after edits. Use for AEO content review; do not promise search ranking, AI citations, indexing or publication.

    Also in 4 projects that use this

  • ukunal91appSkill

    revops

    When the user wants help with revenue operations, lead lifecycle management, or marketing-to-sales handoff processes. Also use when the user mentions 'RevOps,' 'revenue operations,' 'lead scoring,' 'lead routing,' 'MQL,' 'SQL,' 'pipeline stages,' 'deal desk,' 'CRM automation,' 'marketing-to-sales handoff,' 'data hygiene,' 'leads aren't getting to sales,' 'pipeline management,' 'lead qualification,' or 'when should marketing hand off to sales.' Use this for anything involving the systems and processes that connect marketing to revenue. For cold outreach emails, see cold-email. For email drip campaigns, see email-sequence. For pricing decisions, see pricing-strategy.

    Also in 16 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 75 edited versions we read keep these.

  • 2

    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:

    Write structured data that matches what is visible on the page, wire it into the template that renders the page, and validate it before it …

    line 9
  2. Distinctive:

    Search Console reports "Missing field", "Invalid value", "Unparsable structured data"

    line 17

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

Schema markup (JSON-LD)

Write structured data that matches what is visible on the page, wire it into the template that renders the page, and validate it before it ships.

Paths below are relative to this skill's directory.

When to use

  • "Add schema / structured data / JSON-LD to ..." for a page type or template
  • Search Console reports "Missing field", "Invalid value", "Unparsable structured data"
  • Choosing which schema type fits a page; reviewing existing markup

When not to use

  • Visible on-page problems (titles, headings): on-page-seo-review.
  • Marking up content that is not on the page, fake reviews or self-serving ratings on your own organisation: refuse - this violates Google's structured data policies and can trigger a manual action.

Workflow

  1. Pick the type from the page's main purpose (one primary entity per page):

    PagePrimary typeUsually also
    Blog post, news, guideBlogPosting / NewsArticle / ArticleBreadcrumbList, author Person
    Product detailProduct with offersAggregateRating/Review only if shown on the page, BreadcrumbList
    Shop, office, clinic, restaurantLocalBusiness subtype (Store, Dentist, Restaurant...)Organization on the homepage
    HomepageOrganization + WebSite-
    Author / team memberPerson (or ProfilePage with mainEntity Person)-
    FAQ sectionFAQPage(rich result limited to gov/health sites, still valid)
    Event, webinarEventOffer for tickets
    Video pageVideoObject-
  2. Start from a template in assets/templates/ (article, product, faqpage, localbusiness, organization, person, breadcrumblist, website). Replace every example value with real data from the page or the CMS fields. Delete properties you cannot fill truthfully rather than inventing values.
  3. Connect entities with @id. Give the Organization "@id": "https://example.com/#organization" and reference it from publisher, brand or worksFor as {"@id": "..."}. Put several entities in one block with @graph.
  4. Wire it into the template, generating values from the same data the page renders (title, price, dates, author). Patterns for Next.js, Astro, Hugo, Jekyll, WordPress and Django are in references/implementation.md. Escape < as < when serialising user content into a <script> tag.
  5. Validate offline: python3 scripts/validate_jsonld.py built-page.html --json (HTML: extracts every application/ld+json block) python3 scripts/validate_jsonld.py snippet.json Fix every error. Fix warnings when the data exists. Use --strict in CI. python3 scripts/validate_jsonld.py --list-types prints the rules.
  6. Final check: tell the user to run the deployed URL through Google's Rich Results Test and the Schema Markup Validator; the offline validator does not know every Google rule or policy.

Rules that cause most errors

  • Dates are ISO 8601 with a timezone: 2026-01-15T08:00:00+00:00.
  • price is a number or numeric string ("129.00"), never "$129"; priceCurrency is ISO 4217 (USD).
  • availability uses full URLs: https://schema.org/InStock.
  • URLs (url, image, logo, item, sameAs) are absolute.
  • author is a Person/Organization object with name (and ideally url), not a string.
  • A Review or AggregateRating must sit inside the item it rates or name it in itemReviewed.
  • BreadcrumbList positions run 1..n; every crumb except the last needs item.
  • Values must match visible content. Do not mark up hidden text.

More per-type detail: references/types.md.

Output

  • The JSON-LD (in a fenced json block or as a code change to the template).
  • The validator result after your fix: OK - no issues, or the remaining warnings with a reason each is acceptable.
  • Where the markup lives (file and component) and which data source fills each field.
  • A one-line reminder to confirm with the Rich Results Test after deploy.

Files

  • scripts/validate_jsonld.py - offline validator (HTML or JSON input, @graph, nested entities, --strict, --json, --list-types).
  • assets/templates/*.json - valid starting points for each core type.
  • references/types.md - required/recommended properties per type and rich-result status.
  • references/implementation.md - how to render JSON-LD in common frameworks and CMSs.

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.