
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
- 60
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/aladicf/better-react-web-ui --skill search- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads search automatically when relevant.
- 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
Read frontend-design and follow its Context Gathering Protocol. Reuse available context and ask only about consequential gaps. 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:
- Search intent: Are users looking for a specific item (known-item search), exploring a category (exploratory), or trying to complete a task (transactional)?
- Dataset size: Small datasets (< 100 items) may not need search; filtering or categorization may suffice. Large datasets need faceted search and ranking.
- Query patterns: What do users actually type? Common misspellings, synonyms, and abbreviations should be handled.
- 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
- In compact viewports, 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
| Pattern | Best for |
|---|---|
| Pagination | Large result sets, SEO-critical pages, users who reference specific pages |
| Infinite scroll | Discovery browsing, image galleries, social feeds |
| Load more | Balanced 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, pointer-friendly, and resilient in compact viewports
- 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-react-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-react-web-ui. It has 60 recorded installs.
More from aladicf/better-react-web-ui
frontend-design
aladicf/better-react-web-ui
Open the skill to read its SKILL.md instructions.
polish
aladicf/better-react-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.
add-ui
aladicf/better-react-web-ui
Open the skill to read its SKILL.md instructions.
setup
aladicf/better-react-web-ui
Open the skill to read its SKILL.md instructions.
forms
aladicf/better-react-web-ui
Open the skill to read its SKILL.md instructions.
colorize
aladicf/better-react-web-ui
Open the skill to read its SKILL.md instructions.
Popular frontend & design skills
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-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.
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.
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.
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.