
Mongodb Schema Design
by mongodb1e72df255e54Apache-2.0Listed Oct 8, 2026Updated Oct 8, 2026
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".
Only the file list is public. File contents are available once the skill is installed in a workspace.
| Path | Size | Type |
|---|---|---|
| references/antipattern-excessive-lookups.md | 3.5 KB | text/markdown |
| references/antipattern-unnecessary-collections.md | 4.1 KB | text/markdown |
| references/antipattern-unnecessary-indexes.md | 3.7 KB | text/markdown |
| references/fundamental-document-model.md | 3.5 KB | text/markdown |
| references/fundamental-document-size.md | 9.6 KB | text/markdown |
| references/fundamental-embed-vs-reference.md | 14.9 KB | text/markdown |
| references/fundamental-schema-validation.md | 4.3 KB | text/markdown |
| references/pattern-approximation.md | 3.2 KB | text/markdown |
| references/pattern-archive.md | 5.3 KB | text/markdown |
| references/pattern-attribute.md | 2.4 KB | text/markdown |
| references/pattern-bucket.md | 4.2 KB | text/markdown |
| references/pattern-computed.md | 6 KB | text/markdown |
| references/pattern-document-versioning.md | 5 KB | text/markdown |
| references/pattern-extended-reference.md | 3.3 KB | text/markdown |
| references/pattern-outlier.md | 5.6 KB | text/markdown |
| references/pattern-polymorphic.md | 6 KB | text/markdown |
| references/pattern-schema-versioning.md | 8.2 KB | text/markdown |
| references/pattern-time-series-collections.md | 6.5 KB | text/markdown |
| references/source-query-stats.md | 3.4 KB | text/markdown |
| references/source-slow-query-logs.md | 2.3 KB | text/markdown |
| SKILL.md | 13.3 KB | text/markdown |
Source and attribution
Source:mongodb/agent-skillsinplugins/mongodb-atlas/skills/mongodb-schema-designat commit1e72df2
License: Apache-2.0
Content belongs to its original authors. SourceWeft indexes it from a public repository.
More from mongodb/agent-skills

Mongodb Search And Ai
mongodb
Guides MongoDB users in choosing, building and optimizing Atlas Search, Vector Search and Hybrid Search indexes and queries.

Mongodb Query Optimizer
mongodb
Guides MongoDB query and index optimization using explain plans, index inspection and Atlas performance advisor data.

Mongodb Natural Language Querying
mongodb
Generates read-only MongoDB find queries and aggregation pipelines from natural language using schema context.

Mongodb Connection
mongodb
Guides MongoDB client connection configuration, including pools, timeouts and troubleshooting, across driver languages.

Mongodb Atlas Stream Processing
mongodb
Guides building, operating, and debugging MongoDB Atlas Stream Processing pipelines through MongoDB MCP Server tools.
More in Software Development

Playground
anthropics
Builds self-contained interactive HTML playgrounds with controls, live preview, and copyable prompt output.

M5 Onboard
anthropics
Provisions M5Stack ESP32 boards by detecting them on USB, flashing UIFlow 2.0 firmware, and installing a MicroPython app bundle.

Cardputer Buddy
anthropics
Guides iterating on a Cardputer-Adv MicroPython app bundle: adding apps, pushing files over USB-serial, tailing logs, and running REPL commands.

Dpop Adoption
Guides implementation of OAuth 2.0 DPoP (RFC 9449) sender-constrained refresh tokens for Google's OAuth platform.

Gemini Live Api
Generates a Gemini Live API WebSocket client class, tests, docs, and a demo UI for bidirectional streaming.

Gemini Api
Guides use of the Gemini API on Google's Agent Platform with the Gen AI SDK across languages and capabilities.