data-model

Design data models defining entities, relationships, constraints, and access patterns.

Updated Apr 1, 2026
One-click install
npx skills add https://github.com/hpsgd/claude-marketplace --skill data-model-hpsgd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: data-model
Source: https://github.com/hpsgd/claude-marketplace/tree/main/plugins/engineering/data-engineer/skills/data-model
Command: npx skills add https://github.com/hpsgd/claude-marketplace --skill data-model-hpsgd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Data-model design often lacks a structured approach to defining entities, their relationships, constraints, and access patterns. This skill provides a blueprint to translate domain concepts into a normalized schema that supports reliable data governance and scalable queries.

Core Features & Use Cases

  • Domain-driven domain discovery: identify core entities, events, and actors.
  • Relationship mapping: define one-to-one, one-to-many, and many-to-many associations with cardinality and integrity rules.
  • Schema design rules: enforce UUID PKs, timezone-aware timestamps, and versioned migrations for evolution.
  • Use Case: design a catalog for an e-commerce platform, including products, categories, and inventory.

Quick Start

Describe your domain and generate a complete data model proposal that includes entities, relationships, constraints, and recommended indexes.

Frequently Asked Questions about data-model

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design a database schema from domain concepts?

To design a database schema from domain concepts, you translate domain actors and events into normalized entities, define their relationships, and enforce data integrity rules. This process creates a blueprint supporting scalable queries and data governance.

What is the best way to map entity relationships and cardinality in a data model?

Mapping entity relationships involves defining one-to-one, one-to-many, and many-to-many associations with specific cardinality. Applying relationship mapping ensures your schema maintains accurate data integrity across connected entities.

How do I enforce data integrity constraints when designing a SQL schema?

You enforce data integrity constraints by applying schema design rules such as mandatory UUID primary keys, timezone-aware timestamps, and versioned migrations. These constraints ensure reliable data governance and schema evolution.

Can I use this data modeling approach for an e-commerce catalog schema?

Yes, you can use this data modeling approach to design an e-commerce catalog schema. It supports identifying core entities like products, categories, and inventory, while mapping their relationships and access patterns.

When do I need to analyze access patterns for database schema design?

You need to analyze access patterns during database schema design when your application requires scalable queries and structured data governance. Access pattern analysis ensures the normalized schema efficiently supports expected data retrieval operations.

How do I plan for schema evolution and versioned migrations in a data model?

Planning for schema evolution requires implementing versioned migrations within your data model design. This approach manages structural changes over time by enforcing rules like UUID primary keys and timezone-aware timestamps for sustained data integrity.