stacks-search-engine

Integrate full-text search into Stacks applications using Meilisearch or Algolia drivers.

2|Updated Jul 8, 2026
One-click install
npx skills add https://github.com/bughq/bughq --skill stacks-search-engine-bughq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stacks-search-engine
Source: https://github.com/bughq/bughq/tree/main/.claude/skills/stacks-search-engine
Command: npx skills add https://github.com/bughq/bughq --skill stacks-search-engine-bughq

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies the implementation of robust, full-text search capabilities, removing the complexity of configuring search drivers and indexing models manually.

Core Features & Use Cases

  • Multi-Driver Support: Seamlessly switch between Meilisearch, Algolia, and OpenSearch backends.
  • Automated Indexing: Use the useSearch model trait to automatically sync database records with your search index.
  • Use Case: Quickly add a powerful search bar to your application that supports typo tolerance, faceted filtering, and sorting across your product catalog or user-generated content.

Quick Start

Use the stacks-search-engine skill to index all searchable models in your project by running the appropriate buddy command.

Frequently Asked Questions about stacks-search-engine

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add full-text search to a Stacks application?

You can add full-text search to a Stacks application by using the stacks-search-engine skill to manage document indexing and search settings configuration. It utilizes the useSearch model trait to automatically synchronize database records with your chosen search index.

Does Stacks full-text search support both Algolia and Meilisearch?

Yes, Stacks full-text search supports multi-driver integration, allowing you to seamlessly switch between Algolia, Meilisearch, and OpenSearch backends. You need the appropriate driver credentials and the @stacksjs/search-engine package to function within the framework.

How do I automatically sync database records with a search index in Stacks?

You can automatically sync database records with a search index in Stacks by applying the useSearch model trait. This trait handles automated indexing, ensuring your searchable models stay updated without requiring manual configuration steps.

What is required to configure Meilisearch or Algolia drivers in a Stacks project?

Configuring Meilisearch or Algolia drivers in a Stacks project requires the @stacksjs/search-engine package and appropriate driver credentials. Once configured, you can run the appropriate buddy command to index all searchable models in your project.

Can I use typo tolerance and faceted filtering with Stacks search integration?

Yes, you can use typo tolerance, faceted filtering, and sorting across your data with Stacks search integration. By indexing your product catalog or user-generated content, the skill enables a powerful search bar that supports these advanced retrieval features.