algolia-multi-env-setup
БесплатноБез исполняемых скриптовНе проверенDesign isolated Algolia development, staging, preview, and production targets with explicit promotion rules. Use when environments share credentials or index…
от jeremylongshore★ 2 961 звезда на GitHubОб этом скилле
Algolia Multi-Environment Setup
Overview
This skill makes environment isolation an application-owned contract. It does not assume one provider topology: separate applications, index namespaces, or a combination may be selected from security, data, cost, and operational requirements.
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
- Map every runtime environment to an explicit application ID, index namespace, credential owner, and data classification.
- Prevent preview or branch input from selecting an arbitrary production index.
- Promote versioned settings and transforms through review rather than copying unknown live state.
- Define lifecycle and cleanup for ephemeral indices before creating them.
Authentication
Use separate custom keys and secret scopes for each environment. Browser builds receive only the search credential for their resolved environment.
Instructions
- Inventory applications, indices, replicas, keys, deployment environments, data sources, and retention rules.
- Choose isolation boundaries based on blast radius, data policy, feature parity, and verified current commercial terms.
- Implement an allowlisted environment resolver with no production fallback for unknown values.
- Define reproducible record, settings, synonym, and rule promotion artifacts.
- Test cross-environment denial, preview naming, cleanup, and production-selection safeguards.
- Document owners, rotation, promotion, rollback, retention, and orphan-index review.
Approval Boundaries
Do not create applications, copy production data, share keys, or delete preview indices until topology and data-policy owners approve.
Output
Return the environment matrix, selected topology and tradeoffs, configuration resolver, key scopes, promotion flow, isolation tests, and lifecycle controls.
Error Handling
| Condition | Response |
|---|---|
| Unknown environment | Fail closed instead of selecting production. |
| Preview requests production data | Reject unless an explicit approved sanitized source exists. |
| Settings drift | Rebuild from versioned artifacts and review the diff. |
| Orphan cleanup uncertain | Report candidates without deleting them. |
Examples
Use this compact input and expected handoff to calibrate scope and evidence quality.
Input:
env=preview-482; app=nonprod; index=preview_482_products; data=synthetic
Expected handoff:
resolver=allowlisted; prod-fallback=none; cleanup-after=reviewed-policy
Resources
Установить algolia-multi-env-setup в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadGlobGrepWebFetchWriteEditВложенные файлы
FAQ
Что делает скилл algolia-multi-env-setup?
Design isolated Algolia development, staging, preview, and production targets with explicit promotion rules. Use when environments share credentials or index names, or previews need bounded search data. Trigger with "Algolia environments", "Algolia staging setup", or "preview index".
Как установить скилл algolia-multi-env-setup?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл algolia-multi-env-setup запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic