seo-schema
agricidaniel/claude-seo
Detect, validate, and generate Schema.org JSON-LD markup for SEO rich results.
What is seo-schema?
Analyzes pages for structured data (JSON-LD, Microdata, RDFa), validates against Google's current schema requirements, and generates compliant markup. Use when optimizing for search rich results or auditing existing schema implementation.
- Extract and parse JSON-LD, Microdata, and RDFa from web pages
- Validate schema markup against Google's supported rich-result types and required properties
- Flag deprecated schema types (HowTo, FAQPage, SpecialAnnouncement, etc.) with retirement dates
- Generate ready-to-use JSON-LD templates for Organization, LocalBusiness, Article, Product, and other active types
- Detect common errors: missing @context, invalid @type, relative URLs, placeholder text, and incorrect date formats
- Check for JavaScript-rendered markup and advise on server-side rendering for time-sensitive data like pricing
How to install seo-schema
npx skills add https://github.com/agricidaniel/claude-seo --skill seo-schemaHow to use seo-schema
- 1.Provide a URL or page content to analyze
- 2.Review the detection report showing all JSON-LD, Microdata, and RDFa blocks found
- 3.Check the validation results table for errors, deprecated types, and missing required properties
- 4.Use generated JSON-LD templates to fix issues or add missing schema types
- 5.Test the corrected markup in Google's Rich Results Test before deploying
Use cases
- Audit a website's existing schema markup and identify validation issues before submitting to Google Search Console
- Generate JSON-LD for a new product page, article, or local business to enable rich snippets in search results
- Migrate deprecated schema types (e.g., HowTo, FAQPage) to current alternatives or remove them
- Validate that review markup includes proper disclosure of incentivized reviews and no fake reviews
- Check if dynamically generated Product markup needs server-side rendering for reliable Shopping feed crawling
- SEO specialists and content marketers optimizing for rich results
- Web developers implementing structured data markup
- E-commerce teams managing product schema and pricing markup
- Publishers and bloggers adding Article/NewsArticle schema
- Local business owners setting up LocalBusiness and Organization markup
seo-schema FAQ
JSON-LD is Google's stated preference and is easiest to implement; it's embedded in <script> tags. Microdata uses HTML attributes like itemscope and itemprop. RDFa uses typeof and property attributes. All three can work, but JSON-LD is recommended as the primary format.
Common causes: missing @context, invalid @type, relative URLs instead of absolute, placeholder text, or if the markup is JavaScript-rendered, Google may crawl it less frequently. For time-sensitive data like price and availability, include JSON-LD in server-rendered HTML.
No. Google retired FAQ rich results for all sites on May 7, 2026. Use QAPage instead for genuine Q&A pages, or remove FAQPage markup. Existing FAQPage blocks should be flagged as informational, not critical.
HowTo (Sept 2023), SpecialAnnouncement (July 2025), CourseInfo, EstimatedSalary, LearningVideo, ClaimReview, VehicleListing, and Practice Problem. Never recommend these for new implementations; flag them for removal or replacement.
Google supports JavaScript-rendered structured data, but dynamically generated Product markup can reduce Shopping crawl frequency and reliability. For fast-changing prices and availability, include JSON-LD in the initial server-rendered HTML.
Full instructions (SKILL.md)
Source of truth, from agricidaniel/claude-seo.
name: seo-schema description: > Detect, validate, or generate Schema.org JSON-LD for a supplied page or entity. Use only when structured data or rich-result markup is requested. user-invocable: true argument-hint: "[url]" license: MIT metadata: author: AgriciDaniel version: "2.4.1" category: seo
Schema Markup Analysis & Generation
Detection
- Extract JSON-LD with
"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run parse_html.py --url <url> --json(or scan<script type="application/ld+json">in the page source). Flag any block without@contextor@type: Google cannot attach it to an entity (a rating in such a block does not reach the Product). - Check for Microdata (
itemscope,itemprop) - Check for RDFa (
typeof,property) - Always recommend JSON-LD as primary format (Google's stated preference)
Validation
- Check required properties per schema type
- Validate against Google's supported rich result types
- Test for common errors:
- Missing @context
- Invalid @type
- Wrong data types
- Placeholder text
- Relative URLs (should be absolute)
- Invalid date formats
- Flag deprecated types (see below)
Schema Type Status (as of June 2026)
Read ../seo/references/schema-types.md for the full list. Key rules:
ACTIVE (recommend freely):
Organization, LocalBusiness, SoftwareApplication, WebApplication, Product (with Certification markup as of April 2025), ProductGroup, Offer, Service, Article, BlogPosting, NewsArticle, Review, AggregateRating, BreadcrumbList, WebSite, WebPage, Person, ProfilePage, ContactPage, VideoObject, ImageObject, Event, JobPosting, Course, DiscussionForumPosting
VIDEO & SPECIALIZED (recommend freely):
BroadcastEvent, Clip, SeekToAction, SoftwareSourceCode
See schema/templates.json for ready-to-use JSON-LD templates for these types.
JSON-LD and JavaScript rendering: Google supports structured data generated with JavaScript, but its "Generate structured data with JavaScript" guide (last updated 2025-12-10) warns that dynamically generated Product markup can make Shopping crawls less frequent and less reliable for fast-changing price and availability. For time-sensitive markup (especially Product, Offer), include JSON-LD in the initial server-rendered HTML.
NO RICH RESULTS, KEEP IF USEFUL:
- FAQPage: Google retired FAQ rich results for ALL sites on May 7, 2026 (supersedes the Aug 2023 gov/health restriction). No Google SERP rich-result benefit; flag existing FAQPage at Info (not Critical) rather than removal. For genuine user Q&A pages, use QAPage.
DEPRECATED (never recommend):
- HowTo: Rich results removed September 2023
- SpecialAnnouncement: Deprecated July 31, 2025
- CourseInfo, EstimatedSalary, LearningVideo: Retired June 2025
- ClaimReview: No Search rich result since June 2025. Google's Fact Check Explorer still uses the markup, so fact-checking publishers may keep it; never recommend it for SERP features
- VehicleListing: Retired from rich results June 2025
- Practice Problem: Deprecation notice 2025-11-05; tooling support removed starting January 2026; documentation removed 2026-01-06
- Search Console / Rich Results Test / appearance-filter support for CourseInfo, ClaimReview, EstimatedSalary, LearningVideo, SpecialAnnouncement, VehicleListing was removed 2025-09-09 (Search Console API through December 2025).
Still supported (despite earlier phase-out notices):
- Book Actions: NOT deprecated. The June 2025 phase-out banner was removed on 2025-11-05 because a Search feature still uses the markup.
Supported for Dataset Search only:
- Dataset: Not discontinued; consumed by Google Dataset Search, with no Google Search rich-result surface. Don't advise removal as if it were killed.
Still supported (do not flag):
- QAPage (expanded comment-thread properties 2026-03-24), DiscussionForumPosting, Education Q&A (Quiz /
eduQuestionType=Flashcard). For e-commerce, hasAdultConsideration (added 2026-05-20; valuehttps://schema.org/SexualContentConsideration) is required for adult products.Product.categoryacceptsText,CategoryCode, or arrays mixing both.
Generation
When generating schema for a page:
- Identify page type from content analysis
- Select appropriate schema type(s)
- Generate valid JSON-LD with all required + recommended properties
- Include only truthful, verifiable data. Use placeholders clearly marked for user to fill
- Validate output before presenting
- For review markup, reject fake reviews and undisclosed incentivized reviews. An incentive must be clearly and prominently disclosed on the page.
Common Schema Templates
Organization
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "[Company Name]",
"url": "[Website URL]",
"logo": "[Logo URL]",
"contactPoint": {
"@type": "ContactPoint",
"telephone": "[Phone]",
"contactType": "customer service"
},
"sameAs": [
"[Facebook URL]",
"[LinkedIn URL]",
"[Twitter URL]"
]
}
LocalBusiness
{
"@context": "https://schema.org",
"@type": "LocalBusiness",
"name": "[Business Name]",
"address": {
"@type": "PostalAddress",
"streetAddress": "[Street]",
"addressLocality": "[City]",
"addressRegion": "[State]",
"postalCode": "[ZIP]",
"addressCountry": "US"
},
"telephone": "[Phone]",
"openingHours": "Mo-Fr 09:00-17:00",
"geo": {
"@type": "GeoCoordinates",
"latitude": "[Lat]",
"longitude": "[Long]"
}
}
Article/BlogPosting
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "[Title]",
"author": {
"@type": "Person",
"name": "[Author Name]"
},
"datePublished": "[YYYY-MM-DD]",
"dateModified": "[YYYY-MM-DD]",
"image": "[Image URL]",
"publisher": {
"@type": "Organization",
"name": "[Publisher]",
"logo": {
"@type": "ImageObject",
"url": "[Logo URL]"
}
}
}
Output
SCHEMA-REPORT.md: detection and validation resultsgenerated-schema.json: ready-to-use JSON-LD snippets
Validation Results
| Schema | Type | Status | Issues |
|---|---|---|---|
| ... | ... | ✅/⚠️/❌ | ... |
Recommendations
- Missing schema opportunities
- Validation fixes needed
- Generated code for implementation
Error Handling
| Scenario | Action |
|---|---|
| URL unreachable | Report connection error with status code. Suggest verifying URL and checking if the page requires authentication. |
| No schema markup found | Report that no JSON-LD, Microdata, or RDFa was detected. Recommend appropriate schema types based on page content analysis. |
| Invalid JSON-LD syntax | Parse and report specific syntax errors (missing brackets, trailing commas, unquoted keys). Provide corrected JSON-LD output. |
| Deprecated schema type detected | Flag the deprecated type with its retirement date. Recommend the current replacement type or advise removal if no replacement exists. |
Related skills
More from agricidaniel/claude-seo and the wider catalog.

seo-sitemap
Analyze existing XML sitemaps or generate new ones with validation and industry templates.

seo-sxo
Diagnose ranking problems by comparing your page type against what Google actually rewards in search results.

seo-technical
Audit technical SEO: crawlability, indexability, security, mobile, Core Web Vitals, and structured data.

seo
Comprehensive SEO analysis, audits, technical checks, schema markup, content quality, and AI Overview optimization for any website.

day1-onboarding
AI Native Camp Day 1 onboarding: learn Claude Code through guided conversation and hands-on exercises.

day2-create-context-sync-skill
Build your own context sync skill to collect information from multiple external tools into a unified document.