sitemap
它能做什么
这个技能创建或审查网站的 XML 站点地图,并确保它列出了重要页面。它面向希望搜索引擎发现其全部内容的网站所有者。
适用场景
- ✓你请智能体为新网站或大型网站创建站点地图的时候。
- ✓你的部分页面没有被搜索引擎发现的时候。
- ✓你上线新网站,并希望向搜索工具提交站点地图的时候。
技能链接
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/sitemap/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我的网站是新的,Google 还没有找到我所有的页面。请帮我创建一个 XML 站点地图吗?”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会构建一个列出重要页面的 XML 站点地图,并在有帮助的地方添加优先级和最后修改时间,然后检查它是否在预期的地址提供。它还建议将其提交给 Google Search Console 和 Bing Webmaster Tools。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Create and submit an XML sitemap
Search engines may not discover all your pages through links alone—a sitemap ensures every important page gets indexed, especially for large or newly launched sites.
Quick Reference
- XML sitemaps help search engines discover all your pages
- Include priority and lastmod for important pages
- Submit to Google Search Console and Bing Webmaster Tools
- Reference sitemap in robots.txt
Check
Verify that this website has a valid XML sitemap accessible at /sitemap.xml and that it's properly formatted.
Fix
Generate or update the XML sitemap for this website including all important pages with proper priority and changefreq values.
Explain
Explain how XML sitemaps help search engines discover and index website pages more efficiently.
Code Review
Review metadata generation, rendered HTML, structured data, and response headers related to Create and submit an XML sitemap. 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.
常见问题
站点地图能保证被索引吗?
不能。这个技能说,站点地图只能帮助搜索引擎发现页面,但不能保证它们会被索引。
站点地图应该在哪里被引用?
这个技能建议在 robots.txt 文件中引用它。
应该向哪些搜索工具提交?
这个技能建议提交给 Google Search Console 和 Bing Webmaster Tools。
详情
作者的原始描述
Use when auditing metadata, crawlability, structured data, or indexability related to Create and submit an XML sitemap. Verify the rendered HTML and HTTP response rather than relying only on source files.
热度
- GitHub 星标
- 75k
- 排名
- #3024
- 许可证
- MIT
- 更新时间
- 2026/10/31
评论
- …
同一仓库的更多技能
frontendchecklist
75k使用命令行工具,依据 380 多条关于无障碍、速度、SEO 和安全的规则,检查前端代码和线上页面。
frontend-checklist-global
75k依据全部 386 条 Front-End Checklist 规则审查前端项目,并为发现的每个问题给出具体修复方法。
404-page
75k检查你的页面缺失提示是否提供有用的链接,并返回真正的 404 状态,帮助迷路的访客找到方向。
about-page
75k审查你的网站是否有清晰的关于页面,说明由谁运营,以建立访客和搜索引擎的信任。