Kpi Metrics Engineer
ASecurityDefine, specify, calculate or reconcile business KPIs and metric contracts. Use when specifying a KPI's numerator, denominator, unit, grain and aggregation rule; building target-vs-actual, completion %, weighted scores or rating thresholds; deciding how ratios roll up across teams, managers or periods; separating missing from zero performance; versioning a changed KPI definition; or explaining why a KPI differs between reports. Owns what a metric means, whatever the tool (SQL, Python, DAX).
- 19 stars
- 0 votes
- 0 copies
- 2 views
- Added November 29, 2026
Security analysis
100/100Pro scans all 3 files and shows the line behind each finding
npx -y skills add khoavd18/skills --skill kpi-metrics-engineer --agent claude-codeAre you the author of Kpi Metrics Engineer?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/khoavd18-kpi-metrics-engineer)---
name: kpi-metrics-engineer
description: Define, specify, calculate or reconcile business KPIs and metric contracts. Use when specifying a KPI's numerator, denominator, unit, grain and aggregation rule; building target-vs-actual, completion %, weighted scores or rating thresholds; deciding how ratios roll up across teams, managers or periods; separating missing from zero performance; versioning a changed KPI definition; or explaining why a KPI differs between reports. Owns what a metric means, whatever the tool (SQL, Python, DAX).
---
# KPI Metrics Engineer
Owns *what a metric means*. Every KPI has a written contract, and its numbers match that contract at every aggregation level.
## Inputs
- The business objective and audience of the KPI.
- The authoritative KPI specification: policy document, scorecard rules, owner decisions. If none exists, the definition is UNKNOWN.
- Current implementations (SQL/Python/DAX/Excel) if any.
## Procedure
1. **Objective**: what behavior or outcome the KPI tracks, and the decision it informs.
2. **Authority**: locate the official definition and its owner. Record the source (document, version, date). If you cannot find one, draft a contract with fields marked `UNKNOWN — needs owner confirmation`.
3. **Numerator and denominator**: exact fields, filters and inclusions/exclusions.
4. **Unit**: currency, %, count, score, and the precision for display.
5. **Grain** of the calculation: per employee-month, per store-week, and so on.
6. **Aggregation rule** up each hierarchy and over time: ratio of sums, weighted average (by what), sum of per-row capped values, or latest snapshot. See [aggregation-rules.md](references/aggregation-rules.md).
7. **Reporting period**: calendar vs fiscal, cut-off, time zone, handling of partial periods.
8. **Missing/zero/null semantics**: no data, a reported zero, not applicable, and zero target. Decide each one separately.
9. **Implement or inspect** the calculation in the relevant tool, through its skill.
10. **Reconcile** at several levels (row, team, total) and across periods against an independent calculation or known-answer cases.
Record everything in [metric-contract-template.md](references/metric-contract-template.md).
## Rules
- Do not invent weights, thresholds, targets, caps or rating bands. Use the documented values, or leave them as explicit UNKNOWN parameters.
- Never average percentages unless the contract defines a simple average. Never sum ratios.
- Missing performance ≠ zero performance. They must stay distinguishable through the pipeline and the report.
- Keep individual and team KPIs separate. A team score is not automatically the mean of member scores.
- Validate hierarchy mappings (employee → manager → unit) for the *reporting period*, and count unmapped records.
- Preserve historical definitions: version the contract, and recompute history only when the owner decides to.
- A KPI is **verified** only when its calculation matches the authoritative rules or an independently validated control dataset. Agreement between two implementations of the same assumption is not verification.
## Outputs
A metric contract (versioned), the implementation or a review of it, validation cases with expected values, and a reconciliation table.
## Hand-offs
Data model and grain → **analytics-architect**. Implementation → **sql-analytics-expert**, **python-data-analyst** or **power-bi-dax-expert**. Reconciliation evidence and regression tests → **data-quality-auditor**.
Files in this skill
- SKILL.md
- references/aggregation-rules.md
- references/metric-contract-template.md
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.