Data

Document a table nobody understands

Ask Merlin in #data to explain a confusing table. It writes descriptions for the model and every column from the code and the data, and opens a pull request.

@Merlin from now on, when someone in #data asks you to document a table, read the dbt model that builds it, its upstream models and a sample of its rows. Write a description for the model and each column in its YAML file and open a pull request linked in the thread. Mark any column whose meaning you inferred rather than read in the code, and don't change the model's SQL.

#data
Get started for free
  1. Starts whenSomeone asks @Merlin in #data what a table and its columns mean
  2. Merlin worksClaude Code or Codex reads the dbt model's SQL and its upstream models, and previews sample rows with dbt
  3. You getA pull request adding the model and column descriptions, linked in the thread

Tools

  • Slack
  • dbt
  • GitHub

Capabilities

  • Integrations
  • Your agent's MCP

How it works

From a confusing table to a pull request that documents it.

Mention @Merlin in #data with the table you want explained.

Acme

Channels

general

eng

product

support-eng

data

finance

it-help

legal

Direct messages

Merlin

Sam

Leo

data

24

MessagesAdd canvasFiles

Today

Sam15:12

@Merlin what is int_account_rollup and what do its columns mean? Three dashboards use it and nobody on Growth can explain it.

Message #data

Before and after

A table gets explained once, where people look for it.

Without Merlin

An analyst traces the model back through its upstream SQL and queries the data to work out what each column means.

  1. 01Get asked what a table means
  2. 02Open the model
  3. 03Trace each upstream model
  4. 04Preview sample rows
  5. 05Check which columns are ever set
  6. 06Ask who built it
  7. 07Describe each column
  8. 08Open a pull request
  9. 09Link it in the thread

With Merlin

One mention gets the table documented in the dbt project, with guesses marked.

  1. @Merlin in #dataAsked by anyone who uses the table
  2. Reads the model and its dataCodex with dbt on the data team's Mac mini
  3. Docs pull request in the threadInferred columns marked

Setup

Give your agent dbt, keep the project on a machine, then ask in #data.

Set these up once and anyone in #data can ask for a table to be documented.

  1. 01Connect a machineRuntimeInstall the Merlin desktop app or CLI on a computer running Claude Code or Codex. You can also use a machine a teammate shares with your workspace.
  2. 02Add Merlin to SlackIntegrationsInstall the Slack app and add Merlin to the channel you work in. A private channel needs /invite @Merlin.
  3. 03Add dbt to your agentYour agent's MCPConnect the dbt MCP server to Claude Code or Codex on the machine that runs this. Its credentials stay on that machine.
  4. 04Install the GitHub appIntegrationsPick the repositories Merlin can access, so it can read and link the pull requests there. Pushes use the machine owner's own Git access.
  5. 05Keep your code on the machineRuntimeMerlin reads the code in a local project on the runtime, so keep the repository checked out there.
  6. 06Let dbt preview rowsRuntime

    Sample rows come from dbt show, so the dbt profile on that machine needs a target that can read the table. A read-only role is enough.

  7. 07Paste the setup promptGuidanceAn owner or admin sends the prompt below to @Merlin once, and it becomes workspace guidance for every future run.

Prompt

Tell Merlin how to document a table, once.

@Merlin from now on, when someone in #data asks you to document a table, read the dbt model that builds it, its upstream models and a sample of its rows. Write a description for the model and each column in its YAML file and open a pull request linked in the thread. Mark any column whose meaning you inferred rather than read in the code, and don't change the model's SQL.

#data

Once, when you paste it

  1. PromptYou paste the prompt to @Merlin
  2. GuidanceMerlin saves your rules as workspace guidance

Every time someone mentions Merlin in Slack

  1. IntegrationThe Slack app spots the mention
  2. RuntimeMerlin picks an available machine
  3. ContextThe run gathers context
  4. WorkClaude Code or Codex reads the model and its data
  5. SteeringYour team steers the work in the thread
  6. ResultMerlin links the docs pull request

Bring your coding agents into the tools your team already uses.

Let your whole team hand work to Claude Code and Codex today. Connect one machine and add Merlin to Slack, Linear or GitHub. 14-day free trial, no API keys, no card.