noindex-in-sitemap
できること
このスキルは、XMLサイトマップのURLと、それらのページのnoindex指定を比べ、矛盾を解決します。インデックスの信号を一貫させたいサイト運営者向けです。
使う場面
- ✓サイトマップに、インデックスさせないべきページが含まれていないか確認するようエージェントに頼むとき。
- ✓期待したページが検索結果に出ず、矛盾する信号があるのではないかと疑うとき。
- ✓インデックスの問題を監査し、サイトマップが望むページと一致しているか確認する必要があるとき。
スキルのリンク
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/noindex-in-sitemap/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私のサイトマップを確認し、noindexになっている掲載ページを教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントはサイトマップを読み、掲載された各URLにアクセスして、noindexのmetaタグやX-Robots-Tagヘッダーを確認します。矛盾を報告し、noindexを取り除くか、サイトマップからURLを除くことを勧めます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Noindex in Sitemap
Listing noindexed pages in your sitemap sends contradictory signals to Googlebot—it wastes crawl budget and may confuse Google into ignoring the noindex directive or spending crawl time on pages you don't want indexed.
Quick Reference
- Never include noindexed pages in your XML sitemap
- The sitemap and noindex directive send contradictory signals to crawlers
- Sitemaps should only list canonical-url, indexable, 200-status URLs
- Remove noindexed URLs from sitemap or remove the noindex directive—pick one
Check
Fetch the XML sitemap(s) and check each listed URL. For each URL, retrieve the page and check for <meta name='robots' content='noindex'> in the <head> or an X-Robots-Tag: noindex HTTP header. Report any URLs present in the sitemap that also carry a noindex directive.
Fix
For each URL that has a noindex directive AND appears in the sitemap: decide whether the page should be indexed. If yes — remove the noindex directive. If no — remove the URL from the sitemap. Never leave both in place.
Explain
The XML sitemap is a recommendation to search engines: 'please crawl and index these pages'. A noindex directive is an instruction: 'do not index this page'. Including noindexed pages in the sitemap creates a contradiction—Google will resolve it by following noindex, but the URL still gets crawled, wasting crawl budget.
Code Review
Fetch each URL in the XML sitemap. For each URL, check the HTTP response for X-Robots-Tag: noindex header, and check the rendered <head> for <meta name='robots' content='noindex'>. Report any URL that appears in the sitemap AND carries a noindex directive. Also check for sitemap entries returning non-200 status codes.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/rules/seo/noindex-in-sitemap
よくある質問
両方があると、なぜ問題ですか?
サイトマップは検索エンジンにページのインデックスを求め、noindexタグはインデックスしないよう求めるため、クロールの労力が無駄になり、矛盾する信号を送ります。
どちらを残すべきですか?
このスキルは、そのページをインデックスすべきかを決め、一致する設定だけを残し、両方は残さないよう勧めています。
エージェントはページのタグだけでなくヘッダーも確認できますか?
はい。このスキルは、robots metaタグとX-Robots-TagのHTTPヘッダーの両方を確認します。
詳細
作者による元の説明
Use when auditing an XML sitemap or diagnosing indexing issues. Applies to any site where noindex meta tags or X-Robots-Tag headers may be applied to URLs also listed in the sitemap.
人気
- GitHubのスター
- 75k
- ランキング
- #2953
- ライセンス
- MIT
- 更新日
- 2026/10/31
コメント
- …
このリポジトリの他のスキル
frontendchecklist
75kコマンドラインツールを使って、フロントエンドのコードとライブページを、アクセシビリティ、速度、SEO、セキュリティに関する380以上のルールと照らし合わせて確認します。
frontend-checklist-global
75kフロントエンドのプロジェクトを、386のFront-End Checklistのルールすべてと照らし合わせて監査し、見つかった問題ごとに具体的な修正方法を示します。
404-page
75k見つからないページの画面に役立つリンクがあり、本物の404ステータスを返すかを確認し、迷った訪問者が目的のページを見つけられるようにします。
about-page
75kサイトの運営者が誰かを説明する、分かりやすいAboutページがあるかを確認し、訪問者と検索エンジンからの信頼を高めます。
似ているスキル
competitive-platform-analysis
280k競合他社を把握するのに役立ちます。より深い分析を行う前に、競合企業を特定し、分類し、絞り込みます。
competitive-report-structure
280k包括的な競合レポートを作成します。情報をまとめて業界全体の状況や提言を示し、チームの認識をそろえるのに役立ちます。
lead-intelligence
280kエージェントが重要な人物を見つけて連絡を取るのを支援します。見込み客を分析し、アプローチを提案し、メールやSNSを通じたアウトリーチを管理します。