Zum Inhalt springen
Kitbay

mongodb-schema-design

Apache-2.0Aktualisiert am 10. Nov. 2026197GitHub-Sterne

MongoDB's skill on data modelling, written as rules and patterns for the agent to apply when designing or reviewing a MongoDB schema.

Was der Skill vermittelt

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.

Funktionen

  • 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-schema-design – Agent Skill | Kitbay