Reusable AI capability

Define Versioned Metric Contracts for Analytics Alignment

Turn disputed or ambiguous business metrics into governed, testable semantic contracts with explicit grain, calculation rules, lineage, ownership, access constraints, and change-control expectations.

This Skill packages a reusable way to use the linked Prompt or Workflow; Amo.ng does not run it for you.

Skill ID
AMO-S-000031
Powered by
Prompt
Published

Copy skill copies the Skill details. Use with AI adds a short instruction for your preferred AI tool; neither action runs the Skill.

Purpose

Creates a reusable metric-definition contract that helps analytics, finance, product, and BI teams reconcile metric disputes and maintain consistent reporting across dashboards, warehouses, and semantic layers.

Required inputs

Have these details available before following the usage instructions.

  • Metric name, business purpose, and decisions the metric will support.
  • Current definitions, formulas, dashboard references, SQL snippets, semantic-layer definitions, or documentation.
  • Source systems, tables, fields, data grain, refresh cadence, and known lineage.
  • Time logic, filters, exclusions, attribution rules, segmentation rules, and currency or timezone handling where applicable.
  • Known discrepancies, stakeholder disputes, downstream reports, and affected audiences.
  • Required governance constraints, owners, approvers, access restrictions, and change-management expectations.
  • Authoritative metric owner and approvers, current contract version, compatible producer and consumer versions, lineage evidence, and downstream change owners.

How to use this Skill

When to use:
- Teams disagree on how a KPI is calculated, filtered, attributed, or time-bucketed.
- A dashboard, report, or semantic layer needs metric definitions that are testable and version controlled.
- A metric appears in multiple tools with conflicting results or unclear lineage.
- A new or revised KPI needs ownership, access rules, acceptance checks, and migration guidance before adoption.

When not to use:
- Do not use as a substitute for executing SQL reconciliation or validating raw data quality when the issue is primarily data corruption.
- Do not use for a one-off chart request where metric definitions are already stable and governed.
- Do not use to make final financial, regulatory, board, or compensation decisions without human review of evidence and calculations.
- Do not use when the metric owner, intended decision, or source systems are unknown; clarify those first.

Instructions:
1. Use the linked source prompt AMO-P-000263 as the contract-design scaffold; apply its structure to the supplied metric context without reproducing the entire source.
2. Identify the metric’s intended decision use and the risks of inconsistent interpretation.
3. Separate supplied definitions from assumptions, inferred business rules, missing lineage, and unresolved stakeholder decisions.
4. Define the metric contract: name, description, grain, entities, calculation, time window, eligibility rules, exclusions, dimensions, source lineage, freshness expectations, and permitted uses.
5. Specify validation checks such as reconciliation queries, row-count checks, aggregate comparisons, edge-case examples, dashboard parity tests, and acceptance thresholds.
6. Document the authoritative metric owner, contract version, producer and consumer compatibility, lineage evidence, approval workflow, downstream impact, deprecation or migration path, and communication requirements for metric changes.
7. Flag access-control, privacy, compensation, finance, compliance, or executive-reporting implications for appropriate human review.
8. Avoid overstating readiness; provide a status such as ready, ready with conditions, needs reconciliation, or blocked by missing evidence.

Expected output:
A metric contract package containing the agreed definition, lineage map, validation checklist, governance owners, versioning and migration rules, unresolved questions, and a decision-use readiness status.

Constraints and boundaries:
- Do not invent source-system schemas, formulas, stakeholder agreements, or reconciliation results.
- Do not present a metric as authoritative until its owner and validation evidence are supplied or explicitly approved.
- Keep business recommendations separate from approval authority.
- Preserve uncertainty around ambiguous data grain, time logic, attribution, or exclusions.
- Require human review for financial reporting, investor reporting, compensation, compliance, or other consequential metric use.

Powered by an Amo.ng Prompt

Metric Definition Contract and Semantic Layer Blueprint

Open the linked prompt to use the instructions that power this Skill.

Open prompt

Completion criteria

Complete when:
- The metric definition includes grain, calculation, filters, time logic, dimensions, and source lineage.
- All disputed assumptions and unresolved decisions are listed with owners or follow-up questions.
- Validation checks are concrete enough for an analyst or analytics engineer to implement.
- Permitted and non-permitted uses are explicit.
- The readiness status is supported by the supplied evidence and does not exceed it.
- Downstream changes identify affected owners, compatibility conditions, validation evidence, and explicit approval before adoption.

Was this useful?

Browse Workflows
Browse Prompts
Data Analysis Expert Codex

Data Lineage Break Investigation

Reconstruct where a data product diverged from authoritative lineage, bound affected outputs and decisions, and define safe repair and reprocessing.

Updated Aug 25, 2026

View prompt Verified ✓ 146 views · 18 copies