本文へスキップ
Skillpedia
SEO対策75k · #3088

website-search

できること

このスキルは、サイトの検索機能についてGoogleに伝える構造化データを追加します。内部の検索ボックスがあるサイトの運営者向けです。

使う場面

  • ✓サイトに内部の検索ボックスがあるが、その構造化データがないとき。
  • ✓ホームページが、Googleのサイトリンク検索ボックスの対象になってほしいとき。
  • ✓ブランド名の検索で検索ボックスが表示されない理由を確認するとき。

スキルのリンク

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/website-search/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/website-search/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“私のサイトには検索ボックスがあります。ブランドの検索結果に表示されるかもしれないように、Googleに伝えるにはどうすればよいですか?”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、検索のアクションを持つWebSiteのJSON-LDブロックをホームページに追加します。このアクションには、検索語の場所を示すプレースホルダー付きの検索のURLのパターンが含まれます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

WebSite Search Schema

The Sitelinks Searchbox lets users search your site directly from Google's search results page, reducing friction for brand-aware users and increasing the click-through quality from branded queries.

Quick Reference

  • Add WebSite schema with SearchAction to signal that your site has search functionality to Google
  • This enables Google to show a Sitelinks Searchbox below your brand's search result for branded queries
  • The Searchbox only appears at Google's discretion — the schema is a signal, not a guarantee
  • The query-input property must follow the format required name=search_term_string

Check

Check the homepage (or primary entry URL) for a <script type='application/ld+json'> block with "@type": "WebSite" and a potentialAction of type SearchAction. Verify target is a valid search URL template and query-input is correctly set.

Fix

Add WebSite JSON-LD schema to the homepage <head>. Set url to the canonical-url homepage URL. Set potentialAction with SearchAction, target pointing to your search results URL with {search_term_string} placeholder, and query-input as required name=search_term_string.

Explain

Explain how the WebSite SearchAction schema works, what the Sitelinks Searchbox is, why Google may choose not to show it even with valid schema, and how to construct the search URL template.

Code Review

Review metadata generation, rendered HTML, structured data, and response headers related to WebSite Search 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/website-search

よくある質問

Googleは常に検索ボックスを表示しますか?

いいえ。このスキルによると、表示するかどうかはGoogleが決めるため、マークアップは保証ではなくシグナルです。

検索URLのテンプレートとは何ですか?

検索結果のウェブアドレスで、検索語が入る場所にプレースホルダーがあるものです。

query-inputはどの形式を使うべきですか?

このスキルは、必須のname=search_term_string形式に従う必要があると述べています。

詳細

作者による元の説明

Use when applies to sites with internal site search functionality. Use when optimizing branded search result appearance or adding structured data for the first time.

repo: thedaviddias/Front-End-Checklist

人気

GitHubのスター
75k
ランキング
#3088
ライセンス
MIT
更新日
2026/10/31

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル