mongodb
Installation
SKILL.md
MongoDB Document Database AI Skill Guide
Overview & Engine Architecture
MongoDB stores BSON documents in collections. Query paths drive compound index design; the aggregation pipeline is a staged computation graph. Replica sets provide durability via oplog replication; write concern and read concern define what “acknowledged” means—agents often treat majority as free insurance without counting voting data-bearing nodes.
Drivers (TLS, authSource, replicaSet)
-> mongod replica set / sharded cluster
-> collections + indexes (B-tree, partial, TTL, text)
-> oplog -> secondary apply (async)
-> change streams (resume tokens)
When to use / when not to
Use when