robots-meta
它能做什么
这个技能检查每个页面的 robots meta 指令,并移除那些无意中屏蔽页面的设置。它面向希望关键页面在搜索中保持可见的网站所有者。
适用场景
- ✓你请智能体检查重要页面是否意外带有 noindex 标签的时候。
- ✓页面从搜索结果中消失,而你想排除 robots meta 标签的原因的时候。
- ✓你比较测试站和正式站,以确保 robots 标签符合你的意图的时候。
技能链接
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/robots-meta/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我的一些重要页面从 Google 中消失了。请帮我检查它们是否意外带有 noindex 标签吗?”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会检查每个页面 head 中的 robots meta 标签,并审查其 content 值。它会标记本应出现在搜索中的页面上的 noindex,并移除重复或相互冲突的标签,包括专门针对 Googlebot 的标签。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Set robots meta directives correctly
An accidental noindex on a key landing page silently removes it from search results; audit every page's robots directive to avoid invisible ranking losses.
Quick Reference
- Place
<meta name="robots" content="...">in<head>to control indexing per-page - Use
noindexonly on pages that should not appear in search results - Avoid
noindex, nofollowon pages you want crawled for PageRank flow - Crawler-specific tags (
googlebot,bingbot) override the genericrobotstag for that crawler
Check
Inspect <head> for <meta name="robots" content="...">. Verify the content value is intentional (e.g., production pages should not have noindex). Check for conflicting googlebot-specific tags.
Fix
Remove or update the noindex directive from pages that should appear in search results. For pages that must be blocked, confirm noindex is intentional. Remove duplicate or conflicting robots meta tags.
Explain
Explain the difference between robots.txt and meta robots, when each should be used, and why noindex combined with follow still allows link equity to flow.
Code Review
Review metadata generation, rendered HTML, structured data, and response headers related to Set robots meta directives correctly. 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/robots-meta
常见问题
robots 标签应该放在哪里?
这个技能说,它应放在页面的 head 部分。
为什么某些页面要避免同时使用 noindex 和 nofollow?
这个技能说,它会阻止链接价值通过你希望被抓取的页面传递。
专门针对 Googlebot 的标签重要吗?
重要。这个技能说,它们可以覆盖该抓取工具的通用 robots 标签。
详情
作者的原始描述
Use when applies to all HTML pages. Use when auditing pages that have disappeared from search results or when checking staging vs. production meta tag parity.
热度
- GitHub 星标
- 75k
- 排名
- #3004
- 许可证
- MIT
- 更新时间
- 2026/10/31
评论
- …
同一仓库的更多技能
frontendchecklist
75k使用命令行工具,依据 380 多条关于无障碍、速度、SEO 和安全的规则,检查前端代码和线上页面。
frontend-checklist-global
75k依据全部 386 条 Front-End Checklist 规则审查前端项目,并为发现的每个问题给出具体修复方法。
404-page
75k检查你的页面缺失提示是否提供有用的链接,并返回真正的 404 状态,帮助迷路的访客找到方向。
about-page
75k审查你的网站是否有清晰的关于页面,说明由谁运营,以建立访客和搜索引擎的信任。