Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Use when you need framework-agnostic MongoDB and non-relational database query guidance — document schema design, collection modeling, JSON Schema validation, indexes, aggregation pipelines, query performance, consistency trade-offs, transactions, and operational safety — without choosing Spring Boot, Quarkus, or Micronaut. This should trigger for requests such as Design MongoDB document schemas; Review MongoDB queries and indexes; Improve aggregation pipeline performance; Model non-relational d
.claude/skills/jabrena-705-technologies-nosql-mongodb/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-21 | ✗→✓ | ▲ Improved | 19% | 0% |
| case-22 | ✗→✓ | ▲ Improved | 28% | 0% |
| case-12 | ✓→✓ | = Same ✓ | 33% | 0% |
| case-06 | ✓→✓ | = Same ✓ | 14% | 0% |
| case-07 | ✓→✓ | = Same ✓ | 35% | 0% |
Help teams design maintainable, secure, and performant MongoDB and non-relational database queries for Java applications.
What is covered in this Skill?
$match pushdown, $project, $lookup, $unwind, $group, and memory controlsScope: Framework-agnostic MongoDB and non-relational data modeling. For Java framework integrations, defer to the matching Spring Boot, Quarkus, or Micronaut MongoDB skill.
Keep recommendations at the database-modeling and query layer unless the user explicitly asks for Java framework integration. After editing this repository's XML sources, regenerate skills and verify the build.
./mvnw compile or mvn compile before proposing Java or Maven changes in the same change set$where; use driver/framework query builders and validated parametersexplain() plans, scanned/returned ratios, sort coverage, and index selectivity before claiming a query is optimized@315-frameworks-spring-mongodb, Quarkus MongoDB to @415-frameworks-quarkus-mongodb, Micronaut MongoDB to @515-frameworks-micronaut-mongodb, and Mongock migrations to the matching framework migration skill./mvnw clean verify or mvn clean verify before promoting changesRead references/705-technologies-nosql-mongodb.md and inspect current collections, schemas, indexes, queries, aggregation pipelines, tests, and database configuration before proposing changes.
Confirm query patterns, cardinality, data volume, document growth, consistency requirements, shard topology, and migration constraints that shape the non-relational design.
Implement or refactor database artifacts following the reference patterns and project conventions, keeping Java framework integration out of scope unless explicitly requested.
Execute appropriate build, schema validation, query-plan, migration, and test checks; summarize what changed, what was verified, and any remaining database risks.
For detailed guidance, examples, and constraints, see references/705-technologies-nosql-mongodb.md.
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-12 | pass→pass | 12,020 | 9,315 | -23% | 1 | 1 | 0% | 1,765 | 2,355 | +33% | 0 | 0 | — |
case-03 | fail→fail | 14,769 | 14,102 | -5% | 1 | 1 | 0% | 2,708 | 3,484 | +29% | 0 | 0 | — |
case-04 | fail→fail | 16,264 | 14,463 | -11% | 1 | 1 | 0% | 3,204 | 3,227 | +1% | 0 | 0 | — |
case-05 | fail→fail | 13,346 | 15,867 | +19% | 1 | 1 | 0% | 2,595 | 3,691 | +42% | 0 | 0 | — |
case-01 | fail→fail | 19,561 | 19,339 | -1% | 1 | 1 | 0% | 3,517 | 4,377 | +24% | 0 | 0 | — |
case-02 | fail→fail | 15,315 | 18,411 | +20% | 1 | 1 | 0% | 2,459 | 4,015 | +63% | 0 | 0 | — |
case-06 | pass→pass | 17,073 | 14,804 | -13% | 1 | 1 | 0% | 2,792 | 3,185 | +14% | 0 | 0 | — |
case-07 | pass→pass | 14,020 | 12,563 | -10% | 1 | 1 | 0% | 2,081 | 2,806 | +35% | 0 | 0 | — |
case-08 | pass→pass | 12,050 | 10,159 | -16% | 1 | 1 | 0% | 2,220 | 2,640 | +19% | 0 | 0 | — |
case-09 | pass→pass | 8,662 | 8,412 | -3% | 1 | 1 | 0% | 1,406 | 2,082 | +48% | 0 | 0 | — |
case-10 | pass→pass | 9,203 | 11,193 | +22% | 1 | 1 | 0% | 1,646 | 2,738 | +66% | 0 | 0 | — |
case-11 | pass→pass | 13,343 | 11,678 | -12% | 1 | 1 | 0% | 2,186 | 2,693 | +23% | 0 | 0 | — |
case-13 | pass→pass | 13,646 | 14,178 | +4% | 1 | 1 | 0% | 2,244 | 3,021 | +35% | 0 | 0 | — |
case-14 | pass→pass | 12,731 | 7,789 | -39% | 1 | 1 | 0% | 2,208 | 2,273 | +3% | 0 | 0 | — |
case-15 | pass→pass | 13,975 | 15,627 | +12% | 1 | 1 | 0% | 2,480 | 3,345 | +35% | 0 | 0 | — |
case-16 | pass→pass | 13,774 | 8,703 | -37% | 1 | 1 | 0% | 2,278 | 2,294 | +1% | 0 | 0 | — |
case-17 | pass→pass | 10,450 | 7,733 | -26% | 1 | 1 | 0% | 1,658 | 2,022 | +22% | 0 | 0 | — |
case-18 | pass→pass | 16,857 | 15,274 | -9% | 1 | 1 | 0% | 2,593 | 2,861 | +10% | 0 | 0 | — |
case-19 | pass→pass | 17,590 | 13,002 | -26% | 1 | 1 | 0% | 2,891 | 2,938 | +2% | 0 | 0 | — |
case-20 | pass→pass | 10,194 | 7,867 | -23% | 1 | 1 | 0% | 1,675 | 1,909 | +14% | 0 | 0 | — |
case-21 | fail→pass | 29,940 | 7,724 | -74% | 1 | 1 | 0% | 1,700 | 2,023 | +19% | 0 | 0 | — |
case-22 | fail→pass | 6,199 | 2,752 | -56% | 1 | 1 | 0% | 964 | 1,230 | +28% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +9 percentage points is the difference between those two pass rates over the 22 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.