Algolia Search
Expert Algolia search patterns for React InstantSearch hooks, Next.js SSR, indexing strategies, and relevance tuning.
- CCM score
- 53 of 100
- skills.sh installs
- 211
- GitHub stars
- 34.3K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers React InstantSearch with hooks, Next.js server-side rendering, and data synchronization and indexing for Algolia
- Includes hook guidance for
useSearchBox,useHits,useRefinementList,usePagination, anduseInstantSearch - Recommends batching records at about 10MB and 1K to 10K records per batch, and avoids
deleteByas computationally expensive - Designed for developers adding type-ahead search or faceted filtering to React and Next.js applications
Install
$ npx -y skills add davila7/claude-code-templates --skill algolia-search -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Algolia Search Integration
Patterns
React InstantSearch with Hooks
Modern React InstantSearch setup using hooks for type-ahead search.
Uses react-instantsearch-hooks-web package with algoliasearch client. Widgets are components that can be customized with classnames.
Key hooks:
- useSearchBox: Search input handling
- useHits: Access search results
- useRefinementList: Facet filtering
- usePagination: Result pagination
- useInstantSearch: Full state access
Next.js Server-Side Rendering
SSR integration for Next.js with react-instantsearch-nextjs package.
Use instead of for SSR. Supports both Pages Router and App Router (experimental).
Key considerations:
- Set dynamic = 'force-dynamic' for fresh results
- Handle URL synchronization with routing prop
- Use getServerState for initial state
Data Synchronization and Indexing
Indexing strategies for keeping Algolia in sync with your data.
Three main approaches:
- Full Reindexing - Replace entire index (expensive)
- Full Record Updates - Replace individual records
- Partial Updates - Update specific attributes only
Details
- Repository
- github.com/davila7/claude-code-templates
- Categories
- Frontend & UI Code, Backend & APIs
- First seen
- Jun 3, 2026
Questions
What is the algolia-search skill for?
algolia-search gives Claude Code expert patterns for Algolia search implementation, indexing strategies, React InstantSearch and relevance tuning. It covers adding search to a project, with type-ahead search built from hooks such as useSearchBox and useHits.
How do I install the algolia-search skill?
Run npx -y skills add davila7/claude-code-templates --skill algolia-search -y in a project to install it. Once installed, algolia-search lets the agent follow its React InstantSearch, Next.js server-side rendering and data indexing patterns.
Does algolia-search support Next.js server-side rendering?
algolia-search includes a Next.js server-side rendering pattern built on the react-instantsearch-nextjs package, using InstantSearchNext in place of InstantSearch. It also covers both the Pages Router and the experimental App Router.
How does algolia-search keep an Algolia index in sync with my data?
algolia-search describes three indexing approaches: full reindexing, full record updates and partial updates. It advises batching records, preferring incremental updates, using partialUpdateObjects for attribute-only changes and avoiding deleteBy.
More from davila7/claude-code-templates
All 398- Vaex211
- Gtars210
- Network 101210
- WordPress Penetration Testing210
- Exa Search209
- Flowio209
- Latchbio Integration209
- Dnanexus Integration208
- Labarchive Integration208
- Datamol207
- Pathml207
- Neon Postgres206
- Address Github Comments205
- Github Actions Creator205
- Slack Bot Builder205
- Plaid Fintech204
- Omero Integration203
- Protocolsio Integration203
- Opentrons Integration202
- Footballbin Predictions201
- File Path Traversal Testing197
- Avalonia Zafiro Development192
- Salesforce Development192
- Planning190
Similar to Algolia Search
More Frontend & UI Codereact-querySkillmindrally/skills1.5K installsGuidelines for React Query data fetching, caching, mutations, and server-state patterns alongside client state.
apollo-clientSkillapollographql/skills5.9K installsGuide for building React apps with Apollo Client 4.x covering queries, mutations, caching, and local state.
react-best-practicesSkilldavila7/claude-code-templates553 installsComprehensive React and Next.js performance guide, ordering 45 rules by impact for review and refactoring.
nextjs-performanceSkillgiuseppe-trisciuoglio/developer-kit5.2K installsComprehensive Next.js performance guidance covering Core Web Vitals, caching, streaming, and Server Components for Next.js 16 and React 19.
ExaMCP serverexa-labs5.3K starsWeb search and page fetching through Exa, with optional multi-step research and structured output.