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

Related skills