Mongodb Query Optimizer
技能 已验证 活跃协助进行 MongoDB 查询优化和索引。仅当用户询问优化或性能时使用:“如何优化此查询?”、“如何索引此项?”、“为什么此查询很慢?”、“你能修复我慢速的查询吗?”、“我的集群上有哪些慢速查询?”,等等。除非用户询问性能或索引帮助,否则不要用于通用的 MongoDB 查询编写。优先使用索引作为优化策略。可用时使用 MongoDB MCP。
帮助用户优化 MongoDB 查询和索引策略,以提高数据库性能。
功能
- 分析慢速 MongoDB 查询
- 建议最优索引创建
- 解释查询执行计划
- 利用 MongoDB MCP 服务器工具
- 提供回退优化建议
使用场景
- 当被问及如何优化特定 MongoDB 查询时。
- 当用户询问有关性能索引策略时。
- 当用户需要了解为什么他们的 MongoDB 查询很慢时。
- 当用户请求帮助优化一般集群性能时。
非目标
- 在没有性能问题的情况下进行通用的 MongoDB 查询编写。
- 直接创建索引或修改数据库模式。
- 在没有用户查询上下文的情况下编写复杂的聚合管道。
安装
请先添加 Marketplace
/plugin marketplace add mongodb/agent-skills/plugin install agent-skills@mongodb-plugins质量评分
已验证类似扩展
MongoDB Connection Optimizer
100为任何支持的驱动程序语言优化 MongoDB 客户端连接配置(池、超时、模式)。在处理/更新/审查实例化或配置 MongoDB 客户端(例如,调用 `connect()` 时)、配置连接池、对连接错误(ECONNREFUSED、超时、池耗尽)进行故障排除、优化与连接相关的性能问题时,请使用此技能。这包括构建具有 MongoDB 的无服务器函数、创建使用 MongoDB 的 API 端点、优化高流量 MongoDB 应用程序、创建长期运行任务和并发性,或调试与连接相关的失败等场景。
Sql Optimization
100Universal SQL performance optimization assistant for comprehensive query tuning, indexing strategies, and database performance analysis across all SQL databases (MySQL, PostgreSQL, SQL Server, Oracle). Provides execution plan analysis, pagination optimization, batch operations, and performance monitoring guidance.
Mongodb Search And Ai
100指导 MongoDB 用户实现和优化 Atlas Search(全文搜索)、Vector Search(语义搜索)和 Hybrid Search 解决方案。当用户需要为文本查询(自动完成、模糊匹配、分面搜索)、语义相似性(嵌入、RAG 应用)或组合方法构建搜索功能时,请使用此技能。当用户需要文本包含、子字符串匹配(“包含”、“包括”、“出现在”)、不区分大小写或多字段文本搜索,或跨多个字段进行具有可变组合的过滤时,也请使用此技能。提供有关选择正确的搜索类型、创建索引、构建查询和使用 MongoDB MCP 服务器优化性能的工作流。
Dsql
100Build with Aurora DSQL — manage schemas, execute queries, handle migrations, diagnose query plans, and develop applications with a serverless, distributed SQL database. Covers IAM auth, multi-tenant patterns, MySQL-to-DSQL migration, DDL operations, query plan explainability, and SQL compatibility validation. Triggers on phrases like: DSQL, Aurora DSQL, create DSQL table, DSQL schema, migrate to DSQL, distributed SQL database, serverless PostgreSQL-compatible database, DSQL query plan, DSQL EXPLAIN ANALYZE, why is my DSQL query slow.
Performance Analysis
100Comprehensive performance analysis, bottleneck detection, and optimization recommendations for Claude Flow swarms
Core Web Vitals
100优化核心 Web 指标(LCP、INP、CLS),以获得更好的页面体验和搜索排名。当被要求“改进核心 Web 指标”、“修复 LCP”、“减少 CLS”、“优化 INP”、“页面体验优化”或“修复布局偏移”时使用。