MCPInstall

search

Design or improve search experiences, result presentation, and filtering interfaces. Use when the user asks to add search, redesign search results, improve findability, build autocomplete, add filters, or fix zero-results dead ends.

Installs
638
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/aladicf/better-web-ui --skill search
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads search automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Build search experiences that help users find what they need quickly, even when they are uncertain about what they are looking for. The goal is not perfect relevance on the first try; it is guiding users from intent to outcome through forgiving search and clear results.

Consult the search and filtering UX reference for autocomplete patterns, filter architecture, result presentation, and zero-results recovery. Consult the search and findability reference for site search, autosuggest, command palettes, and intent-aware findability. Consult the collection browsing and filtering reference for long result lists, faceted browsing, and filter overlays. Consult the predictive and intent-driven UI reference for recommendations, smart defaults, and resume flows.

MANDATORY PREPARATION

Users start this workflow with /search. Once this skill is active, load $frontend-design — it contains design principles, anti-patterns, and the Context Gathering Protocol. Follow that protocol before proceeding — if no design context exists yet, you MUST load $setup first. Additionally gather: what users typically search for, what common queries fail, and how large the searchable dataset is.

Assess Search Needs

Understand the search context before designing the interface:

  1. Search intent: Are users looking for a specific item (known-item search), exploring a category (exploratory), or trying to complete a task (transactional)?
  2. Dataset size: Small datasets (< 100 items) may not need search; filtering or categorization may suffice. Large datasets need faceted search and ranking.
  3. Query patterns: What do users actually type? Common misspellings, synonyms, and abbreviations should be handled.
  4. Failure modes: What happens when search returns nothing? When it returns too much?

Search Interface Design

Query input

  • Use concrete placeholder text ("Search for "project alpha"") instead of generic filler
  • Show a clear button once the user has typed
  • Support Enter to submit; do not rely solely on live results
  • Include a visible search button, not just a decorative icon
  • If scope is selectable ("All", "Products", "Help"), make it obvious and changeable

Autocomplete and suggestions

  • Show suggestions after 2-3 characters
  • Group by type: recent searches, popular queries, products, help articles
  • Bold the matching substring
  • Support arrow-key navigation, Enter to select, Escape to close
  • On mobile, ensure suggestions are scrollable and do not overflow
  • Show a helpful message when nothing matches instead of an empty list

Filter integration

  • Sidebar filters for many filters on wide layouts
  • Top bar for a few key filters
  • Drawer/overlay on narrow layouts
  • Inline chips for active filters that can be removed directly
  • Synchronize filter state with the URL for shareability
  • Show active filter count when collapsed

Result Presentation

Result list

  • Clear hierarchy: title, metadata, snippet, thumbnail
  • Highlight matching query terms in titles and snippets
  • Consistent formatting across all results
  • Each result should be a clear link or have a primary action

Empty states

  • Acknowledge the query ("No results for 'xyz'")
  • Suggest alternatives: corrected spelling, related terms, broader categories
  • Offer to clear filters if any are active
  • Provide a fallback action ("Browse all", "Contact support")

Ranking controls

  • Allow users to change sort order (relevance, price, date, rating)
  • Label the default sort and explain why it is the default
  • If results are promoted, label them transparently ("Featured")

Pagination and Loading

PatternBest for
PaginationLarge result sets, SEO-critical pages, users who reference specific pages
Infinite scrollDiscovery browsing, image galleries, social feeds
Load moreBalanced approach; user controls when to load
  • Show skeleton screens that match result layout during loading
  • Preserve previous results while loading new ones when possible

Accessibility

  • Announce result count changes for screen readers
  • Associate filter controls with result regions using aria-controls
  • Ensure active filters are announced when changed
  • Provide skip links from filters to results
  • Support keyboard navigation through suggestions and filters

