NoSQL Data Modeler Skill for MongoDB Product Reviews
Choose embedded or referenced MongoDB documents from observed read and write patterns and check each modeled access path.
中文Install in Claude Code
Use local MongoDB and mongosh with synthetic catalog data. Give product variants a fixed bound and let the review collection grow.
- Get the complete `plugins/database/nosql-data-modeler/skills/modeling-nosql-data` directory from the pinned GitHub commit.
- Copy it into the target project's `.claude/skills/`. Check `.claude/skills/modeling-nosql-data/SKILL.md`, start Claude Code at the project root, and call `/modeling-nosql-data`.
Example task
Insert mug-01 with two colors and insert three dated reviews separately. Fetch the embedded colors from the product. Filter reviews by productId, sort by createdAt descending, and limit to two.What to check
The product returns both colors. The review query returns the two newest entries. The model documents which query uses each shape.
Original SKILL.md on GitHub · Updated
Frequently asked question
Can I append every review to the product document?
For a growing list with independent pagination, keep reviews in their own collection and reference the product.