
Description
mongodb-schema-design is an agent skill from MongoDB's agent-skills collection, listed on skills.sh. It gives an agent MongoDB data modelling patterns and anti-patterns. The skill argues that a poor schema is the root cause of most MongoDB performance and cost problems, because queries and indexes cannot fix a fundamentally wrong model. It applies when designing a new schema, migrating from a relational database, reviewing existing models, troubleshooting slow queries or growing documents, and deciding between embedding and referencing. It covers modelling one-to-one, one-to-many and many-to-many relationships and tree structures, the 16 MB document limit, and adding schema validation to existing collections. It also refers to Atlas Schema Suggestions and the Performance Advisor warnings. The skill is a SKILL.md file of instructions that an agent loads when a task calls for it, and it is free to install. Its skills.sh audits show Gen Agent Trust Hub Pass, Socket Pass and Snyk Warn.…
Highlights
- Embedding versus referencing guidance
- Relationship and tree modelling patterns
- Anti-patterns and the 16 MB document limit
- Migration advice from SQL
- Free to install
Ratings & Reviews
No ratings yet
Be the first to rate mongodb-schema-design.
People also visit
mongodb-schema-design FAQ
What does mongodb-schema-design do?
It helps an agent design, review and troubleshoot MongoDB data models using established patterns and anti-patterns.
How do I install it?
Run: npx skills add https://github.com/mongodb/agent-skills --skill mongodb-schema-design
When should I use it?
When designing a schema, migrating from SQL, deciding between embedding and referencing, or hitting the 16 MB limit.
Does it cover existing collections?
Yes. It covers reviewing existing data models and adding schema validation to existing collections.
Is it free?
Yes. The listing shows it as free.
What did the security audits show?
skills.sh lists Gen Agent Trust Hub Pass, Socket Pass and Snyk Warn.
What are the best mongodb-schema-design alternatives?
Popular alternatives to mongodb-schema-design include mongodb/mongodb-schema-design, mongodb-skills and mongodb. See all mongodb-schema-design alternatives











