carlosuhart/seo-audit-skills/schema-markup

Claude Code and agent skill by carlosuhart/seo-audit-skills

Trust tier 3
  • community
  • ext:[{"type":"plugin","description":"Custom plugin integration"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Schema.org JSON-LD for SEO: type selection, CMS implementation (Yoast, Rank Math, WooCommerce, PrestaShop), documented bugs, validation and rich result eligibility. Use when auditing or implementing structured data or diagnosing rich results in GSC.

Install

npx vskill@latest install carlosuhart/seo-audit-skills/schema-markup

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as carlosuhart/seo-audit-skills/schema-markup.

Schema Markup (JSON-LD) — Technical SEO

All schema referenced here uses JSON-LD format — the only format Google
recommends for new implementations.
Validator: https://validator.schema.org
Rich Results Test: https://search.google.com/test/rich-results

Validator.schema.org vs Rich Results Test — not the same

ToolWhat it validatesWhen to use
validator.schema.orgSchema.org specification compliance — correct types, required properties, enum valuesAlways — primary validation
Rich Results TestWhether Google can generate a rich result from this page's schemaAfter schema is spec-valid, to check Google eligibility
GSC > EnhancementsErrors Google encounters on crawled pages at scaleProduction monitoring

Rule: A schema that passes the Rich Results Test does not mean it is spec-correct. A schema that passes validator.schema.org does not mean it will generate a rich result. Both tools serve different purposes.


Schema type selection

For WordPress/blog sites
Page typeRecommended schema
Homepage (company)Organization or LocalBusiness
Homepage (personal brand)Person
Blog postArticle (or BlogPosting for informal blogs)
Service pageService within a WebPage
About pageAboutPage + Person or Organization
Contact pageContactPage
FAQ sectionFAQPage
BreadcrumbsBreadcrumbList
For e-commerce (WooCommerce, PrestaShop)
Page typeRecommended schema
Product pageProduct + Offer + optionally AggregateRating
Category pageItemList (optional, no rich result)
Checkout / cartNo schema needed
Homepage (shop)Organization
For medical / health sites
Page typeRecommended schema
Medical condition articleMedicalWebPage + MedicalCondition
Treatment pageMedicalWebPage with specialty
Doctor profilePhysician (subtype of MedicalBusiness)
Clinic homepageMedicalBusiness

Core schema types — implementation reference

Organization / LocalBusiness
json
{
"@context": "https://schema.org",
"@type": "LocalBusiness",
"@id": "https://domain.com/#organization",
"name": "Business Name",
"url": "https://domain.com",
"logo": {
"@type": "ImageObject",
"url": "https://domain.com/logo.png",
"width": 300,
"height": 150
},
"address": {
"@type": "PostalAddress",
"streetAddress": "Street Name 123",
"addressLocality": "City",
"postalCode": "28001",
"addressCountry": "ES"
},
"telephone": "+34 900 000 000",
"sameAs": [
"https://www.facebook.com/businessname",
"https://www.instagram.com/businessname",
"https://www.linkedin.com/company/businessname"
]
}

Logo requirements for rich results:

  • Minimum: 112×112px (Google requirement for Knowledge Panel eligibility)
  • 60×60px is invalid for rich result eligibility — do not use
  • Recommended: square or near-square, transparent background (PNG)
  • Must be crawlable and publicly accessible

`sameAs` validation:

  • Each URL must be publicly accessible (200 status)
  • Remove dead services: Google+, defunct social profiles
  • Do not duplicate the same URL twice
  • Limit to authoritative profiles: official social media, Wikipedia, Wikidata
Article / BlogPosting
json
{
"@context": "https://schema.org",
"@type": "Article",
"@id": "https://domain.com/post-slug/#article",
"headline": "Article Title",
"description": "Meta description text",
"image": "https://domain.com/featured-image.jpg",
"datePublished": "2026-01-15T10:00:00+01:00",
"dateModified": "2026-03-20T14:30:00+01:00",
"author": {
"@type": "Person",
"@id": "https://domain.com/author/name/#person",
"name": "Author Name",
"url": "https://domain.com/author/name/"
},
"publisher": {
"@type": "Organization",
"@id": "https://domain.com/#organization",
"name": "Site Name",
"logo": {
"@type": "ImageObject",
"url": "https://domain.com/logo.png"
}
},
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https://domain.com/post-slug/"
}
}

Article vs BlogPosting vs NewsArticle:

  • Article — generic, recommended for most blog/editorial content
  • BlogPosting — informal blog post, no advantage over Article in practice
  • NewsArticle — for news publishers registered with Google News
FAQPage
json
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "Question text here?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Answer text here. Can include basic HTML."
}
},
{
"@type": "Question",
"name": "Second question?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Second answer."
}
}
]
}

FAQPage and rich results (May 7, 2026 update): Google retired FAQ rich results completely on May 7, 2026. FAQPage schema no longer generates accordion dropdowns in Google Search for any site type (including government and health sites, which had been the last exceptions since the 2023 partial restriction).

However, FAQPage is still worth implementing because:

  • Bing and Yahoo still render FAQ rich results for all sites
  • AI tools (ChatGPT, Perplexity, AI Overviews, AI Mode) extract Q&A pairs

from FAQPage for citation and answer generation

  • Google reads Q&A pairs for semantic understanding and topical authority
  • E-E-A-T signal: structured, clear answers support content quality signals

Recommendation: Maintain and add FAQPage implementations. Do not remove them. Do not promise FAQ rich results in Google Search — they no longer exist. Never report FAQPage as a schema issue or error.

