From db-mongodb
Use when scaffolding or reviewing MongoDB project layout — collection organization, migration script conventions, model/schema file layout, and index definition patterns
How this skill is triggered — by the user, by Claude, or both
Slash command
/db-mongodb:mongodb-project-structureThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
```
database/
├── models/
│ ├── order.js # Mongoose schema + model
│ ├── customer.js
│ └── product.js
├── migrations/
│ ├── 20260101000000-create-orders-indexes.js
│ ├── 20260102000000-add-schema-validation.js
│ └── 20260103000000-backfill-customer-email.js
├── indexes/
│ ├── orders.js # Index definitions for orders collection
│ ├── customers.js
│ └── products.js
├── validators/
│ ├── orders.json # JSON Schema validator for orders
│ ├── customers.json
│ └── products.json
├── aggregations/
│ ├── monthly-sales-report.js
│ └── top-customers.js
├── seed/
│ ├── lookup/
│ │ └── orderStatuses.json
│ └── dev/
│ └── sampleOrders.json
├── tests/
│ ├── orders.test.js
│ ├── customers.test.js
│ └── aggregations.test.js
├── migrate-mongo-config.js
└── docker-compose.yml # MongoDB + Mongo Express for dev
migrations/ for versioned change scripts (timestamp prefix for ordering)indexes/ for explicit index definition scripts (applied during setup)validators/ for JSON Schema collection validatorsaggregations/ for reusable aggregation pipelinesseed/lookup/ for reference dataseed/dev/ for development-only sample datatests/ alongside models, one test file per model/aggregationmigrate-mongo-config.js for migration tool configurationnpx claudepluginhub gagandeepp/software-agent-teams --plugin db-mongodbGuides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Enforces test-driven development: write failing test first, then minimal code to pass. Use when implementing features or bugfixes.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.