/algolia-pack:algolia-upgrade-migration [repository-path] [package-name]from algolia-pack
Migrates Algolia JavaScript client from v4 to v5 with inventory of imports, methods, waits, and mocks. Handles initIndex removal, client method updates, and rollback.
Ships in algolia-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill follows the official v5 migration contract and the repository's pinned dependency graph. It treats import, method, parameter, response, wait, and test changes as one controlled migration.
Use Read, Glob, and Grep to inspect local code, configuration names, tests, and dependency versions. Use WebFetch only for current official Algolia documentation. Use Write or Edit only after identifying the target files, constraints, and verification plan.
initIndex; methods live on the client and receive indexName.Do not change key privilege during an SDK upgrade. Use existing least-privilege test credentials only for safe verification targets.
initIndex, client wrappers, methods, waits, mocks, and runtime targets.Do not combine the SDK upgrade with relevance, index schema, credential, or broad architectural changes unless separately scoped and tested.
Return the usage inventory, official mapping, dependency diff, migrated boundaries, test evidence, remaining v4 patterns, compatibility notes, and rollback.
| Condition | Response |
|---|---|
initIndex remains | Locate the call or generated artifact and migrate it. |
| Method signature differs | Follow installed v5 types and current official reference. |
| Mock passes but live test fails | Correct the application adapter contract. |
| Rollback changes lockfile only | Revert source and lockfile as one unit. |
Use this compact input and expected handoff to calibrate scope and evidence quality.
Input:
from=algoliasearch-4; to=pinned-5; initIndex-calls=9; wrappers=2
Expected handoff:
initIndex=0; typecheck=pass; integration=pass; disposable-write-cleaned=yes
What SKILL.md sets; muted values are Claude Code's defaults
inheritmediumThree short reads, in order
npx claudepluginhub jeremylongshore/tons-of-skills-marketplace --plugin algolia-pack24 skills in this plugin
/algolia-ci-integrationBuild and review a bounded CI gate for Algolia index configuration and disposable-index smoke tests. Use when search changes need pull-request evidence without mutating production. Trigger with "Algolia CI", "test Algolia in GitHub Actions", or "search deployment gate"./algolia-common-errorsDiagnose Algolia request, credential, index, task, and query failures from concrete evidence. Use when an integration returns 4xx or 5xx responses, stale results, or unexpected empty hits. Trigger with "debug Algolia error", "Algolia 403", or "Algolia search failed"./algolia-Other plugins' skills for the same job