Install any skill in seconds. Free to start, no credit card required.
Get Started Free →cbrock84/data-modeling
Designs the warehouse and semantic layer — source-to-mart structure, dimensional modeling, grain, slowly changing dimensions, and the metric layer analytics reads through. Use this to design or restructure a warehouse, model a new source, decide on grain or table structure, build a semantic or metric layer, or diagnose why queries are slow, wrong, or impossible to write.
Passed 19 of 23 test cases with the skill, and 16 of 23 without it.
and 3 more in the full report
4 fixed15 passed either way3 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 4 test cases the skill fixed. Same model, same prompt, with and without the skill.
To speed up query performance for high-traffic dashboards, our lead data engineer wants to join 5 dimensional lookup tables into a single denormalized reporting table. What documentation requirement must be enforced before deploying this denormalized table?
| Checked | Without skill | With skill |
|---|---|---|
| requires explicitly documenting the reason for denormalizing the table structure | Missed | Passed |
| warns that undocumented denormalization is indistinguishable from a modeling error | Missed | Passed |
The instructions your model reads when the skill loads.
Three layers, each with one job:
Raw — source data, append-only, otherwise unmodified. Do not apply business logic on ingest: you cannot recover what you discarded, and the logic will need to change retroactively.
Privacy and security transformations are the exception, and belong at ingest. Credentials and secrets should never land in the warehouse at all. Personal data that is not needed should be dropped rather than stored and governed later, and identifiers you must keep but rarely need in the clear should be tokenized or encrypted on arrival. Retention and deletion apply from ingest, not from the marts.
The distinction: strip what you must not hold, keep everything you are entitled to hold, and leave interpretation for later.
Staging — cleaned and conformed: consistent types, standardized names, deduplicated, no business logic yet.
Marts — business-facing models shaped for how questions are asked.
The discipline that pays is keeping business logic out of layers 1 and 2. Logic embedded in ingestion cannot be changed retroactively, and it will need to change.
State the grain of every table in one sentence: one row per what. "One row per order line per day" is a grain. "Order data" is not.
Most modeling errors are grain errors, and they surface as fan-out — a join multiplying rows so every downstream sum is inflated. If a number is mysteriously too high, check the grain before checking the logic.
Facts for events and measurements; dimensions for the things being described. Keep facts narrow and long, dimensions wide and short.
Conform dimensions across facts — one customer dimension, used everywhere. Separate customer tables per domain is how the same customer gets counted differently in two reports.
test cases passed, vs 16 / 23 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.