Skip to content
aj-geddes avatar

Nosql Database Design

Schema design guidance for MongoDB and DynamoDB covering document modeling, indexing, and query-driven denormalization.

CCM score
38 of 100
skills.sh installs
494
GitHub stars
396
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers MongoDB document structure, embedding versus referencing, and collection design, plus DynamoDB table and index design
  • Includes six reference guides on document structure, MongoDB indexing, schema validation, DynamoDB table structure, global secondary indexes, and item operations
  • Provides a quick-start MongoDB example that embeds address and order arrays within a single user document
  • Designed for teams planning NoSQL data architectures around query patterns and denormalization tradeoffs

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill nosql-database-design -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

NoSQL Database Design

Table of Contents

Overview

Design scalable NoSQL schemas for MongoDB (document) and DynamoDB (key-value). Covers data modeling patterns, denormalization strategies, and query optimization for NoSQL systems.

When to Use

  • MongoDB collection design
  • DynamoDB table and index design
  • Document structure modeling
  • Embedding vs. referencing decisions
  • Query pattern optimization
  • NoSQL indexing strategies
  • Data denormalization planning

Quick Start

Minimal working example:

// Single document with embedded arrays
db.createCollection("users");

db.users.insertOne({
  _id: ObjectId("..."),
  email: "john@example.com",
  name: "John Doe",
  createdAt: new Date(),

  // Embedded address
  address: {
    street: "123 Main St",
    city: "New York",
    state: "NY",
    zipCode: "10001",
  },

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Category
Databases
First seen
Jun 3, 2026

Questions

What does the nosql-database-design skill do?

It designs NoSQL database schemas for MongoDB and DynamoDB, covering document structures, collections, table and index design, and query optimization. It also helps decide between embedding and referencing and plans denormalization for NoSQL data architectures.

How do I install the nosql-database-design skill?

Run npx -y skills add aj-geddes/useful-ai-prompts --skill nosql-database-design -y in your project. Once installed, the agent can design MongoDB collections and DynamoDB tables for your data model.

Which databases does this skill support?

It supports MongoDB, a document database, and DynamoDB, a key-value store. The skill covers MongoDB indexing and schema validation, and DynamoDB table structure, global secondary indexes and item operations.

Where does nosql-database-design rank among Databases skills on Claude Marketplaces?

It is listed in the Databases category alongside supabase-postgres-best-practices and several Prisma skills, which focus on relational Postgres and Prisma client work. This skill is aimed at NoSQL document and key-value modeling instead.

More from aj-geddes/useful-ai-prompts

All 258

Similar to Nosql Database Design

More Databases