algolia-local-dev-loop
Installation
SKILL.md
Algolia Local Dev Loop
Overview
Set up a fast, reproducible local development workflow for Algolia. Use separate dev indices, mock the client in tests, and iterate without touching production data.
Prerequisites
- Completed
algolia-install-authsetup - Node.js 18+ with npm/pnpm
- Vitest or Jest for testing
Instructions
Step 1: Environment-Based Index Names
// src/algolia/config.ts
import { algoliasearch } from 'algoliasearch';