AgentStack
SKILL verified MIT Self-run

Metrics Definition

skill-hollandkevint-data-product-operator-metrics-definition · by hollandkevint

>

No reviews yet
0 installs
12 views
0.0% view→install

Install

$ agentstack add skill-hollandkevint-data-product-operator-metrics-definition

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Metrics Definition? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

The Core Problem

"47 dashboards and no answers." The failure mode is building metrics without agreeing on what they mean. "Revenue" means three different things to three different teams. "Active users" has no agreed-upon time window. Fix the definitions before building the dashboards.

Metric Definition Template

Every metric must specify:

  • Name: Human-readable, follows naming convention (see below)
  • Business definition: One sentence a non-technical person understands
  • SQL logic: Exact calculation including numerator, denominator, and filters
  • Grain: What level is this calculated at? (daily, weekly, per-user, per-account)
  • Time window: What period does this cover? (trailing 7 days, calendar month, since signup)
  • Dimensional attributes: What can you slice this by? (region, product line, customer segment)
  • Owner: Who maintains this definition?
  • Update cadence: How often does this refresh?
  • Known edge cases: What situations produce unexpected results?

NEVER define a metric without specifying grain and time window. "Monthly active users" means nothing until you define what "active" means and whether "monthly" is calendar month or trailing 30 days.

Outcome Metric Trees

Connect metrics from business outcomes down to leading indicators:

Business outcome: Reduce hospital readmissions 10%
  Product outcome: Clinical decisions made 3x faster
    Feature outcome: Risk scores updated in real-time
      Leading indicator: Query latency under 1 second

Every metric at a lower level should causally influence the level above. If you can't draw the causal link, the metric doesn't belong in the tree.

Trust Metrics

Alongside performance metrics, track trust:

  • Data accuracy rate: Percentage of values matching gold standard (target: 99.9%)
  • Query response time: P95 latency for consumer queries (target: ` for counts (countactivepatients, countclaimssubmitted)
  • rate_ for ratios (ratereadmission30day, rateclaimdenial)
  • avg_ for averages (avglengthofstaydays, avgtimeto_resolution)
  • pct_ for percentages (pctrecordscomplete, pctgoalsmet)
  • sum_ for totals (sumcharges, sumpaid_amount)

Include the unit in the name when ambiguous: avg_length_of_stay_days not avg_los.

AVOID abbreviations unless they are universally understood in your domain. mrr is fine for SaaS. los is fine for healthcare. ttfv is not fine for anyone.

When Numbers Don't Match

If two reports show different values for the "same" metric:

  1. Check the grain (are they aggregating at different levels?)
  2. Check the time window (calendar month vs trailing 30 days?)
  3. Check the filters (are they including/excluding the same populations?)
  4. Check the source (are they querying different tables?)

The fix is always a single source of truth with an explicit definition, not reconciling two conflicting reports.

Metric Visualization

When charts represent your metrics:

  • ALWAYS use colorblind-safe palettes. 8% of men have color vision deficiency. Your VP of Sales might be one of them.
  • ALWAYS label data directly on the chart. Legends force the reader to look away from the data.
  • NEVER use dual Y-axes. They let you imply any correlation by adjusting the scale.

For presentation structure, chart selection, and narrative framing, see data-storytelling.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.