
Mongodb
This gives Claude the mental model for MongoDB schema design and query patterns, which matters because the embedded vs referenced decision shapes everything else. The skill covers the core tradeoffs: when to denormalize data into a single document versus splitting it across collections with references. You get the aggregation pipeline for analytics, indexing strategies for performance, and practical examples of CRUD operations with all the query operators. The progressive disclosure flags when MongoDB makes sense (flexible schemas, hierarchical data) and when it doesn't (complex joins, strict ACID requirements). If you're building anything that stores JSON-like documents or needs to scale horizontally, this gives Claude the context to help you avoid the common pitfalls around document size limits and unbounded arrays.
- skills.sh installs
- 350
- GitHub stars
- 79
- last updated
- Aug 21, 2026
Install
$ npx -y skills add bobmatnyc/claude-mpm-skills --skill mongodb --agent claude-codeInstalls into .claude/skills of the current project.
Files
MongoDB - Document Database Patterns
Overview
MongoDB is a document-oriented NoSQL database that stores data in flexible, JSON-like documents. It excels at handling unstructured or semi-structured data, hierarchical relationships, and scenarios requiring horizontal scaling.
Key Features:
- Flexible schema (schemaless documents)
- Rich query language with secondary indexes
- Aggregation framework for analytics
- Horizontal scaling (sharding)
- Replica sets for high availability
- Change streams for real-time data
- Geospatial and full-text search
When to Use MongoDB:
- Rapidly evolving schemas
- Hierarchical/nested data (embedded documents)
- Real-time analytics with aggregation
- Geospatial applications
- Content management systems
- IoT data ingestion
- Catalog/inventory systems
When NOT to Use MongoDB:
- Complex multi-table joins (use RDBMS)
- ACID transactions across many documents (improved in 4.0+, but limited)
- Strict schema enforcement requirements
Schema Design Fundamentals
Document Structure
Sponsors
Details
- Repository
- github.com/bobmatnyc/claude-mpm-skills
- Categories
- Backend & APIs, Java & JVM, Design & UI/UX, Databases
- First seen
- Jun 3, 2026
More from bobmatnyc/claude-mpm-skills
All 158- Vb Core350
- Phoenix Api Channels348
- Digitalocean Containers Images347
- Hono Jsx347
- Langgraph346
- Pr Quality Checklist346
- Ecto Patterns345
- Vercel Observability345
- Media Transcoding344
- Clap341
- Phoenix Ops341
- Prisma Orm341
- Graphql340
- Pre Merge339
- Vb6 Legacy338
- Vercel Functions Runtime338
- Vercel Overview338
- Vercel Security Access338
- Flexlayout React337
- Digitalocean Agentic Cloud334
- Artifacts Builder333
- Vercel Ai333
- Terraform332
- Validated Handler332