mongodb-schema-design
MongoDB's skill on data modelling, written as rules and patterns for the agent to apply when designing or reviewing a MongoDB schema.
O que a skill ensina
MongoDB's skill on data modelling, written as rules and patterns for the agent to apply when designing or reviewing a MongoDB schema. It covers anti-patterns such as unbounded arrays and too many indexes, choosing between embedding and referencing, modelling one-to-many and tree relationships, staying under the 16 MB document limit, JSON Schema validation, time series data, polymorphic documents, versioning and archiving old data, and moving a relational design to MongoDB. It is reference guidance and does not need a database connection.
O que faz
- Review a MongoDB schema for common anti-patterns
- Decide between embedding and referencing related data
- Add JSON Schema validation to collections
- Plan a migration from a relational schema to MongoDB
Sobre
- Publicador
- MongoDB
- Ferramenta
- MongoDB
Instalação
- Execute este comando para adicionar ao Qualquer cliente:
npx skills add mongodb/agent-skills
O que tem dentro
- references/antipattern-excessive-lookups.md
- references/antipattern-unnecessary-collections.md
- references/antipattern-unnecessary-indexes.md
- references/fundamental-document-model.md
- references/fundamental-document-size.md
- references/fundamental-embed-vs-reference.md
- references/fundamental-schema-validation.md
- references/pattern-approximation.md
- references/pattern-archive.md
- references/pattern-attribute.md
- references/pattern-bucket.md
- references/pattern-computed.md
- references/pattern-document-versioning.md
- references/pattern-extended-reference.md
- references/pattern-outlier.md
- references/pattern-polymorphic.md
- references/pattern-schema-versioning.md
- references/pattern-time-series-collections.md
- references/source-query-stats.md
- references/source-slow-query-logs.md
Servidores MCP e skills podem executar código no seu computador e agir sobre os seus dados. Revise o código-fonte antes de instalar.
Detalhes
| Fato | Valor | Fonte |
|---|---|---|
| Tipo | Skill | |
| Ferramenta | MongoDB | |
| Publicador | MongoDB | fonte |
| Status oficial | OficialMongoDB docs list this skill and link the mongodb/agent-skills repository | fonte |
| Exige chave de API ou login | Não informado na documentação | |
| Inclui scripts | Não | fonte |
| Plataformas | Não informado na documentação | |
| Clientes de IA | Não informado na documentação | |
| Licença | Apache-2.0 | fonte |
| Preço | Não informado na documentação | |
| Atividade | Último commit em 10 de nov. de 2026197 estrelas no GitHubDados de download indisponíveis (não está no npm nem no PyPI) | fonte |
| Links | Repositório |
Fontes
- Arquivo da skill (SKILL.md)github.com/mongodb/agent-skills · Comprova: Licença10 de nov. de 2026
- Página webmongodb.com · Comprova: Status oficial12 de nov. de 2026
- Repositório no GitHubgithub.com/mongodb/agent-skills · Comprova: Publicador, Atividade, Licença11 de nov. de 2026
- Pasta no repositório (mongodb-schema-design)github.com/mongodb/agent-skills · Comprova: Inclui scripts10 de nov. de 2026