Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

MongoDB schema design: patterns and anti-patterns v1.0.0

Use this resource to design or review the data model of a MongoDB database

New

  • 304 downloads
  • 203 likes
  • 144 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install mongodb-schema-design-patterns

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent analyzes your application's access patterns, applies the embed-or-reference rules, then flags anti-patterns and suitable design patterns. You get a justified schema, with its validation rules.

Mostly picked by

Updated November 2, 2026

Card for the “MongoDB schema design: patterns and anti-patterns” skill

Details

Generates with
Your agent's model
Licence
Apache-2.0

Similar resources

View all

What you get

  • references/fundamental-embed-vs-reference.md: criteria for embedding or referencing
  • references/antipattern-*.md: anti-patterns (excessive lookups, unnecessary collections and indexes)
  • references/pattern-*.md: design patterns (approximation, archive, attribute, bucket, computed…)

Good fit for

  • You are migrating a SQL database to MongoDB
  • A document grows without limit and slows queries down

Not for

    Tags

    • mongodb
    • schema
    • data modeling
    • data

    About

    You say

    “Design the MongoDB schema for an order platform with customers, orders and order lines.”

    Card for the “MongoDB schema design: patterns and anti-patterns” skill

    Skill published by mongodb under the Apache-2.0 license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to design or review the data model of a MongoDB database
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE11.3 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/antipattern-excessive-lookups.md3.6 KB
    • references/antipattern-unnecessary-collections.md4.2 KB
    • references/antipattern-unnecessary-indexes.md3.8 KB
    • references/fundamental-document-model.md3.6 KB
    • references/fundamental-document-size.md9.8 KB
    • references/fundamental-embed-vs-reference.md15.3 KB
    • references/fundamental-schema-validation.md4.4 KB
    • references/pattern-approximation.md3.3 KB
    • references/pattern-archive.md5.5 KB
    • references/pattern-attribute.md2.5 KB
    • references/pattern-bucket.md4.3 KB
    • references/pattern-computed.md6.2 KB
    • references/pattern-document-versioning.md5.2 KB
    • references/pattern-extended-reference.md3.4 KB
    • references/pattern-outlier.md5.8 KB
    • references/pattern-polymorphic.md6.1 KB
    • references/pattern-schema-versioning.md8.5 KB
    • references/pattern-time-series-collections.md6.6 KB
    • references/source-query-stats.md3.5 KB
    • references/source-slow-query-logs.md2.4 KB
    • SKILL.md13.5 KB

    Origin and licence

    Listed unmodified

    Author
    mongodb
    Source
    github.com/mongodb/agent-skills/tree/155bb9c4b42a9a3e019f47be0669de0e4547d1ea/skills/mongodb-schema-design
    Licence
    Apache-2.0

    Notice

    « mongodb-schema-design » (mongodb, Apache-2.0) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.