seo-schema
它能做什么
这项技能审查并编写网页的结构化数据标记。适合希望页面有资格获得富媒体搜索结果的网站所有者。
适用场景
- ✓当你想检查页面的结构化数据是否有效的时候。
- ✓当你想为页面添加商品或文章标记的时候。
- ✓当你想找出网站上过时或已弃用的结构化数据类型的时候。
技能链接
https://github.com/AgriciDaniel/claude-seo/blob/main/skills/seo-schema/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请检查我商品页面上的结构化数据,并告诉我是否有错误。”
每周 5 个新技能,1 分钟读完。
工作原理
该技能读取页面上的 JSON-LD 标记,并对照必需属性进行检查,然后报告错误,并可编写修正后的或新的标记。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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 (checked October 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",
"nam
常见问题
它推荐哪种格式?
它推荐 JSON-LD,这是 Google 偏好的格式。
哪些结构化数据类型可用于富媒体结果?
该技能列出了 Product、Article、Review、Event 和 JobPosting 等有效类型,并标记已弃用的类型。
它能生成新的标记吗?
能。当你提出要求时,该技能可以生成结构化数据。
详情
作者的原始描述
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.
repo: AgriciDaniel/claude-seo
热度
- GitHub 星标
- 26k
- 排名
- #10014
- 许可证
- MIT
- 更新时间
- 2026/11/1
评论
- …
同一仓库的更多技能
seo-ahrefs
26k让你的智能体获取网站的实时 Ahrefs 数据,包括反向链接、引荐域名、自然关键词和内容创意。需要 Ahrefs API 令牌。
seo-image-gen
26k帮你的智能体使用 Gemini 制作 SEO 图片,例如社交预览卡片、博客头图和信息图。需要先安装 banana 扩展。
seo-bing
26k帮你的智能体检查 Bing Webmaster Tools 数据,并通过 IndexNow 提交新页面网址,帮助 Bing 发现你的页面。
seo-dataforseo
26k让你的智能体从 DataForSEO 获取实时 SEO 数据,例如搜索结果、关键词搜索量、反向链接和 AI 提及情况。每次调用都会由服务商计费。