mongodb/mongodb-search-and-ai

Hilft MongoDB-Nutzern bei der Implementierung und Optimierung von Atlas Search (Volltextsuche), Vector Search (semantische Suche) und Hybrid Search. Ideal für die Erstellung von textbasierten Suchfunktionen, semantischen Ähnlichkeitssuchen oder kombinierten Ansätzen.

Was ist mongodb-search-and-ai?

Dieses Skill führt Entwickler durch die Implementierung und Optimierung der Suchfunktionen von MongoDB Atlas: Volltextsuche (Atlas Search), semantische Vektorsuche (Vector Search) und Hybrid Search. Es eignet sich besonders für Anwendungsfälle wie Autovervollständigung, Fuzzy-Suche, facettierte Suche, semantische Ähnlichkeit (z. B. RAG-Anwendungen mit Embeddings) oder kombinierte Ansätze. Darüber hinaus unterstützt es Textenthaltungs- und Substring-Matching (z. B. 'enthält', 'beinhaltet', 'erscheint in'), case-insensitive oder Multi-Feld-Textsuche sowie die Filterung über viele Felder mit variablen Kombinationen. Das Skill bietet Workflows zur Auswahl des richtigen Suchtyps, zur Erstellung von Indizes, zur Abfragekonstruktion und zur Leistungsoptimierung – alles über den offiziellen MongoDB MCP Server. Es ist primär für die Nutzung mit Claude Code, Cursor und anderen AI-Agenten konzipiert, die den MCP-Server integrieren.

Funktioniert mit~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/mongodb/agent-skills/tree/main/skills/mongodb-search-and-ai

Installed? Explore more Produktivität & Zusammenarbeit skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

Was macht mongodb-search-and-ai?

Leitet MongoDB-Nutzer durch die Implementierung und Optimierung von Atlas Search (Volltextsuche), Vector Search (semantische Suche) und Hybrid Search. Verwenden Sie dieses Skill, wenn Nutzer Suchfunktionen für textbasierte Abfragen (Autovervollständigung, Fuzzy-Matching, facettierte Suche), semantische Ähnlichkeit (Embeddings, RAG-Anwendungen) oder kombinierte Ansätze erstellen müssen. Verwenden Sie es auch, wenn Nutzer Textenthaltung, Substring-Matching ('enthält', 'beinhaltet', 'erscheint in'), case-insensitive oder Multi-Feld-Textsuche benötigen oder über viele Felder mit variablen Kombinationen filtern möchten. Bietet Workflows zur Auswahl des richtigen Suchtyps, zur Erstellung von Indizes, zur Abfragekonstruktion und zur Leistungsoptimierung unter Verwendung des MongoDB MCP-Servers.

Individual skills in this repo

This repo contains 5 individual skills — each has its own dedicated page.

mongodb/mongodb-connection

Optimize MongoDB client connection configuration (pools, timeouts, patterns) for any supported driver language. Use this skill when working/updating/reviewing on functions that instantiate or configure a MongoDB client (eg, when calling `connect()`), configuring connection pools, troubleshooting connection errors (ECONNREFUSED, timeouts, pool exhaustion), optimizing performance issues related to connections. This includes scenarios like building serverless functions with MongoDB, creating API endpoints that use MongoDB, optimizing high-traffic MongoDB applications, creating long-running tasks and concurrency, or debugging connection-related failures.

mongodb/mongodb-mcp-setup

Guide users through configuring key MongoDB MCP server options. Use this skill when a user has the MongoDB MCP server installed but hasn't configured the required environment variables, or when they ask about connecting to MongoDB/Atlas and don't have the credentials set up.

mongodb/mongodb-natural-language-querying

Generate read-only MongoDB queries (find) or aggregation pipelines using natural language, with collection schema context and sample documents. Use this skill whenever the user asks to write, create, or generate MongoDB queries, wants to filter/query/aggregate data in MongoDB, asks "how do I query...", needs help with query syntax, or discusses finding/filtering/grouping MongoDB documents. Also use for translating SQL-like requests to MongoDB syntax. Does NOT handle Atlas Search ($search operator), vector/semantic search ($vectorSearch operator), fuzzy matching, autocomplete indexes, or relevance scoring - use search-and-ai for those. Does NOT analyze or optimize existing queries - use mongodb-query-optimizer for that. Does NOT handle aggregation pipelines that involve write operations. Requires MongoDB MCP server.

mongodb/mongodb-query-optimizer

Help with MongoDB query optimization and indexing. Use only when the user asks for optimization or performance: "How do I optimize this query?", "How do I index this?", "Why is this query slow?", "Can you fix my slow queries?", "What are the slow queries on my cluster?", etc. Do not invoke for general MongoDB query writing unless user asks for performance or index help. Prefer indexing as optimization strategy. Use MongoDB MCP when available.

mongodb/mongodb-schema-design

MongoDB schema design patterns and anti-patterns. Use when designing data models, reviewing schemas, migrating from SQL, or troubleshooting performance issues caused by schema problems. Triggers on "design schema", "embed vs reference", "MongoDB data model", "schema review", "unbounded arrays", "one-to-many", "tree structure", "16MB limit", "schema validation", "JSON Schema", "time series", "schema migration", "polymorphic", "TTL", "data lifecycle", "archive", "index explosion", "unnecessary indexes", "approximation pattern", "document versioning".

Verwandte Skills