This is the skill you reach for when you're setting up a MongoDB client and want to avoid cargo-culting connection pool settings from Stack Overflow. It walks you through context-first configuration, asking about your deployment type, concurrency patterns, and workload before suggesting any parameters. The approach is solid: it explains the math behind pool sizing (like how each MongoClient creates 2 monitoring connections per replica member), covers the difference between async and sync drivers, and includes real scenarios like serverless functions where you need tiny pools with aggressive idle timeouts versus long-running OLTP servers that benefit from pre-warmed connections. One thing I appreciate is it explicitly tells you not to add arbitrary timeout values without justification, which is refreshingly honest about how most connection issues actually happen.
npx skills add https://github.com/mongodb/agent-skills --skill mongodb-connection