data-dimensional-modeling
Skill0 starsChanged 4 days agoMITArchived repositoryView on GitHub
Design or review business-facing analytical models, facts, dimensions, historical changes, conformed definitions, marts, and semantic-layer compatibility.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- khalilbenaz/claude-skills-collectiontheir own version, first seen Nov 1, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- khalilbenaz/claude-skills-collection★ 28same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository23 other files it gives its agents.
- AGENTS.mdAGENTS.md
- adrSkill
- advanced-sqlSkill
- bend-proofSkill
- content-writingSkill
- database-designSkill
- data-decision-scienceSkill
- data-lifecycleSkill
- data-operationsSkill
- data-slicingSkill
- data-statisticsSkill
- data-storytellingSkill
- evidence-researchSkill
- graph-protocolSkill
- gui-design-thinkingSkill
- marimo-notebooksSkill
- project-adoptionSkill
- repository-workSkill
- requirementsSkill
- software-design-thinkingSkill
- software-factorySkill
- testingSkill
- visual-designSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
Use conformed dimensions and conformed facts across marts.
- Very specific: line 22
Keep OLTP truth and analytics serving distinct.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Dimensional modeling — business process → grain → conformed analytical contract
Authority: Analytic table design and conformance. $requirements owns business meaning and acceptance; $database-design owns physical storage choices; $software-design-thinking retains domain invariants and effects; $data-statistics owns statistical inference. Read the method when modeling is material.
Four design decisions, in order
- Business process: identify a measurable event or process, actual users and decisions. Inventory adjacent processes in a bus matrix; do not design isolated dashboards first.
- Grain: finish: One row represents exactly … Specify entity, event/state, time, version and multiplicity. Grain is an invariant and becomes the basis of acceptance tests. Never mix incompatible grains in one fact.
- Dimensions: identify who/what/where/when/how attributes; conformed dimensions shared across processes, role-playing dates, degenerate identifiers, and unknown members. Decide business/natural, surrogate, and durable identity explicitly.
- Facts: classify additive, semi-additive and non-additive measures; transaction, periodic snapshot, accumulating snapshot or factless event. Define numerator/denominator and allowed aggregation levels for every metric.
Operational decisions
- Determine SCD policy per attribute: preserve original (0), overwrite (1), historical row (2), prior value (3), mini-dimension (4), history table (5), hybrid (6), or dual Type 1/2 keys (7) only when justified. Type 2 needs stable business identity, surrogate row version, non-overlapping validity intervals and late-change handling.
- Specify event time vs ingestion/load time, timezone, effective time, late records, retroactive changes, tombstones, duplicates, corrections and backfill policy. A historical dashboard needs explicit as-was versus as-is semantics.
- Use conformed dimensions and conformed facts across marts. Semantic metrics must share definitions/filters, not merely column names. Identify bridge tables and allocation rules when dimensions are multivalued or hierarchical; expose fanout risk.
- Keep OLTP truth and analytics serving distinct. Star schemas are a strong default for stable BI consumption, not a mandate for every staging/stream/feature/operational dataset. Compare physical choices to measured workload and existing stack.
- Separate source staging, integrated modeling and consumption layers when useful. A layer without a distinct contract or consumer is overhead.
Required output when significant
Process / consumer / decision:
Bus-matrix row / shared dimensions:
Grain statement (one row = ...):
Fact type / measures / additivity / metric semantics:
Dimensions / keys / SCD by attribute / history semantics:
Source lineage / event and system time / late and correction policy:
Data tests / migration / reconciliation / backfill / rollback:
Cost, query pattern and alternatives:
Known | Assumed | Unknown | Decision pending:SQL implementation handoff
Use $advanced-sql when implementing or reviewing joins, as-of dimensions, window logic, consumer query shape or plan performance. This skill owns business grain and additive meaning; SQL execution must preserve those contracts. Compare independent many-side aggregates before joining, test late Type 2 boundaries and measure actual query cost if optimizing.
Verification
- Unit-test key mapping and validity intervals. Assert uniqueness at the declared grain, required foreign-key resolution, and no unintended fanout.
- Reconcile totals/counts and selected entities with sources and previous approved results. Probe empty windows, double delivery, corrected events, late arriving facts/dimensions, Type 2 boundary timestamps and restatements.
- Validate metric semantics at several levels and compare against trusted business examples. Test backfill/re-run equivalence and retention permissions. Do not assert correctness merely because SQL executes.
References: Kimball and Ross concept extraction; $data-lifecycle; $data-slicing for product-wide slices.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

