metric-definition

Define precise metric specifications with formulas, SQL, and ownership.

5|2|Updated Mar 27, 2026
One-click install
npx skills add https://github.com/tarunccet/pm-skills --skill metric-definition
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: metric-definition
Source: https://github.com/tarunccet/pm-skills/tree/main/pm-data-analytics/skills/metric-definition
Command: npx skills add https://github.com/tarunccet/pm-skills --skill metric-definition

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Teams often call different calculations by the same metric name, leading to confusion, inconsistent dashboards, and poor data-driven decisions. This skill eliminates ambiguity by producing precise, reproducible metric specifications that everyone on the team can implement and agree on.

Core Features & Use Cases

  • Structured Classification: Categorizes metrics as operational/actionable, vanity, leading/lagging, or health/guardrail and explains the rationale.
  • Complete Metric Specs: Produces name, one-line unambiguous definition, numerator/denominator, exclusions, time window, data source mapping, example SQL, owner, baseline/targets, review cadence, related metrics, and known limitations.
  • Team Alignment & Governance: Useful when building a metrics dictionary, onboarding new analysts, auditing dashboards, or aligning cross-functional teams.
  • Example: Convert a loosely defined "Activation Rate" into a precise spec with event definitions, SQL, exclusion rules, owner, and a 30/90 day target.

Quick Start

Define "Activation Rate" for the onboarding flow, including precise formula, data source mapping, owner, and review cadence.

Frequently Asked Questions about metric-definition

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a precise metric definition for product analytics teams?

To create a precise metric definition, you need the metric name and product context. The output provides an unambiguous calculation formula, example SQL, data source mapping, exclusions, and ownership details to ensure team alignment.

What is the best way to formalize ambiguous product metrics into a standard dictionary?

Formalizing ambiguous product metrics requires structuring them with complete specifications, including numerator and denominator, time windows, baseline targets, and review cadence. This prevents inconsistent dashboards and poor data-driven decisions across cross-functional teams.

How do I map SQL calculations and event definitions to a specific growth metric?

Mapping SQL calculations to a growth metric involves specifying the data source, writing example SQL, and defining event-level exclusions. This ensures the metric is reproducible and unambiguous for analysts implementing reporting workflows.

Can I categorize analytics metrics as leading, lagging, or vanity metrics?

Yes, you can categorize analytics metrics. The process classifies metrics as operational, actionable, vanity, leading, lagging, or health/guardrail, and explains the rationale behind each classification to clarify its business value.

Does formalizing a metric specification require a specific SQL dialect or platform?

No specific SQL dialect or platform is required. You provide the preferred data source details, and the specification generates example SQL that can be adapted to your specific database environment and analytics workflows.

What limitations exist when defining product metrics for cross-functional data alignment?

A known limitation is that specifications require explicit product context and data source details to be effective. Without these inputs, the resulting metric definitions, ownership assignments, and review cadences may lack necessary clarity for team alignment.