breadcrumb
它能做什么
这项技能添加隐藏的结构化数据,描述页面在网站层级中的位置。适合希望搜索结果显示清晰路径、而不是冗长网址的网站所有者。
适用场景
- ✓当你的页面显示了可见的面包屑导航时。
- ✓当搜索结果显示冗长网址,而清晰的路径会更有帮助时。
- ✓当你要检查面包屑数据是否与访客所见一致时。
技能链接
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/breadcrumb/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请为我的产品页面添加面包屑结构化数据,并与访客看到的导航路径保持一致。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会编写一个 JSON-LD BreadcrumbList,为页面层级的每一级添加一项,使用与页面上显示相同的路径。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Implement valid BreadcrumbList schema
Breadcrumbs help search engines understand your site's structure and often appear in search results, improving navigation and click-through rates.
Quick Reference
- Add
BreadcrumbListstructured data only when the page has a visible, meaningful breadcrumb trail - Ensure the breadcrumb path matches the visible trail and the site's logical hierarchy
- Use JSON-LD to mark up each item in the breadcrumb trail correctly
Check
Verify that the page contains valid BreadcrumbList structured data matching the visible breadcrumbs.
Fix
Implement a JSON-LD script that defines each level of the page's hierarchy using ListItem properties.
Explain
Explain how breadcrumb schema replaces URLs in search results with a more readable navigation path.
Code Review
Review metadata generation, rendered HTML, structured data, and response headers related to Implement valid BreadcrumbList schema. 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/breadcrumb
常见问题
每个页面都要添加面包屑数据吗?
这项技能说明,只为有可见且有意义的面包屑导航的页面添加。
数据包含什么?
一个项目列表,每一项都有名称和网址,从顶层一直到当前页面。
为什么必须与可见导航一致?
这项技能说明,路径应与可见的导航以及网站的逻辑结构相符。
详情
作者的原始描述
Use when auditing metadata, crawlability, structured data, or indexability related to Implement valid BreadcrumbList schema. Verify the rendered HTML and HTTP response rather than relying only on source files.
热度
- GitHub 星标
- 75k
- 排名
- #2757
- 许可证
- MIT
- 更新时间
- 2026/10/31
评论
- …
同一仓库的更多技能
frontendchecklist
75k使用命令行工具,依据 380 多条关于无障碍、速度、SEO 和安全的规则,检查前端代码和线上页面。
frontend-checklist-global
75k依据全部 386 条 Front-End Checklist 规则审查前端项目,并为发现的每个问题给出具体修复方法。
404-page
75k检查你的页面缺失提示是否提供有用的链接,并返回真正的 404 状态,帮助迷路的访客找到方向。
about-page
75k审查你的网站是否有清晰的关于页面,说明由谁运营,以建立访客和搜索引擎的信任。