Skip to content
Skillpedia
SEO75k · #3088

website-search

What it does

This skill adds structured data that tells Google about a site's search feature. It is for site owners whose websites have an internal search box.

When to use it

  • ✓When a website has an internal search box but no structured data for it.
  • ✓When a homepage should be eligible for a sitelinks search box in Google.
  • ✓When checking why Google does not show a search box for a branded query.

Skill link

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

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/website-search/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“My website has a search box. How do I tell Google about it so it might show in my brand search results?”

5 new skills a week. 1 minute to read.

How it works

The agent adds a WebSite JSON-LD block to the homepage with a search action. The action includes the search URL pattern with a placeholder for the search term.

Technical content (original SKILL.md)

Original text by the author, straight from 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

FAQ

Will Google always show the search box?

No. The skill says Google decides when to show it, so the markup is a signal rather than a guarantee.

What is the search URL template?

It is the web address of your search results, with a placeholder where the search term goes.

What format should query-input use?

The skill says it must follow the format required name=search_term_string.

Details

Original description by the author

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

Popularity

GitHub stars
75k
Ranking position
#3088
License
MIT
Updated
10/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills