data-modeling SKILL.md skillA

data-modeling from cbrock84/headcount is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add cbrock84/headcount/data-modeling@git:20260916.e72e404

Pins git:20260916.e72e404 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
cbrock84/headcount
Path
plugins/data-analytics/skills/data-modeling/SKILL.md
Versions recorded
3
Latest version
git:20260916.e72e404, committed Sep 16, 2026
First version recorded
Aug 29, 2026
Size
4,023 bytes
Repository stars
2,543
License
MIT

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.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Data modeling

## Layers, and why the middle one matters

Three layers, each with one job:

1. **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.
2. **Staging** — cleaned and conformed: consistent types, standardized names, deduplicated, no
   business logic yet.
3. **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.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add cbrock84/headcount/data-modeling@sha256:337fd67e55b048c8

The line at the top of this page pins the label git:20260916.e72e404, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_hduurs2tq5nwzdoo.svg)](https://markdownregistry.com/a/art_hduurs2tq5nwzdoo)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between Aug 29, 2026 and Sep 16, 2026, about one every 9 days.

versioncommittedcommitsizeaudit
git:20260916.e72e404 latest2026-09-16 e72e404 4,023 BA view · diff
git:20260829.a3e03fc2026-08-29 a3e03fc 3,684 BA view · diff
git:20260829.635d8e82026-08-29 635d8e8 3,080 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (4023 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

cbrock84/headcount · 2,543 stars · license MIT · pushed 2026-10-18 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_hduurs2tq5nwzdoo
GET https://markdownregistry.com/api/v1/resolve?ref=cbrock84/headcount/data-modeling
GET https://markdownregistry.com/api/v1/blob/337fd67e55b048c8ed17a3b954e419dc3dbf7c8dcfda92aaba532e02e1b8e35f

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from cbrock84/headcount

AGENTS.md AGENTS.md file
cbrock84/headcount · AGENTS.md
git:20260916.0335730 · audit A · 2,543 stars
chief-strategy-officer SKILL.md skill
cbrock84/headcount · plugins/corporate-strategy/skills/chief-strategy-officer/SKILL.md · Owns where the business plays and how it wins over a multi-year horizon — portfolio choices, corporate development…
git:20260916.e72e404 · audit A · 2,543 stars
market-entry SKILL.md skill
cbrock84/headcount · plugins/corporate-strategy/skills/market-entry/SKILL.md · Decides whether and how to enter a new market — sizing demand from the bottom up rather than from a market report…
git:20260916.e72e404 · audit A · 2,543 stars
mergers-and-acquisitions SKILL.md skill
cbrock84/headcount · plugins/corporate-strategy/skills/mergers-and-acquisitions/SKILL.md · Runs corporate development — deal thesis, target screening, valuation framing, diligence, and integration planning. Use…
git:20260916.0e7cd01 · audit A · 2,543 stars
portfolio-strategy SKILL.md skill
cbrock84/headcount · plugins/corporate-strategy/skills/portfolio-strategy/SKILL.md · Decides where capital and attention go across business lines, products, and markets — what to fund, hold, harvest, or…
git:20260916.e72e404 · audit A · 2,543 stars
scenario-planning SKILL.md skill
cbrock84/headcount · plugins/corporate-strategy/skills/scenario-planning/SKILL.md · Plans under genuine uncertainty — building scenarios, identifying which assumptions are load-bearing, setting…
git:20260829.2464776 · audit A · 2,543 stars
strategic-alliances SKILL.md skill
cbrock84/headcount · plugins/corporate-strategy/skills/strategic-alliances/SKILL.md · Structures partnerships that change what the business can do — technology integrations, channel and reseller…
git:20260901.aa45383 · audit A · 2,543 stars
chief-customer-officer SKILL.md skill
cbrock84/headcount · plugins/customer-experience/skills/chief-customer-officer/SKILL.md · Owns the customer's experience after the sale — support, success, escalation, and the feedback loop back into product…
git:20260903.cc4a2cd · audit A · 2,543 stars
customer-onboarding-and-implementation SKILL.md skill
cbrock84/headcount · plugins/customer-experience/skills/customer-onboarding-and-implementation/SKILL.md · Takes a new customer from signature to working — setting a definition of live that both sides agreed before the…
git:20260916.e72e404 · audit A · 2,543 stars
customer-success-management SKILL.md skill
cbrock84/headcount · plugins/customer-experience/skills/customer-success-management/SKILL.md · Runs the ongoing relationship with accounts after the sale — segmenting coverage against account value, building a…
git:20260901.49e89d6 · audit A · 2,543 stars
escalation-management SKILL.md skill
cbrock84/headcount · plugins/customer-experience/skills/escalation-management/SKILL.md · Handles customer situations that have exceeded normal support — severity assessment, incident communication, executive…
git:20260916.e72e404 · audit A · 2,543 stars
self-service-and-knowledge SKILL.md skill
cbrock84/headcount · plugins/customer-experience/skills/self-service-and-knowledge/SKILL.md · Builds the help center, in-product guidance, and knowledge base that let customers resolve problems without contacting…
git:20260916.e72e404 · audit A · 2,543 stars

Every file in cbrock84/headcount

Other files named data-modeling

data-modeling SKILL.md skill
martinolivero/saas-builder · skills/data-modeling/SKILL.md · This skill should be used when designing a database schema, modeling data, choosing a database, planning migrations, or…
git:20261007.f2beefe · audit A · 5 stars
data-modeling SKILL.md skill
aniruddhadas1/oniroute_swarmagents · skills/official/database/data-modeling/SKILL.md · Represent domain facts, relationships, constraints, and lifecycle explicitly. Use when planning or reviewing data…
git:20260804.bc7d3a4 · audit A · 2 stars

Browse by kind, by grade A, or by owner.