exa-upgrade-migration
Automates Exa SDK upgrades and verifies breaking changes.
Install
mkdir -p .claude/skills/exa-upgrade-migration && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/5996" && unzip -o skill.zip -d .claude/skills/exa-upgrade-migration && rm skill.zipInstalls to .claude/skills/exa-upgrade-migration
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Upgrade exa-js SDK versions and handle breaking changes safely.Key capabilities
- →Check current and latest `exa-js` SDK versions
- →Create a Git branch for SDK upgrades
- →Verify API compatibility after an upgrade
- →Identify common breaking change patterns in `exa-js`
- →Rollback to a previous SDK version if needed
- →Review the changelog for breaking changes
How it works
The skill guides the user through checking SDK versions, creating a dedicated branch, performing the upgrade, and verifying API compatibility with automated checks.
Inputs & outputs
When to use exa-upgrade-migration
- →Upgrade Exa SDK version
- →Detect API deprecations
- →Migrate to new SDK releases
About this skill
Exa SDK and API Upgrade Migration
Overview
Upgrade Exa SDK or API usage through a contract inventory, fixture diff, canary, and reversible dependency change. Treat credentials, queries, retrieved content, generated output, spend, and destructive state as separately governed boundaries.
Prerequisites
- The target repository, environment, Exa team, product surface, and accountable owner.
- The workload's data classification, latency and freshness promise, cost ceiling, and retention policy.
- Current first-party documentation plus credentials only for a narrowly approved live check.
Current Contract
Current Search uses auto, fast, instant, deep-lite, deep, and deep-reasoning; neural is legacy terminology for new code. SDK method names and request casing differ by language, and newer product surfaces may be beta-gated. The first-party SDK specifications and changelog are the migration authority.
Authentication
For normal REST work, inject EXA_API_KEY from an approved server-side secret manager and send it only as Authorization: Bearer to the configured first-party Exa API host. Team Management service keys, hosted MCP OAuth or enterprise managed authorization, and payment-protocol calls are separate trust models. Never print, commit, place in a URL, or expose a credential to an untrusted client.
Instructions
- Record current dependency, lockfile, endpoint calls, types, headers, and feature flags.
- Read the target SDK specification and Exa changelog for breaking changes.
- Diff owned fixtures for requests, responses, errors, statuses, and costs.
- Update only the application adapter and regenerate its lockfile deterministically.
- Run offline contracts, then an approved synthetic canary on the target version.
- Retain a dependency rollback and remove compatibility code only after observation.
Tool Discipline
Use Read, Glob, and Grep to inspect repository code, configuration, fixtures, and evidence. Use Write and Edit only for approved implementation or documentation changes. Do not call Exa, run paid research, create or alter a Monitor, Webset, Agent run, Batch, team, member, API key, budget, webhook, or deployment merely because this skill was invoked.
Approval Boundaries
Require an accountable owner before live queries involving sensitive intent, production credentials, spend or rate-limit changes, forced live crawling, generated summaries, external delivery, deployment, member or key changes, schedule creation, or destructive cancellation, stopping, deletion, or revocation. Read-only repository inspection and synthetic offline validation do not authorize live vendor actions.
Failure Modes
- Do not automatically fall back to an older SDK or search type.
- A compile pass does not prove response, error, or billing compatibility.
- Beta headers and features must remain explicit and independently removable.
Output
Return the operation scope, environment, team and product surface, authorization class, contract and policy decisions, deterministic validation results, content-free identifiers, status and cost counts, risks, cleanup or rollback state, and a concise pass or fail receipt. Exclude credentials, raw queries, prompts, presigned URLs, retrieved content, generated output, and customer-derived data unless separately approved.
Example
- Replace a legacy neural request with auto only after fixture and relevance acceptance tests confirm the intended behavior.
- Finish with request or resource IDs, assertion counts, cost and terminal state, rollback or deletion status, and the decision owner; never reproduce secrets or retrieved content.
Validation
Rerun the smallest relevant deterministic test, compare actual behavior with the requested outcome and current first-party contract, verify sensitive fields are absent from evidence, and confirm deadlines, terminal state, downstream retention, and rollback before reporting success.
References
Review the dated first-party evidence map before relying on any endpoint, parameter, search type, price, limit, beta, compliance, identity, retry, or lifecycle claim.
When not to use it
- →When `exa-js` is not installed
Limitations
- →Requires `EXA_API_KEY` for API compatibility verification
- →Relies on `npm` and `git` commands for execution
- →Verification script only checks specific Exa API methods
How it compares
This skill provides a structured and verifiable process for upgrading the Exa SDK, including rollback procedures, which is more reliable than a manual update.
Compared to similar skills
exa-upgrade-migration side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| exa-upgrade-migration (this skill) | 1 | 2mo | Review | Intermediate |
| instantly-sdk-patterns | 1 | 2mo | Caution | Intermediate |
| deepgram-sdk-patterns | 1 | 2mo | Review | Intermediate |
| perplexity-known-pitfalls | 0 | 2mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by jeremylongshore
View all by jeremylongshore →You might also like
instantly-sdk-patterns
jeremylongshore
Apply production-ready Instantly SDK patterns for TypeScript and Python. Use when implementing Instantly integrations, refactoring SDK usage, or establishing team coding standards for Instantly. Trigger with phrases like "instantly SDK patterns", "instantly best practices", "instantly code patterns", "idiomatic instantly".
deepgram-sdk-patterns
jeremylongshore
Apply production-ready Deepgram SDK patterns for TypeScript and Python. Use when implementing Deepgram integrations, refactoring SDK usage, or establishing team coding standards for Deepgram. Trigger with phrases like "deepgram SDK patterns", "deepgram best practices", "deepgram code patterns", "idiomatic deepgram", "deepgram typescript".
perplexity-known-pitfalls
jeremylongshore
Identify and avoid Perplexity anti-patterns and common integration mistakes. Use when reviewing Perplexity code for issues, onboarding new developers, or auditing existing Perplexity integrations for best practices violations. Trigger with phrases like "perplexity mistakes", "perplexity anti-patterns", "perplexity pitfalls", "perplexity what not to do", "perplexity code review".
speak-sdk-patterns
jeremylongshore
Apply production-ready Speak SDK patterns for TypeScript and Python. Use when implementing Speak integrations, refactoring SDK usage, or establishing team coding standards for language learning features. Trigger with phrases like "speak SDK patterns", "speak best practices", "speak code patterns", "idiomatic speak".
mcp-builder
anthropics
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
stripe-integration
wshobson
Implement Stripe payment processing for robust, PCI-compliant payment flows including checkout, subscriptions, and webhooks. Use when integrating Stripe payments, building subscription systems, or implementing secure checkout flows.