Data Schema Design

Design and review Prisma/Postgres schemas with rigor — independent of domain. Snapshot mutable values onto historical records, complete lifecycle/state enums (Postgres enums, not string constants), join tables for hidden many-to-many, FK/cardinality integrity, money-as-integer-cents, createdAt/updatedAt on every model, and a per-field rationale. Includes the validation 'lenses' to review an existing data model in a spec for missing/extra models and fields, plus gap-bucket classification. Use when designing a Prisma schema or reviewing one. Trigger keywords: schema design, data model, Prisma model, review schema, missing table, enum, snapshot price, join table, cardinality.

Persimmon-Automation-Labs Updated

File contents

Persimmon-Automation-Labs/persimmon-claude-skills/tree/main/skills/data-schema-design commit 1d08d15fb9

Frequently asked questions

npx skillmds@latest add persimmon-automation-labs/data-schema-design