algolia-upgrade-migration
БесплатноБез исполняемых скриптовНе проверенMigrate an Algolia JavaScript client integration from v4 to v5 with inventory, compatibility tests, and rollback. Use when removing initIndex, updating client…
от jeremylongshore★ 2 961 звезда на GitHubОб этом скилле
Algolia JavaScript v4 to v5 Upgrade
Overview
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.
Prerequisites
- A named repository, environment, and Algolia application or index in scope
- The local lockfile and installed client types as implementation authority
- A safe read-only query or explicitly disposable test target
- Current first-party documentation for any provider behavior that affects the change
Tool Discipline
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.
Current Contract
- Version 5 removes
initIndex; methods live on the client and receiveindexName. - Upgrade search-only imports and multi-search calls according to the official guide, not a mechanical rename.
- Replace chained write waits with the documented v5 wait helpers and retain task IDs.
- Check all Algolia packages, frameworks, wrappers, mocks, generated types, and examples for major-version coupling.
Authentication
Do not change key privilege during an SDK upgrade. Use existing least-privilege test credentials only for safe verification targets.
Instructions
- Inventory package versions, imports,
initIndex, client wrappers, methods, waits, mocks, and runtime targets. - Read the current official v5 migration guide and installed types for every used method.
- Update the dependency and lockfile through the repository's package manager.
- Migrate one boundary at a time, adapting parameters, responses, tasks, and errors.
- Run type, unit, integration, build, and representative query tests; use a disposable index for writes.
- Record compatibility gaps, final versions, release notes, rollback commit, and follow-up cleanup.
Approval Boundaries
Do not combine the SDK upgrade with relevance, index schema, credential, or broad architectural changes unless separately scoped and tested.
Output
Return the usage inventory, official mapping, dependency diff, migrated boundaries, test evidence, remaining v4 patterns, compatibility notes, and rollback.
Error Handling
| 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. |
Examples
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
Resources
Установить algolia-upgrade-migration в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadGlobGrepWebFetchWriteEditВложенные файлы
FAQ
Что делает скилл algolia-upgrade-migration?
Migrate an Algolia JavaScript client integration from v4 to v5 with inventory, compatibility tests, and rollback. Use when removing initIndex, updating client methods, or reconciling mixed major versions. Trigger with "upgrade Algolia v5", "remove initIndex", or "Algolia SDK migration".
Как установить скилл algolia-upgrade-migration?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл algolia-upgrade-migration запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic