data-design

Design data models and schemas with cross-domain relationships and data-flow mappings.

Updated Feb 21, 2026
One-click install
npx skills add https://github.com/aquarius-wing/polymarket-dev-tools --skill data-design
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: data-design
Source: https://github.com/aquarius-wing/polymarket-dev-tools/tree/main/.cursor/skills/data-design
Command: npx skills add https://github.com/aquarius-wing/polymarket-dev-tools --skill data-design

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Designing data structures, database schemas, and state management to ensure a reliable single source of truth and coherent data flows across modules.

Core Features & Use Cases

  • Single source of truth: Create canonical data models that minimize duplication and ensure consistency.
  • Cross-domain mapping: Define relationships and foreign keys across domains (e.g., users, products, orders).
  • Data flow planning: Map production to consumption paths, including handling missing references and cascading updates.

Quick Start

Design a complete data model for a simple e-commerce domain with entities for users, products, categories, and orders.

Frequently Asked Questions about data-design

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

FAQPage Schema
How do I design a database schema that scales across multiple domains?

To design a database schema that scales, create canonical data models that minimize duplication and ensure consistency. This approach defines cross-domain relationships and foreign keys to maintain a reliable single source of truth across different domains.

What is a single source of truth in data structure design?

A single source of truth in data structure design is a canonical data model that minimizes duplication and ensures consistency. It provides a reliable foundation for coherent data flows and cross-domain relationships across software modules.

How do I map data flows and handle cascading updates across modules?

Map data flows and handle cascading updates by planning production to consumption paths explicitly. This involves mapping fields with context, defining cross-domain relationships, and enforcing data integrity through thoughtful schema design and references.

Can I use this approach to plan state management for an e-commerce application?

Yes, you can plan state management for an e-commerce application by designing a complete data model. This includes creating entities for users, products, categories, and orders to ensure reliable operations and coherent data flows.

What is the best way to ensure data integrity when defining cross-domain relationships?

The best way to ensure data integrity when defining cross-domain relationships is through thoughtful schema design and clear references. This includes mapping fields with context and handling missing references properly during data flow planning.

When should I not use a single canonical data model for my schema design?

You should avoid a single canonical data model when your system does not require strict cross-domain relationships or a single source of truth. If your application handles isolated data without cascading updates, a simpler schema design may be more appropriate.