110downloads
MongoDB schema design and data modeling skill
Choose MongoDB document models, embedding and references for your access patterns. Review validation, data growth and schema migration tradeoffs.
When it runs
Your agent reads this description from SKILL.md to decide when to load the skill:
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".
What SKILL.md covers
- When to Apply
- Quick Reference
- Key Principle
- Embed/Reference Decision Framework
- How to Use
- How These Rules Work
Files in the ZIP
mongodb-schema-design/SKILL.mdmongodb-schema-design/references/antipattern-excessive-lookups.mdmongodb-schema-design/references/antipattern-unnecessary-collections.mdmongodb-schema-design/references/antipattern-unnecessary-indexes.mdmongodb-schema-design/references/fundamental-document-model.mdmongodb-schema-design/references/fundamental-document-size.mdmongodb-schema-design/references/fundamental-embed-vs-reference.mdmongodb-schema-design/references/fundamental-schema-validation.mdmongodb-schema-design/references/pattern-approximation.mdmongodb-schema-design/references/pattern-archive.mdmongodb-schema-design/references/pattern-attribute.mdmongodb-schema-design/references/pattern-bucket.mdmongodb-schema-design/references/pattern-computed.mdmongodb-schema-design/references/pattern-document-versioning.mdmongodb-schema-design/references/pattern-extended-reference.mdmongodb-schema-design/references/pattern-outlier.mdmongodb-schema-design/references/pattern-polymorphic.mdmongodb-schema-design/references/pattern-schema-versioning.mdmongodb-schema-design/references/pattern-time-series-collections.mdmongodb-schema-design/references/source-query-stats.mdmongodb-schema-design/references/source-slow-query-logs.md
Related skills
MongoDB Atlas Stream Processing workflow skill
Build and operate MongoDB Atlas Stream Processing pipelines. Configure workspaces and connections, manage processors and diagnose streaming data failures.
MongoDB connection pools and timeout tuning skill
Review MongoDB client connections, pool sizing and timeouts for your workload. Diagnose connection failures before choosing driver configuration changes.
MongoDB MCP Server setup and connection skill
Configure MongoDB MCP Server and check its connection to your database. Follow the setup workflow before using agent tools for MongoDB operations.