AI Blocks

Putting the blocks together

This is taking longer than expected.

Try againBrowse the library
AI Blocks · All skills by job · Minds · Mini tools · How it works · From a source · Apps

AI Blocks › Write down how work gets done

Metric definition writer

Tell it how a metric is worked out. Get one agreed definition as checked YAML your team can reuse.

Metric definition writer is a free AI skill for the job "Write down how work gets done". Give the instructions to an AI assistant that supports the required files and tools, then review its output.

Free · No account · MIT licence · Made by Nimrod Fisher · Level: advanced

Made by Nimrod Fisher. See the original on GitHub; we copied it as it is, with its licence.

What it does

One agreed definition for a metric, written as YAML that a tool can check and your team can reuse. It ends the arguments over how a number is worked out when two teams run different queries for the same thing. You give the name, the calculation, who uses it and the decision it feeds. The skill scaffolds the right YAML for a metric, dimension or entity, using a template script, and then runs a validator that checks required fields, types and references between items. It can match the exact field names the dbt Semantic Layer expects. Edge cases and known traps are written into the definition so they are not lost.

You give it

You get

Use it when

How to use it

  1. Add it to your AI once: download it and add the folder to Claude, ChatGPT or Codex as a skill.
  2. Ask for the job in your own words. Your AI opens the skill when it fits.
  3. It works best when your AI can run code.

Workflows that use it

More for Write down how work gets done

Every write down how work gets done skill