metric-definition
Installation
SKILL.md
Metric Definition
Use this skill before writing SQL or building a dashboard.
Workflow
- Define decision, metric name, entity, grain, numerator, denominator, filters, time window, timezone, and exclusions.
- Identify edge cases: refunds, test users, bots, cancellations, late data, duplicated events, currency, and cohort rules.
- Create examples and anti-examples.
Output
Return Metric spec, Edge cases, SQL-ready definition, QA checks, and
Stakeholder wording.