Giverny

MongoDB Schema Design

MongoDB schema design patterns and anti-patterns.

by mongodb★ 210DatabasesOfficial

What MongoDB Schema Design does

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".

How to install MongoDB Schema Design in Claude Code

Giverny gives you a ready prompt with the exact install command from mongodb/agent-skills. Sign in with GitHub, copy the prompt and paste it into Claude Code; Claude installs the skill and confirms it loaded. To install by hand, clone mongodb/agent-skills and copy the skills/mongodb-schema-design folder into ~/.claude/skills/.

How to use it

Once installed, Claude loads MongoDB Schema Design on its own whenever your request matches what the skill does. You can also ask for it by name, for example: “Use the mongodb-schema-design skill on my current project.”

More Claude skills for databases