exa-local-dev-loop

Featured

Configure Exa local development with hot reload, testing, and mock responses. Use when setting up a development environment, writing tests against Exa, or establishing a fast iteration cycle. Trigger with phrases like "exa dev setup", "exa local development", "exa test setup", "develop with exa", "mock exa".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Exa Local Dev Loop ## Overview Set up a fast, reproducible local development workflow for Exa integrations. Covers project structure, mock responses for unit tests, integration test patterns, and hot-reload configuration. ## Prerequisites - `exa-js` installed and `EXA_API_KEY` configured - Node.js 18+ with npm/pnpm - `vitest` for testing (or `jest`) ## Instructions ### Step 1: Project Structure ``` my-exa-project/ ├── src/ │ ├── exa/ │ │ ├── client.ts # Singleton Exa client │ │ ├── search.ts # Search wrappers │ │ └── types.ts # Typed interfaces │ └── index.ts ├── tests/ │ ├── exa.unit.test.ts # Mock-based unit tests │ └── exa.integration.test.ts # Real API tests (needs key) ├── .env.local # Local secrets (git-ignored) ├── .env.example # Template for team ├── tsconfig.json ├── vitest.config.ts └── package.json ``` ### Step 2: Package Setup ```json { "scripts": { "dev": "tsx watch src/index.ts", "test": "vitest", "test:unit": "vitest --testPathPattern=unit", "test:integration": "vitest --testPathPattern=integration", "build": "tsc" }, "dependencies": { "exa-js": "^1.0.0" }, "devDependencies": { "tsx": "^4.0.0", "vitest": "^2.0.0", "typescript": "^5.0.0" } } ``` ### Step 3: Mock Exa for Unit Tests ```typescript // tests/exa.unit.test.ts import { describe, it, expect, vi, beforeEach } from "vitest"; // Mock the exa-js module vi.mock("exa-js", () => { retur...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

elevenlabs-local-dev-loop

Configure local ElevenLabs development with mocking, hot reload, and audio testing. Use when setting up a dev environment for TTS/voice projects, configuring test workflows, or building a fast iteration cycle with ElevenLabs audio. Trigger: "elevenlabs dev setup", "elevenlabs local development", "elevenlabs dev environment", "develop with elevenlabs", "test elevenlabs locally".

2,266 Updated today
jeremylongshore
AI & Automation Featured

klaviyo-local-dev-loop

Configure Klaviyo local development with hot reload, mocking, and testing. Use when setting up a development environment, configuring test workflows, or establishing a fast iteration cycle with the Klaviyo API. Trigger with phrases like "klaviyo dev setup", "klaviyo local development", "klaviyo dev environment", "develop with klaviyo", "klaviyo testing".

2,266 Updated today
jeremylongshore
AI & Automation Featured

cohere-local-dev-loop

Configure Cohere local development with mocking, testing, and hot reload. Use when setting up a development environment, configuring test workflows, or establishing a fast iteration cycle with Cohere API v2. Trigger with phrases like "cohere dev setup", "cohere local development", "cohere dev environment", "develop with cohere", "mock cohere".

2,266 Updated today
jeremylongshore
AI & Automation Featured

groq-local-dev-loop

Configure Groq local development with hot reload, mocking, and testing. Use when setting up a development environment, configuring test workflows, or establishing a fast iteration cycle with Groq. Trigger with phrases like "groq dev setup", "groq local development", "groq dev environment", "develop with groq".

2,266 Updated today
jeremylongshore
AI & Automation Featured

maintainx-local-dev-loop

Set up a local development loop for MaintainX integration development. Use when configuring dev environment, testing API calls locally, or setting up a sandbox workflow for MaintainX. Trigger with phrases like "maintainx dev setup", "maintainx local", "maintainx development environment", "maintainx testing setup".

2,266 Updated today
jeremylongshore