structured-data
它能做什么
这个技能检查页面是否有描述其内容的结构化数据,并为页面添加合适的类型。它面向希望自己的搜索结果更醒目的网站所有者。
适用场景
- ✓你请智能体为文章、商品或本地商家页面添加结构化数据的时候。
- ✓你的搜索结果显示很朴素,而你希望显示常见问题或星级等细节的时候。
- ✓你不确定哪种结构化数据类型适合某个页面的时候。
技能链接
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/structured-data/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我为页面添加合适的结构化数据,让它们能在 Google 结果中显示更丰富的细节吗?”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会识别每个页面的内容类型,并以 JSON-LD 格式添加对应的 Schema.org 代码块,例如 Article、Product、FAQ 或 LocalBusiness。然后它会建议用 Google 的富媒体结果测试工具检查结果。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Add structured data markup
Structured data enables rich snippets with stars, prices, images, and FAQ dropdowns in search results—significantly increasing click-through rates.
Quick Reference
- Structured data enables rich snippets in search results
- Use JSON-LD format (Google recommended)
- Common types: Article, Product, FAQ, HowTo, LocalBusiness
- Validate with Google Rich Results Test
Check
Analyze if this webpage implements structured data using Schema.org vocabulary. Check for JSON-LD, Microdata, or RDFa markup.
Fix
Add appropriate Schema.org structured data to this webpage based on its content type (Article, Product, LocalBusiness, etc.).
Explain
Explain how structured data helps search engines understand page content and enables rich snippets in search results.
Code Review
Review metadata generation, rendered HTML, structured data, and response headers related to Add structured data markup. Flag exact routes or templates where search-facing output violates the rule, and describe how to verify the final page output.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/rules/seo/structured-data
常见问题
什么是 JSON-LD?
它是一种结构化数据格式,放在页面的一个 script 代码块中;这个技能说 Google 推荐使用它。
常见的类型有哪些?
这个技能列出了 Article、Product、FAQ、HowTo 和 LocalBusiness 等常见例子。
如何检查标记?
这个技能推荐使用 Google 的富媒体结果测试工具。
详情
作者的原始描述
Use when auditing metadata, crawlability, structured data, or indexability related to Add structured data markup. Verify the rendered HTML and HTTP response rather than relying only on source files.
热度
- GitHub 星标
- 75k
- 排名
- #3038
- 许可证
- MIT
- 更新时间
- 2026/10/31
评论
- …
同一仓库的更多技能
frontendchecklist
75k使用命令行工具,依据 380 多条关于无障碍、速度、SEO 和安全的规则,检查前端代码和线上页面。
frontend-checklist-global
75k依据全部 386 条 Front-End Checklist 规则审查前端项目,并为发现的每个问题给出具体修复方法。
404-page
75k检查你的页面缺失提示是否提供有用的链接,并返回真正的 404 状态,帮助迷路的访客找到方向。
about-page
75k审查你的网站是否有清晰的关于页面,说明由谁运营,以建立访客和搜索引擎的信任。