Search engine
On this page 2
stacks-search-engine · Native Stacks · model-invoked
Use when implementing search in Stacks - full-text search with Meilisearch or Algolia backends, document indexing, search settings management, the useSearch model trait for automatic indexing, or search driver configuration. Covers @stacksjs/search-engine and config/search-engine.ts.
Read the skill for the implementation workflow and its current signatures. The Native capabilities catalog maps the package to source and retained evidence; driver limits are explicit.
Inside the skill
- Key Paths
- Search Driver Factory
- Document Operations
- Model Integration (useSearch Trait)
- CLI Commands
- Driver Comparison
- config/search-engine.ts
- Gotchas
- Readiness and driver boundaries
Using it
This skill is model-invoked. Your agent can select it for matching tasks, and you can call it directly.
/stacks-search-engine
Source: stacks-search-engine/SKILL.md.
It ships in @stacksjs/defaults with its supporting files. Run
buddy setup:ai to refresh the agent setup. Override it per project with
app/Skills/stacks-search-engine/SKILL.md. See Using skills.