跳到正文
Skillpedia
SEO75k · #3004

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/robots-meta/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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 noindex only on pages that should not appear in search results
  • Avoid noindex, nofollow on pages you want crawled for PageRank flow
  • Crawler-specific tags (googlebot, bingbot) override the generic robots tag 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.

repo: thedaviddias/Front-End-Checklist

热度

GitHub 星标
75k
排名
#3004
许可证
MIT
更新时间
2026/10/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能