BreadcrumbList
json
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{
"@type": "ListItem",
"position": 1,
"name": "Home",
"item": "https://domain.com/"
},
{
"@type": "ListItem",
"position": 2,
"name": "Category Name",
"item": "https://domain.com/category/"
},
{
"@type": "ListItem",
"position": 3,
"name": "Page Title"
}
]
}

Last item: The last ListItem does not need an item property (it is the current page).

Duplicate BreadcrumbList (Yoast + Schema Pro / Elementor): A common issue in WordPress sites using two schema-generating plugins simultaneously. Google may show one or both, or neither if they conflict. Fix: disable breadcrumb schema in one plugin. Yoast handles it well by default.

Product + Offer (WooCommerce / PrestaShop)
json
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Product Name",
"description": "Product description text",
"image": [
"https://domain.com/product-image-1.jpg",
"https://domain.com/product-image-2.jpg"
],
"sku": "SKU-123",
"brand": {
"@type": "Brand",
"name": "Brand Name"
},
"offers": {
"@type": "Offer",
"url": "https://domain.com/product-slug/",
"priceCurrency": "EUR",
"price": "29.99",
"priceValidUntil": "2026-12-31",
"availability": "https://schema.org/InStock",
"itemCondition": "https://schema.org/NewCondition",
"seller": {
"@type": "Organization",
"name": "Store Name"
}
}
}

`availability` must use full schema.org enum URL:

  • "https://schema.org/InStock" — correct
  • "InStock" — accepted by Google but not spec-valid
  • "in stock" — invalid

`price` format: String, not number. "29.99" not 29.99.

`priceValidUntil`: Recommended, not required (Google lists it under Recommended properties of Offer in both the product snippet and merchant listing docs). Do not report its absence as an error. Use it when the price really expires.

Sale price with dates (merchant listing, clarified 07/07/2026): to mark when a sale price is active, use validFrom for the start and either validThrough or priceValidUntil for the end, in ISO 8601. The start must be earlier than or equal to the end. priceValidUntil does not apply to the PriceSpecification type. A common audit finding: a sale price with no end date that stays in the markup after the sale ended.

Merchant listing properties added in 2026:

  • category (07/07/2026): accepts plain text, CategoryCode objects, or an array mixing both.
  • hasAdultConsideration (20/05/2026): marks a product as adult-oriented. Brings parity

with the Merchant Center feed, so mismatches between feed and markup are worth checking on stores that sell such products.

Source: https://developers.google.com/search/docs/appearance/structured-data/merchant-listing and https://developers.google.com/search/docs/appearance/structured-data/product-snippet (read 20/11/2026).

AggregateRating
json
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.7",
"reviewCount": "124",
"bestRating": "5",
"worstRating": "1"
}

Add this inside a Product or LocalBusiness schema.

Requirements for Google to show star ratings:

  • ratingValue, reviewCount (or ratingCount), bestRating are required
  • The ratings must come from actual users — not self-assigned
  • WooCommerce: requires a reviews plugin that exports to JSON-LD
  • PrestaShop: requires the native reviews module with schema export enabled

AggregateRating on pages without visible reviews: Google can penalize sites that show schema ratings but do not display the actual reviews on the page. Only use AggregateRating if the reviews are visible to users.


Claims verification before publishing schema

Any specific claim included in schema markup must be verified on the live site before writing it. This applies to:

  • ratingValue and reviewCount in AggregateRating — verify the actual score and count visible on the page
  • price and priceValidUntil in Offer — verify the current price in the product/service page
  • openingHours in LocalBusiness — verify against the actual hours shown on the site
  • telephone and address — verify they match what is displayed publicly
  • description claims ("guaranteed", "certified", "free") — verify they appear in the visible content

Process:

  1. WebFetch the affected URL before finalizing the schema
  2. Confirm the value matches what is visible to users
  3. If not visible: use a generic verified value or remove the field

A schema that passes validator.schema.org but contains unverified claims is still incorrect — validation tools check structure, not factual accuracy.


Documented bugs and common errors

Schema Pro guarda un snapshot en postmeta que re-guardar el post NO regenera

El bug más caro de diagnosticar de esta lista, porque desafía la intuición: puedes limpiar el contenido del post, verificarlo, volver a guardarlo, y el schema sigue mostrando los datos viejos indefinidamente.

Causa: Schema Pro (wp-schema-pro) no genera el JSON-LD al vuelo en cada carga. Guarda un snapshot renderizado en postmeta —wp_schema_pro_optimized_structured_data, más los campos por plantilla tipo recipe-NNN-ingredients, recipe-NNN-recipe-instructions— y sirve ese snapshot. Rank Math hace algo equivalente con rank_math_schema_*. Disparar save_post no lo reconstruye.

Consecuencia práctica: cualquier corrección masiva sobre content.raw (limpiar enlaces de afiliado inyectados, corregir texto, reparar rutas de imagen rotas) deja el schema intacto con los datos corruptos. El contenido visible queda limpio y los datos estructurados que lee Google siguen sucios, sin ninguna señal visible.

Detección — el campo no lo expone la REST API estándar de WordPress, así que hay que leer el JSON-LD del HTML renderizado:

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
5
Repository forks
1
7-day trend score
14

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Extension points

  • pluginCustom plugin integration

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/carlosuhart/seo-audit-skills/schema-markup/badge)](https://verified-skill.com/skills/carlosuhart/seo-audit-skills/schema-markup)

Something wrong with this skill or its page? Tell us.