mongodb

仓库创建 2026年6月30日最近提交 20 天前SkillHot 收录 20 天前
▸ 精选理由

帮助优化查询与架构设计,适合使用 MongoDB 的后端团队。

这个 Skill 做什么

提供 MongoDB 的数据建模、聚合查询、索引与集群部署等实用建议。

给 MongoDB 的文档建模、aggregation pipeline、索引策略、事务和分片部署提供实用建议,帮你在 embed vs reference、索引组合和性能优化上做决策。适合在设计数据模型、调优慢查询或规划 MongoDB Atlas/分片集群时使用。强调以文档为中心的可扩展性与查询成本权衡。

▸ 展开 SKILL.md 英文原文

Use for MongoDB — schema design, aggregation pipelines, indexes, transactions, sharding, Atlas setup. Triggers — MongoDB, Mongoose, document model, embed vs reference.

数据与抓取文档数据库聚合管道索引优化Atlas通用
0
Stars
0
Forks
40
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/muxammadmamajonov/dot-claude/main/.claude/skills/mongodb/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/muxammadmamajonov/dot-claude/main/.claude/skills/mongodb/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# MongoDB

## When to use
- Designing or reviewing document schemas (embed vs. reference decisions)
- Writing or optimizing aggregation pipelines
- Planning index strategies (compound, partial, text, geospatial, Atlas Search)
- Implementing multi-document ACID transactions
- Configuring sharding keys and cluster topology
- Setting up MongoDB Atlas (clusters, Atlas Search, Atlas Vector Search, Triggers, App Services)
- Migrating from relational models to document model

## Workflow

1. **Clarify access patterns first.** List every query the application will run, their frequency, and sort/filter fields. Schema design follows access patterns, not entity relationships.

2. **Embed vs. reference 
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有