exa-upgrade-migration

Featured

Upgrade exa-js SDK versions and handle breaking changes safely. Use when upgrading the Exa SDK, detecting deprecations, or migrating between exa-js versions. Trigger with phrases like "upgrade exa", "exa update", "exa breaking changes", "update exa-js", "exa new version".

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 Upgrade & Migration ## Current State !`npm list exa-js 2>/dev/null | grep exa-js || echo 'exa-js not installed'` !`npm view exa-js version 2>/dev/null || echo 'cannot check latest'` ## Overview Guide for upgrading the `exa-js` SDK. The SDK import is `import Exa from "exa-js"` and the client is instantiated with `new Exa(apiKey)`. This skill covers checking for updates, handling breaking changes, and validating after upgrade. ## Instructions ### Step 1: Check Current vs Latest Version ```bash set -euo pipefail echo "Current version:" npm list exa-js 2>/dev/null || echo "Not installed" echo "" echo "Latest available:" npm view exa-js version echo "" echo "Changelog:" npm view exa-js repository.url ``` ### Step 2: Create Upgrade Branch ```bash set -euo pipefail git checkout -b upgrade/exa-js-latest npm install exa-js@latest npm test ``` ### Step 3: Verify API Compatibility ```typescript import Exa from "exa-js"; async function verifyUpgrade() { const exa = new Exa(process.env.EXA_API_KEY); const checks = []; // Check 1: Basic search try { const r = await exa.search("upgrade test", { numResults: 1 }); checks.push({ method: "search", status: "OK", results: r.results.length }); } catch (err: any) { checks.push({ method: "search", status: "FAIL", error: err.message }); } // Check 2: searchAndContents try { const r = await exa.searchAndContents("upgrade test", { numResults: 1, text: { maxCharacters: 100 }, highlights:...

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