Skip to content
Back to skills

Kpi Definition

ASecurity

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.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 4, 2026
ai-agentsgorails

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned December 4, 2026

npx -y skills add Piheros/product-skills --skill kpi-definition --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Kpi Definition?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Kpi Definition
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/piheros-kpi-definition/badge)](https://www.skillsdirectory.com/skills/piheros-kpi-definition)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.

Files in this skill

  • SKILL.md2.6 KB
  • references/example.md930 B
  • references/quality-checklist.md520 B
  • references/sources.md673 B
  • references/template.md601 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.