Xpersona
D

Data Model

CLAWHUB · Unverified

Deep data modeling workflow—grain, facts and dimensions, keys, slowly changing dimensions, normalization trade-offs, and analytics query patterns. Use when d... Skill: Data Model Owner: clawkk Summary: Deep data modeling workflow—grain, facts and dimensions, keys, slowly changing dimensions, normalization trade-offs, and analytics query patterns. Use when d... Tags: latest:1.0.0 Version history: v1.0.0 | 2026-03-27T08:47:27.165Z | auto - Initial release of the "data-model" skill for analytics and warehouse design. - Introduces a six-stage workflow covering grain, conformed d

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s170g5yz1q3ksjnn4gz6v24af983h1mh:data-model
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-clawkk-data-model/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

5,669 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: data-model
description: Deep data modeling workflow—grain, facts and dimensions, keys, slowly changing dimensions, normalization trade-offs, and analytics query patterns. Use when designing warehouse/analytics models or reviewing star/snowflake schemas.
---

# Data Model

Analytics models succeed when **grain** is explicit, **keys** are stable, and **slowly changing dimensions** are chosen deliberately—not “star schema by default.”

## When to Offer This Workflow

**Trigger conditions:**

- Designing a warehouse, lakehouse, or BI layer
- Confusion on **one row per what**; duplicate counts in reports
- Refactoring dimensional models for performance or clarity

**Initial offer:**

Use **six stages**: (1) business questions & grain, (2) conformed dimensions, (3) facts & measures, (4) dimensions & SCD types, (5) keys & integrity, (6) performance & evolution). Confirm **tooling** (dbt, dimensional DW, BigQuery, etc.).

---

## Stage 1: Business Questions & Grain

**Goal:** **Grain** = the atomic row: e.g., “one line item per order per day” not “sort of per order.”

### Practices

- List **questions** the model must answer; **derive** grain from **smallest** needed detail

**Exit condition:** One sentence grain per fact table.

---

## Stage 2: Conformed Dimensions

**Goal:** **Same** customer/product definitions across facts—**shared** dimension tables or **SCD** policy aligned.

---

## Stage 3: Facts & Measures

**Goal:** **Additive** vs **semi-additive** vs **non-additive** measures documented (balances, distinct counts).

### Practices

- **Degenerate** dimensions vs junk dimensions—**avoid** **wide** **fact** **sprawl** **without** **reason**

---

## Stage 4: Dimensions & SCD Types

**Goal:** **SCD1** overwrite vs **SCD2** history with `valid_from`/`valid_to` vs **SCD3** limited history—**match** **compliance** **and** **reporting** **needs**.

---

## Stage 5: Keys & Integrity

**Goal:** **Surrogate** keys in facts; **natural** keys preserved as attributes; **referential** integrity strategy in the warehouse layer.

---

## Stage 6: Performance & Evolution

**Goal:** **Partition** and **cluster** keys for large facts; **late-arriving** facts policy; **version** **dims** when schema evolves.

---

## Final Review Checklist

- [ ] Grain explicit per fact table
- [ ] Conformed dimensions planned
- [ ] Measure additivity documented
- [ ] SCD strategy per critical dimension
- [ ] Keys and late-arriving data handled

## Tips for Effective Guidance

- **Fan traps** and **chasm traps** in BI—flag when joining across facts incorrectly.
- **Snapshot** fact tables for **point-in-time** balances vs **transaction** facts.

## Handling Deviations

- **Event**-only pipelines: still model **curated** **dimensions** **for** **analysis**, not only raw JSON.

_meta.json

{
  "ownerId": "kn76s36x99btbdct5mxefxwmth8310m2",
  "slug": "data-model",
  "version": "1.0.0",
  "publishedAt": 1774601247165
}

skill-card.md

## Description:

Deep data modeling workflow—grain, facts and dimensions, keys, slowly changing dimensions, normalization trade-offs, and analytics query patterns. Use when designing warehouse/analytics models or reviewing star/snowflake schemas.

This skill is ready for commercial/non-commercial use.

## Publisher:

[clawkk](https://clawhub.ai/user/clawkk)

### License/Terms of Use:

MIT-0

## Use Case:

Developers, data engineers, analytics engineers, and BI modelers use this skill to design or review warehouse, lakehouse, and analytics schemas by making grain, facts, dimensions, keys, slowly changing dimension policy, and performance trade-offs explicit.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Generated modeling recommendations may be incorrect or inappropriate for production schemas or compliance-sensitive datasets.

Mitigation: Review recommendations against business definitions, warehouse constraints, and compliance requirements before implementation.

## Reference(s):


## Skill Output:

**Output Type(s):** [Guidance, Markdown, Configuration]

**Output Format:** [Markdown guidance and checklists]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Advisory data modeling recommendations; no code, persistence, network use, or credential handling per security evidence.]

## Skill Version(s):

1.0.0 (source: ClawHub release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Data Model and adjacent AI workflows.