算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
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".
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
name: algolia-multi-env-setup description: >- 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". argument-hint: "[repository-path] [environment-map]" allowed-tools: Read, Glob, Grep, WebFetch, Write, Edit version: 1.8.0 author: Jeremy Longshore jeremy@intentsolutions.io license: MIT tags:
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.
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.
Use separate custom keys and secret scopes for each environment. Browser builds receive only the search credential for their resolved environment.
Do not create applications, copy production data, share keys, or delete preview indices until topology and data-policy owners approve.
Return the environment matrix, selected topology and tradeoffs, configuration resolver, key scopes, promotion flow, isolation tests, and lifecycle controls.
| 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. |
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