计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
algolia-install-auth【效率与协作】Install and verify the Algolia JavaScript v5 client with least-privilege credential separation. Use when bootstrapping a backend, browser search client, or environment configuration. Trigger with "install Algolia", "configure Algolia auth", or "Algolia API key setup".
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
name: algolia-install-auth description: >- Install and verify the Algolia JavaScript v5 client with least-privilege credential separation. Use when bootstrapping a backend, browser search client, or environment configuration. Trigger with "install Algolia", "configure Algolia auth", or "Algolia API key setup". argument-hint: "[project-path] [runtime]" allowed-tools: Read, Glob, Grep, WebFetch, Write, Edit version: 1.8.0 author: Jeremy Longshore jeremy@intentsolutions.io license: MIT tags:
This skill establishes the package and credential boundary before feature work. It distinguishes the application ID from API keys and separates browser search from trusted write operations.
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.
algoliasearch v5 imports and client-level methods; do not introduce the removed initIndex pattern.Load credentials through the repository's approved secret mechanism. Never print values, commit .env files, or use the Admin key as the default backend credential.
Do not install dependencies, create provider keys, alter secret stores, or rotate existing credentials outside the repository and account scope provided.
Return the dependency diff, client factories, environment-name contract, key/ACL matrix, verification results, secret-scan evidence, and remaining setup actions.
| Condition | Response |
|---|---|
| v4 API appears in code | Use the official v5 migration guide before mixing patterns. |
| Key rejected | Verify application pairing, ACL, restriction, and environment. |
| Write key enters browser build | Stop, remove it, and rotate if exposed. |
| No safe test index | Limit verification to read-only search. |
Use this compact input and expected handoff to calibrate scope and evidence quality.
Input:
runtime=node; package-manager=pnpm; client-major=5; browser=search-only
Expected handoff:
read-check=pass; write-check=disposable-index-only; exposed-write-key=none