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 is a reusable set of instructions based on the linked Amo.ng Prompt or Workflow. It tells you what to provide, how to apply the method and how to know when the task is complete. It does not run automatically.
# 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. Based on 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. Based on 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 full Skill instructions. Use with AI copies those instructions with a short guide for your chosen AI tool. Both actions only copy text—they do not send anything to an AI provider or run the Skill.
Portable Agent Skill
Instruction-only package. Inspect the contents and your agent client’s permissions before use.
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.
Based on an Amo.ng Prompt
Metric Definition Contract and Semantic Layer Blueprint
Open the linked Prompt to read the instructions this Skill is based on.
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 PromptsReview an Audit Sampling and Control-Test Design
Challenge a proposed audit sampling and control-test design for population coverage, selection logic, evidence requirements, exception handling and defensible inference before testing begins.
Automate 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.