Anti-Patterns

  • Case-sensitive search: Users should not guess capitalization
  • No visual feedback during search: Silent search feels broken
  • Filters that produce zero results: Disable or hide invalid combinations
  • Overwhelming filter panels: Too many filters create decision paralysis
  • Hidden active filters: Users forget what they filtered
  • Losing filter state on refresh: Filters should persist in the URL
  • Infinite scroll without footer access: Users cannot reach footer links
  • Search requiring exact matches: Fuzzy matching and stemming are essential
  • No zero-results recovery: An empty screen with no guidance is a dead end
  • Autocomplete that hijacks the cursor: Suggestions should not auto-submit

Verify Search Quality

Before shipping:

  • Search handles typos, partial matches, and common synonyms
  • Autocomplete is keyboard-navigable and mobile-friendly
  • Active filters are visible and individually removable
  • Filter state is reflected in the URL
  • Zero-results pages offer alternatives and recovery paths
  • Result rankings can be changed by the user
  • Loading states match the result layout
  • Screen readers announce result count and filter changes
  • Focus management follows a logical path
  • Search is tested with realistic queries and misspellings

FAQ

What does the search skill do?

Design or improve search experiences, result presentation, and filtering interfaces. Use when the user asks to add search, redesign search results, improve findability, build autocomplete, add filters, or fix zero-results dead ends.

How do I install search?

Run npx skills add https://github.com/aladicf/better-web-ui --skill search in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/search/ (personal) or .claude/skills/search/ (project).

Which AI agents can use search?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is search safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains search?

It is published by aladicf in aladicf/better-web-ui. It has 638 recorded installs.

More from aladicf/better-web-ui

View all →

critique

aladicf/better-web-ui

Evaluate an interface from a UX perspective, assessing hierarchy, information architecture, emotional resonance, cognitive load, and overall quality with quantitative scoring and actionable feedback. Use when the user wants an overall design or UX review—not when the main need is measurable accessibility/performance diagnosis, or final micro-detail polish.

Frontend & Design719 installs

frontend-design

aladicf/better-web-ui

Create distinctive, production-grade frontend interfaces with strong hierarchy, thoughtful systems, and polished implementation that avoid generic AI aesthetics. Use when the user wants to build or redesign web pages, flows, components, or full app surfaces, or when another better-web-ui skill needs shared project design context before other better-web-ui skills.

Frontend & Design680 installs

add-ui

aladicf/better-web-ui

Generate 5 distinct, production-grade UI variations for a requested new or existing section, component, page, flow, or shell, then help the user preview and apply one. Use when the user asks to add or redesign UI like a hero, pricing, navbar, auth flow, dashboard shell, ecommerce surface, or data component.

Frontend & Design640 installs

polish

aladicf/better-web-ui

Perform a final quality pass fixing alignment, spacing, consistency, and micro-detail issues before shipping. Use when the work is functionally complete and needs finishing touches—not when the hierarchy, structure, tone, or technical foundation still need major changes.

Frontend & Design640 installs

audit

aladicf/better-web-ui

Run technical quality checks across accessibility, performance, theming, responsive design, and anti-patterns. Generates a scored report with P0-P3 severity ratings and actionable plan. Use when the user wants measurable accessibility, performance, responsive, theming, or anti-pattern findings—not when they mainly want an overall UX critique or final visual/detail polish.

Security639 installs

animate

aladicf/better-web-ui

Improve or implement purposeful motion systems, micro-interactions, gestures, and transition behavior for production-grade UI. Use when the user mentions animation, motion, transitions, micro-interactions, hover states, drawers, toasts, gestures, or making the UI feel more alive.

Frontend & Design619 installs

Popular frontend & design skills

View category →

setup-matt-pocock-skills

mattpocock/skills

Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.

Frontend & Design1.1M installs

frontend-design

anthropics/skills

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

OfficialFrontend & Design1M installs

hyperframes-animation

heygen-com/hyperframes

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.

prototype

mattpocock/skills

Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.

Frontend & Design999.2K installs

hyperframes-core

heygen-com/hyperframes

The HyperFrames composition contract — build one renderable project. Use for composition structure, the data- timing attributes, class="clip", tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.

Frontend & Design930.5K installs

vercel-react-best-practices

vercel-labs/agent-skills

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

OfficialFrontend & Design843.1K installs