mongodb-atlas-stream-p…
Manages MongoDB Atlas Stream Processing (ASP) workflows. Handles workspace provisioning, data source/sink connections, processor…
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",
Claude Code
$ npx -y skills add mongodb/agent-skills --skill mongodb-schema-design --agent claude-code
Codex
$ npx skills add mongodb/agent-skills --skill mongodb-schema-design -a codex -y
Cursor
$ npx skills add mongodb/agent-skills --skill mongodb-schema-design -a cursor -y
Gemini CLI
$ npx skills add mongodb/agent-skills --skill mongodb-schema-design -a gemini-cli -y
GitHub Copilot
$ npx skills add mongodb/agent-skills --skill mongodb-schema-design -a github-copilot -y
OpenCode
$ npx skills add mongodb/agent-skills --skill mongodb-schema-design -a opencode -y
Windsurf
$ npx skills add mongodb/agent-skills --skill mongodb-schema-design -a windsurf -y
name: mongodb-schema-design description: 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". license: Apache-2.0 metadata: version: "1.0.0"
Data modeling patterns and anti-patterns for MongoDB, maintained by MongoDB. Bad schema is the root cause of most MongoDB performance and cost issues—queries and indexes cannot fix a fundamentally wrong model.
Reference these guidelines when:
Do not immediately recommend a pattern or schema change without understanding the broader context. Together with the user, analyze access patterns to identify pain points and opportunities for optimization.
**Step 1: Assess the environment** Ask the user:
**Step 2: Determine workload type** Is the workload read-heavy, write-heavy, or balanced? This will influence which diagnostic sources are most relevant. Ask the user:
Verify with `db.serverStatus().opcounters`.
**Step 3: Work with the user to choose the best source(s)** Recommend the best source(s) for their situation,
Collection of official MongoDB agent skills for use in agentic workflows. For more information, refer to the MongoDB Agent Skills documentation.
Manages MongoDB Atlas Stream Processing (ASP) workflows. Handles workspace provisioning, data source/sink connections, processor…
Optimize MongoDB client connection configuration (pools, timeouts, patterns) for any supported driver language. Use this skill…
Generate read-only MongoDB queries (find) or aggregation pipelines using natural language, with collection schema context and…
Estimates the storage and memory impact of encrypting fields in collections with Queryable Encryption (QE) enabled. Do NOT use…
Help with MongoDB query optimization and indexing. Use only when the user asks for optimization or performance: "How do I…
Covers everything about search in MongoDB: Atlas Search (full-text), Vector Search (semantic), and Hybrid Search. Use this skill…
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
Design and build AI agents for any domain. Use when users: (1) ask to "create an agent", "build an assistant", or "design an AI…