website-search
できること
このスキルは、サイトの検索機能についてGoogleに伝える構造化データを追加します。内部の検索ボックスがあるサイトの運営者向けです。
使う場面
- ✓サイトに内部の検索ボックスがあるが、その構造化データがないとき。
- ✓ホームページが、Googleのサイトリンク検索ボックスの対象になってほしいとき。
- ✓ブランド名の検索で検索ボックスが表示されない理由を確認するとき。
スキルのリンク
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/website-search/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
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
WebSiteschema withSearchActionto 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-inputproperty must follow the formatrequired 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.
人気
- GitHubのスター
- 75k
- ランキング
- #3088
- ライセンス
- 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を通じたアウトリーチを管理します。