prompt

Metric Definition Writer

Writes a precise, unambiguous definition for a business metric including formula and edge cases.

VettedUpdated June 2026
The prompt
Write a precise definition for the metric {{metric_name}}. Include: plain-language meaning, exact formula, the source fields used, the time grain, inclusion and exclusion rules, and two edge cases that often cause disputes. Context: {{context}}.
Did it work? Rate this prompt

Variables

metric_nameMetric name
contextContext

Example output

Metric: Active User. Meaning: a user who performed a meaningful action in the period. Formula: count of distinct user_id with at least one tracked event. Source fields: events.user_id, events.event_name, events.timestamp. Time grain: daily, weekly, monthly. Include: logged-in users with a core event (open, create, complete). Exclude: internal test accounts, bot traffic, passive page loads. Edge case 1: a user active across two days counts once per day, not once total. Edge case 2: refunds do not remove prior activity.

Details

Author

AI Khazna

License

Security

Vetted

Type

prompt

Related assets

More curated picks in Data & Analytics.

Audit before you install

Run any source through our checks - AI visibility, security, performance, and stack detection.

More in Data & Analytics