← ClaudeAtlas

data-analytics-metric-definitionlisted

Turns a metric name into a binding definition contract: the population, the qualifying event, the time grain, the timezone, the deduplication rule, restatement policy, and a single named owner. Use when two teams report different numbers for the same metric, when a new KPI is being introduced, when a dashboard figure cannot be reconciled with a report, or when a definition needs reviewing before it goes into a board pack. Trigger on 'what counts as an active user', 'our numbers do not match', 'define this metric', 'metric definition', 'why is the dashboard different from the report', 'source of truth for X'. Not for checking whether a specific report is correct before it ships — that is data-analytics-report-qa; not for reviewing the query that implements the definition, which is data-analytics-sql-review.
alihusains/enterprise-skills · ★ 0 · AI & Automation · score 73
Install: claude install-skill alihusains/enterprise-skills
# Metric definition contract ## Purpose Two teams report "active users" and the numbers differ by 18%. Nobody is wrong; they are answering different questions. The argument that follows is never about the data — it is about a definition that was never written down, so each analyst made reasonable choices about timezone, deduplication, and what counts as activity. This skill produces the contract that ends that argument, and the restatement rules that stop the definition drifting again silently. ## Prerequisites - **Inputs:** the metric name as currently used; the decision it is supposed to support; every existing implementation of it (queries, dashboards, reports) with the numbers each currently produces; the source tables and their event semantics. - **Access:** the systems that produce the underlying events, and the person with authority to accept a definition on behalf of the business. If the two conflicting numbers cannot both be reproduced, stop. A definition written without seeing where existing implementations diverge will just become a third number. ## Procedure 1. **Write the decision the metric serves, in one sentence, before defining anything.** "We use this to decide whether to keep investing in the onboarding flow." Definitions have no correct answer in the abstract; they have a correct answer relative to a decision. A metric with no decision attached is a number the organisation maintains for free and should probably retire. 2. **Fill