协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
algolia-hello-world【开发与工程】Create a minimal Algolia JavaScript v5 indexing and search proof using a disposable index. Use when verifying credentials, learning the client boundary, or proving first connectivity. Trigger with "Algolia hello world", "first Algolia search", or "test Algolia setup".
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
name: algolia-hello-world description: >- Create a minimal Algolia JavaScript v5 indexing and search proof using a disposable index. Use when verifying credentials, learning the client boundary, or proving first connectivity. Trigger with "Algolia hello world", "first Algolia search", or "test Algolia setup". argument-hint: "[project-path] [disposable-index]" allowed-tools: Read, Glob, Grep, WebFetch, Write, Edit version: 1.8.0 author: Jeremy Longshore jeremy@intentsolutions.io license: MIT tags:
This skill proves the smallest complete write-read-cleanup cycle: create known records, wait for the indexing task, query one record, and remove the disposable index after review.
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 client; methods such as saveObjects, waitForTask, and searchSingleIndex are called on the client.objectID values so verification is deterministic.Use a custom backend key restricted to the disposable index and necessary operations. The browser should never receive this write credential.
searchSingleIndex.Do not use a production index, copy an Admin key into source, or delete an index until its exact disposable name is displayed and approved.
Return package and API evidence, the redacted configuration, write and wait task IDs, search assertion, cleanup result, and next recommended integration step.
| Condition | Response |
|---|---|
| Authentication fails | Verify application/key pairing and required ACL. |
| Search is empty after write | Wait for the recorded task and confirm index name. |
| Unexpected existing records | Stop; the index is not disposable. |
| Cleanup not approved | Leave the index and report its exact name. |
Use this compact input and expected handoff to calibrate scope and evidence quality.
Input:
app=APP…9X; index=skill-smoke-20260910; records=2
Expected handoff:
save-task=complete; expected-object=movie-1; search=pass; cleanup=approved-and-complete