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.
# Define Versioned Metric Contracts for Analytics Alignment Skill ID: AMO-S-000031 Skill URL: https://amo.ng/skills/define-versioned-metric-contracts-for-analytics-alignment 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: - 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: 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 Prompt: Metric Definition Contract and Semantic Layer Blueprint Source ID: AMO-P-000263 https://amo.ng/prompts/metric-definition-contract-semantic-layer-blueprint 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. Use this Amo.ng Skill with your preferred AI tool. Supply the required inputs and follow the usage instructions. # Define Versioned Metric Contracts for Analytics Alignment Skill ID: AMO-S-000031 Skill URL: https://amo.ng/skills/define-versioned-metric-contracts-for-analytics-alignment 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: - 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: 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 Prompt: Metric Definition Contract and Semantic Layer Blueprint Source ID: AMO-P-000263 https://amo.ng/prompts/metric-definition-contract-semantic-layer-blueprint 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.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.
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?
Explore related Workflows
Browse WorkflowsImplement an Operations Dashboard and Automated KPI Reporting
Govern metric definitions, specify the dashboard, implement the dashboard and disabled recurring report, then reconcile both products to authoritative evidence before decision use.
Related Prompts
Browse PromptsAutomate KPI Reporting from Approved Metric Definitions
Implement a repeatable KPI-reporting process from approved metric definitions, with traceable calculations, authoritative reconciliation, failure and rerun tests, disabled delivery, and recovery evidence.
Analytical Conclusion Sensitivity Review
Test whether a consequential analytical conclusion survives plausible changes to data, cohort, definitions, assumptions, model choices, and missing-information treatment.
Data Lineage Break Investigation
Reconstruct where a data product diverged from authoritative lineage, bound affected outputs and decisions, and define safe repair and reprocessing.
Forecast Assumption and Model Drift Challenge
Challenge forecast assumptions, structural stability, backtest evidence, scenario sensitivity, and decision thresholds before relying on projected outcomes.
Knowledge Entitlement Drift Review
Reconcile authoritative access policy with effective permissions across source, ingestion, index, cache, retrieval, citation, and response layers.
AI-Generated SQL Result Verification and Reconciliation
Validate AI-generated SQL and its reported results before they are used for a consequential decision.