スキル公式
mongodb-schema-design
Apache-2.02026年11月10日 更新197GitHubスター
MongoDB's skill on data modelling, written as rules and patterns for the agent to apply when designing or reviewing a MongoDB schema.
スキルの内容
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.
できること
- 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
概要
- 公開元
- MongoDB
- ツール
- MongoDB
インストール
- すべてのクライアントに追加するには、次のコマンドを実行します:
npx skills add mongodb/agent-skills
含まれるファイル
- 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
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
詳細
出典
- スキルファイル(SKILL.md)github.com/mongodb/agent-skills · 根拠となる項目:ライセンス2026年11月10日
- Webページmongodb.com · 根拠となる項目:公式かどうか2026年11月12日
- GitHubリポジトリgithub.com/mongodb/agent-skills · 根拠となる項目:公開元, 活動状況, ライセンス2026年11月11日
- リポジトリ内のフォルダ(mongodb-schema-design)github.com/mongodb/agent-skills · 根拠となる項目:スクリプトを含む2026年11月10日