Define a north star metric and KPIs with precise formulas, data sources, baselines and targets, or review existing metric definitions. Use when choosing metrics, writing a metrics spec or setting up success measurement.
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 Kpi Definition?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/piheros-kpi-definition)
---
name: kpi-definition
description: Define a north star metric and KPIs with precise formulas, data sources, baselines and targets, or review existing metric definitions. Use when choosing metrics, writing a metrics spec or setting up success measurement.
---
# KPI definition
Start from the product goal, user journeys and decisions the metrics must
inform. Propose one north star metric that reflects value delivered to users,
then a small set of supporting KPIs across adoption, engagement, quality,
efficiency and business outcome, plus guardrail metrics that must not degrade.
For each metric write a specification:
- ID (`K1`...), name and the question it answers
- Exact formula, numerator and denominator, unit
- Population and segments, time window, inclusions and exclusions
- Event or data source, with the events or tables needed and their owner
- Baseline (or how to obtain it), target and the reasoning for the target
- Leading or lagging, frequency, dashboard location
- Known biases and ways the metric could be gamed
Never invent baselines or targets; mark them as to be confirmed. List the
tracking or instrumentation work needed. Check that the set is small,
non-overlapping and linked to goals.
Write `product/definition/kpis.md` in the user's project. If
`product/product.yaml` exists, update only the `metrics` entries after
confirmation, preserving existing IDs.
## Product context
This skill is one link in a chain that shares `product/product.yaml` in the
user's project (see `product-lifecycle`).
- **Reads:** `journeys`, `okrs`, `metrics`.
- **Writes:** `product/definition/kpis.md`.
- **Updates in `product.yaml`:** `metrics` (north star, `K` IDs, guardrails); and adds its output under `artifacts.kpi-definition`.
- **Feeds:** `prd`, `measurement-report`.
If `product/product.yaml` exists, read it first and reuse its IDs instead of
asking again. Update only the keys above, keep stable IDs, never renumber or
delete other entries, show the change before writing, and validate the YAML.
If it does not exist, work standalone and offer to create it with
`product-lifecycle` at the end.
## References
- `references/example.md`: worked example on a fictional product, showing the expected level of detail
- `references/quality-checklist.md`: criteria to check the output against before presenting it
- `references/sources.md`: established frameworks and public references behind this skill
- `references/template.md`: structure of the output
Follow the template, match the example's level of detail, and run the
quality checklist before presenting results; list any unchecked item as an
open point. Use `sources.md` when the user asks why a method is used.