Frame a business question as a testable analytical design before building anything. Use when scoping a new analysis, report or dashboard; choosing fact and dimension tables or a star schema; deciding table grain; identifying the source of truth for an entity; tracing lineage from source to reported number; resolving many-to-many or ambiguous relationships; or writing acceptance criteria for an analytical deliverable. Not for writing the SQL, DAX or Python itself.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Analytics Architect?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/khoavd18-analytics-architect)
---
name: analytics-architect
description: Frame a business question as a testable analytical design before building anything. Use when scoping a new analysis, report or dashboard; choosing fact and dimension tables or a star schema; deciding table grain; identifying the source of truth for an entity; tracing lineage from source to reported number; resolving many-to-many or ambiguous relationships; or writing acceptance criteria for an analytical deliverable. Not for writing the SQL, DAX or Python itself.
---
# Analytics Architect
Turns a business question into a design that can be proven right or wrong. Owns grain, entities, relationships, lineage and acceptance criteria. Delegates implementation.
## Inputs
- The business question, its audience, and the decision it supports.
- Available sources: schemas, data dictionaries, sample extracts, existing reports.
- [analytical-quality-contract.md](references/analytical-quality-contract.md) (shared by all skills).
## Procedure
1. **Restate the question** as a measurable statement: metric × population × period × comparison. Write down what answer would change the decision.
2. **List business entities** (employee, order, store, month…) and the identifier of each.
3. **State the grain of every table** in one sentence: "one row per ___ per ___". Test it (`COUNT(*)` vs `COUNT(DISTINCT key)`); never assume.
4. **Name the authoritative source** for each entity and measure. Where two sources disagree, record which wins and why. If no one has decided, mark it UNKNOWN.
5. **Model** facts, dimensions, measures and relationships. Use the patterns in [dimensional-modeling.md](references/dimensional-modeling.md).
6. **Flag risky relationships**: many-to-many, role-playing dates, slowly changing dimensions, hierarchies that change over time, keys matched only by column name.
7. **Specify outputs**: columns, grain, sort, filters, period boundaries, and expected order of magnitude.
8. **Record assumptions and unknowns** in a table (`assumption | evidence | owner | status`). Unverified business rules stay UNKNOWN. Do not fill them with plausible guesses.
9. **Walk each business question through the model** and confirm that a query path exists without fan-out or grain mixing.
10. **Write acceptance criteria**, each a check someone can run: control totals, known-answer cases, row-count expectations.
## Rules
- Never join or compare tables of different grain without an explicit aggregation step that names the target grain.
- Never redefine a KPI silently. Definition changes go through **kpi-metrics-engineer** with a versioned contract.
- A business identifier is unique only after a test shows it.
- Similar column names are not evidence of a relationship. Confirm with key overlap tests and a documented business rule.
- Every reported number must trace back to source tables and filters.
## Outputs
A short design note: question, entities, grain table, source-of-truth table, model diagram or relationship list, assumptions/unknowns, acceptance criteria, tradeoffs considered.
## Hand-offs
Metric definitions → **kpi-metrics-engineer**. Implementation → **sql-analytics-expert**, **python-data-analyst**, **power-bi-dax-expert** or **data-pipeline-engineer**. Unknown data shape → **data-profiling-engineer** first. Acceptance testing → **data-quality-auditor**.