Legal
Map what personal data a feature stores
Ask Merlin what personal data a feature keeps and get a map read from the code itself. Every field comes with a file reference, and gaps the code cannot show are listed.
@Merlin from now on, when someone asks what personal data a feature stores, read its models, migrations, logs and third-party SDK calls in our repository. List each field, table, retention rule and processor with a file reference, name the commit you read and list what the code cannot show, such as backups and manual exports. If the ask links a Linear issue, post the map there too.
- Starts whenSomeone asks
@Merlinin#legal, or on the feature's Linear issue, what personal data a feature stores Merlin worksClaude Code or Codex reads the models, migrations, logs and third-party SDK calls in the checked-out repository and notes the commit it read
- You getFields, tables, retention and processors with file references, plus what the code cannot show
Tools
- Slack
- Linear
Capabilities
- Integrations
How it works
From a privacy question to a data map with file references.
Mention
@Merlinin#legaland name the feature, or mention it on the feature's Linear issue. Engineers can add pointers in the thread.Claude Code or Codex reads the models, migrations, logs and third-party SDK calls in the checked-out repository and notes the commit it read.
Fields, tables, retention and processors come back with file references, plus a list of what the code cannot show, such as backups and manual exports.
Mention @Merlin in #legal and name the feature, or mention it on the feature's Linear issue. Engineers can add pointers in the thread.
Claude Code or Codex reads the models, migrations, logs and third-party SDK calls in the checked-out repository and notes the commit it read.
Fields, tables, retention and processors come back with file references, plus a list of what the code cannot show, such as backups and manual exports.
Acme
Channels
general
eng
product
support-eng
data
finance
it-help
legal
Direct messages
Merlin
Hana
Ben
legal
24
Today
Hana14:10
@Merlin what personal data does the new referral program store? I need it for the privacy review.
Message #legal
Before and after
Privacy reviews start from the code, not from memory.
Without Merlin
Legal sends questions to engineering and waits days for answers pieced together from memory.
- 01Open the review template
- 02Ask who owns the feature
- 03Wait for the feature owner
- 04Book a code walkthrough
- 05Take notes on each field
- 06Ask about logs and SDKs
- 07Ask about retention
- 08Build the data map
- 09Mark unknowns to chase
With Merlin
One mention gets a map pinned to a commit, with file references engineering can check.
@Merlinin#legalAsked by Hana for the privacy reviewReads the code on Ben's MacBookClaude Code in the checked-out repository
- Data map posted in the threadPinned to a commit, gaps listed
Setup
Share a runtime that has your code, then ask from #legal.
Set these up once and legal can ask about any feature in the repository. Linear is optional, for asking on the feature's issue.
- 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.
- 02Add Merlin to SlackIntegrationsInstall the Slack app and add Merlin to the channel you work in. A private channel needs
/invite @Merlin. - 03Keep your code on the machineRuntimeMerlin reads the code in a local project on the runtime, so keep the repository checked out there.
- 04Connect LinearOptionalIntegrationsOnce you connect your Linear workspace, Merlin can read the linked issue and comment there too.
- 05Share a runtime that has the codeRuntime
Legal rarely keeps the repository checked out. Merlin picks the asker's own machine first and otherwise a shared runtime, so an engineer can share one that has the code.
- 06Paste 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 map personal data once.
@Merlin from now on, when someone asks what personal data a feature stores, read its models, migrations, logs and third-party SDK calls in our repository. List each field, table, retention rule and processor with a file reference, name the commit you read and list what the code cannot show, such as backups and manual exports. If the ask links a Linear issue, post the map there too.
Once, when you paste it
- PromptYou paste the prompt to @Merlin
- GuidanceMerlin saves your rules as workspace guidance
Every time someone mentions Merlin in Slack
- IntegrationThe Slack app spots the mention
- RuntimeMerlin picks an available machine
- ContextThe run gathers context
- WorkClaude Code or Codex reads the code
- SteeringYour team steers the work in the thread
- ResultMerlin replies with a data map
Related use cases
More legal tasks you can hand to Merlin.
- IntegrationsYour agent's MCP
Legal
Find all data about a person for an access request
Delegate a data access request to Merlin in Linear. It searches your database, CRM and support conversations for the person and lists what it found on the issue.
Access request delegated to MerlinThe person's data, listed on the issue - AutomationsIntegrationsSkills
Legal
Catch new subprocessors before customers do
Every Monday, Merlin reads last week's merged code for new vendors that receive customer data. Legal gets the new, unlisted and removed processors in a private channel.
Every Monday at09:00Processor changes in private#legal - IntegrationsYour agent's MCP
Legal
List every cookie and tracker on the website
Ask Merlin in #legal to check the website. It loads your pages in a browser and lists each cookie and tracking script with what it's for in a Google Sheet.
@Merlinin#legalCookie and tracker sheet, linked in the thread
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.