Data
Check a feature's tracking before it merges
Mention Merlin on a pull request to check its analytics events against your tracking plan. You get a comment listing what's missing or misnamed.
@Merlin from now on, when someone mentions you on a pull request to check its tracking, compare every event and property the diff adds or changes with our tracking plan skill. Comment with what's missing, misnamed or not in the plan, each with the file and line. If the diff renames or removes an event that a Customer.io automation is triggered by, name that automation too. Don't push commits or approve the pull request.
- Starts whenSomeone mentions
@usemerlin-aion a pull request that adds or changes analytics events Merlin worksClaude Code or Codex compares the events and properties in the diff with the tracking plan in your skill
- You getA comment listing missing, misnamed or unplanned events and properties, each with the line it's on
Tools
- GitHub
- Customer.io
Capabilities
- Integrations
- Skills
How it works
From a pull request with new events to a list of tracking problems.
Mention
@usemerlin-aiin a comment on a pull request that adds or changes analytics events.Claude Code or Codex reads every event and property the diff adds or changes and compares them with the tracking plan in your skill.
A comment lists what's missing, misnamed or not in the plan, each with its file and line, plus any Customer.io automation a renamed or removed event would stop. Merlin doesn't push commits or approve.
Mention @usemerlin-ai in a comment on a pull request that adds or changes analytics events.
Claude Code or Codex reads every event and property the diff adds or changes and compares them with the tracking plan in your skill.
A comment lists what's missing, misnamed or not in the plan, each with its file and line, plus any Customer.io automation a renamed or removed event would stop. Merlin doesn't push commits or approve.
acme/web
Type/to searchKAdd saved views to Reports#1312Code
Openkaiwants to merge 2 commits intomainfromfeat/saved-views
kaicommented 3 hours agoAuthor
Adds saved views to Reports, with events for creating, opening and deleting a view. Also renames the share event to match the new Copy link button.
Before and after
Tracking gets checked before it ships, not after a chart breaks.
Without Merlin
An analyst reads the diff event by event, with the tracking plan open in another tab.
- 01Notice the pull request adds events
- 02Read the diff
- 03Open the tracking plan
- 04Search for every track call
- 05Compare each event name
- 06Check the required properties
- 07Check automations for renamed events
- 08Ask Kai about the new event
- 09Comment the problems
With Merlin
One mention gets every event checked against the plan, with the lines to fix.
@usemerlin-aion the pull requestAsked by an analystCompares the diff with your tracking planClaude Code with your tracking plan skill
- Problems listed in a commentEach with its file and line
Setup
Connect GitHub, then check the tracking on any pull request.
Set these up once and anyone can ask for a tracking check on a pull request. Merlin comments and never pushes or approves. Customer.io is optional.
- 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.
- 02Install the GitHub appIntegrationsPick the repositories Merlin can access. It sees mentions, reads the pull request and replies in the thread. Pushes use the machine owner's own Git access.
- 03Keep Customer.io on your agentOptionalYour agent's MCPIf your machine's agent already uses the Customer.io MCP server, Merlin can use it here too. You don't need to set up anything in Merlin.
- 04Write your tracking plan as a skillSkills
Put your event naming rules, the planned events and their required properties in a shared skill, so every check compares against the same plan.
- 05Paste 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 check tracking on a pull request, once.
@Merlin from now on, when someone mentions you on a pull request to check its tracking, compare every event and property the diff adds or changes with our tracking plan skill. Comment with what's missing, misnamed or not in the plan, each with the file and line. If the diff renames or removes an event that a Customer.io automation is triggered by, name that automation too. Don't push commits or approve the pull request.
Once, when you paste it
- PromptYou paste the prompt to @Merlin
- GuidanceMerlin saves your rules as workspace guidance
Every time someone mentions Merlin on GitHub
- IntegrationThe GitHub app spots the mention
- RuntimeMerlin picks an available machine
- ContextThe run gathers context
- WorkClaude Code or Codex compares the diff with your plan
- SteeringYour team steers the work in the thread
- ResultMerlin comments what's missing or misnamed
Related use cases
More data tasks you can hand to Merlin.
- IntegrationsYour agent's MCP
Data
Build a dashboard for a launch
Ask Merlin in #data for a launch dashboard. It builds one in PostHog with the feature's adoption and funnel and replies with the link.
@Merlinin#dataA PostHog dashboard linked in the thread - IntegrationsMemoryYour agent's MCP
Data
Investigate a metric alert
Mention Merlin under a PostHog alert to learn whether a drop is real or broken tracking. It checks the breakdowns, flag changes and recent code before it answers.
@Merlinunder a PostHog alert in#dataThe likely cause in the alert thread - IntegrationsYour agent's MCP
Data
Check what a dbt change does to the data
Mention Merlin on a dbt pull request to see its effect before it merges. It builds the changed models in dev and comments the row counts and changed values against production.
@usemerlin-aiin a pull request commentA data diff comment on the 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.