Back to Skills

modeling-nosql-data

jeremylongshore
Updated Today
18 views
712
74
712
View on GitHub
Metawordaidesigndata

About

This skill helps developers design NoSQL data models for databases like MongoDB and DynamoDB when users request schema creation or document structure design. It provides guidance on key principles including embedding vs. referencing, access pattern optimization, and sharding key selection. Use it for tasks involving NoSQL database architecture and query optimization.

Documentation

Overview

This skill facilitates the design of efficient NoSQL data models, providing guidance on schema creation, denormalization strategies, and query optimization for document and key-value databases. It helps users translate their data requirements into production-ready NoSQL implementations.

How It Works

  1. Identify Database Type: Determines the target NoSQL database (e.g., MongoDB, DynamoDB).
  2. Analyze Data Requirements: Understands the data entities, attributes, and relationships.
  3. Design Data Model: Creates a NoSQL data model based on the identified database type and data requirements, considering embedding vs. referencing and access patterns.
  4. Suggest Schema Definition: Provides a schema definition or table structure based on the designed data model.

When to Use This Skill

This skill activates when you need to:

  • Design a new NoSQL database schema.
  • Optimize an existing NoSQL data model for performance.
  • Translate relational data models to NoSQL.
  • Choose appropriate sharding keys for a NoSQL database.
  • Generate MongoDB or DynamoDB schema definitions.

Examples

Example 1: Designing a MongoDB Schema for an E-commerce Application

User request: "Design a MongoDB schema for an e-commerce application, focusing on products and customers."

The skill will:

  1. Analyze the data requirements for products and customers, considering attributes like product name, price, description, customer ID, name, and address.
  2. Design a MongoDB schema with embedded product reviews and customer order history, optimizing for common query patterns.

Example 2: Creating a DynamoDB Table for a Social Media Platform

User request: "Create a DynamoDB table for storing social media posts, considering high read and write throughput."

The skill will:

  1. Analyze the data requirements for social media posts, considering attributes like user ID, timestamp, content, and likes.
  2. Design a DynamoDB table with appropriate primary and secondary indexes for efficient querying based on user ID and timestamp.

Best Practices

  • Denormalization: Embed related data when reads are more frequent than writes.
  • Access Patterns: Optimize the data model for the most common query patterns.
  • Sharding: Choose sharding keys that distribute data evenly across shards.

Integration

This skill can be integrated with other plugins for generating code based on the designed data model, such as generating MongoDB queries or DynamoDB API calls.

Quick Install

/plugin add https://github.com/jeremylongshore/claude-code-plugins-plus/tree/main/nosql-data-modeler

Copy and paste this command in Claude Code to install this skill

GitHub 仓库

jeremylongshore/claude-code-plugins-plus
Path: backups/skills-batch-20251204-000554/plugins/database/nosql-data-modeler/skills/nosql-data-modeler
aiautomationclaude-codedevopsmarketplacemcp

Related Skills

sglang

Meta

SGLang is a high-performance LLM serving framework that specializes in fast, structured generation for JSON, regex, and agentic workflows using its RadixAttention prefix caching. It delivers significantly faster inference, especially for tasks with repeated prefixes, making it ideal for complex, structured outputs and multi-turn conversations. Choose SGLang over alternatives like vLLM when you need constrained decoding or are building applications with extensive prefix sharing.

View skill

evaluating-llms-harness

Testing

This Claude Skill runs the lm-evaluation-harness to benchmark LLMs across 60+ standardized academic tasks like MMLU and GSM8K. It's designed for developers to compare model quality, track training progress, or report academic results. The tool supports various backends including HuggingFace and vLLM models.

View skill

llamaguard

Other

LlamaGuard is Meta's 7-8B parameter model for moderating LLM inputs and outputs across six safety categories like violence and hate speech. It offers 94-95% accuracy and can be deployed using vLLM, Hugging Face, or Amazon SageMaker. Use this skill to easily integrate content filtering and safety guardrails into your AI applications.

View skill

langchain

Meta

LangChain is a framework for building LLM applications using agents, chains, and RAG pipelines. It supports multiple LLM providers, offers 500+ integrations, and includes features like tool calling and memory management. Use it for rapid prototyping and deploying production systems like chatbots, autonomous agents, and question-answering services.

View skill