mongodb-expert

Diagnose MongoDB deployments and recommend index, modeling, and configuration optimizations.

Updated Jan 2, 2026
One-click install
npx skills add https://github.com/hung14vnn/MedManagerFE --skill mongodb-expert-hung14vnn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mongodb-expert
Source: https://github.com/hung14vnn/MedManagerFE/tree/main/.agent/skills/mongodb-expert
Command: npx skills add https://github.com/hung14vnn/MedManagerFE --skill mongodb-expert-hung14vnn

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Diagnose and optimize MongoDB deployments by providing data-modeling guidance, index strategies, and configuration tuning to improve performance, scalability, and reliability.

Core Features & Use Cases

  • Environment analysis and topology detection for MongoDB deployments (standalone, replica set, and sharded clusters)
  • Performance optimization through optimized indexes, efficient aggregations, and query tuning
  • Sharding, replica-set configuration, and connection pool best practices with safe-change guidance

Quick Start

Provide your MongoDB deployment details and I will generate targeted optimization steps using the patterns and checklists in this skill.

Frequently Asked Questions about mongodb-expert

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I diagnose slow MongoDB queries and optimize query performance?

Diagnose slow MongoDB queries by running explain plans and indexStats to analyze performance profiling, then optimize indexes and tune query structures to improve overall deployment performance.

What is the best way to design a MongoDB schema for scalability?

MongoDB schema design for scalability requires data-modeling guidance that structures documents to support efficient aggregation pipelines and prepares collections for future sharding across replica sets.

How do I configure MongoDB sharding and replica sets for high availability?

Configure MongoDB sharding and replica sets by applying topology detection across standalone or sharded clusters, then implementing connection pool best practices and safe-change recommendations with rollback considerations.

Can I get safe MongoDB configuration tuning with rollback considerations?

Yes, MongoDB configuration tuning provides safe-change recommendations that include rollback considerations, ensuring that index strategies, sharding adjustments, and replica-set modifications maintain system reliability.

When should I use MongoDB aggregation pipelines instead of simple queries?

Use MongoDB aggregation pipelines when data processing requires multi-stage transformations across documents, optimizing these pipelines with proper indexing strategies to handle complex workloads efficiently.

Why does my MongoDB deployment need connection pool tuning?

MongoDB connection pool tuning is needed to prevent connection exhaustion and latency spikes, applying configuration best practices across standalone, replica set, and sharded cluster topologies to improve reliability.