Skip to content

Use cases

Design

Check builds against Figma, find what uses a component and hand small UI fixes to Merlin.

Merlin recipes for design teams. Check a build against its Figma frame from the Linear issue, find everything that uses a shared component before you change it, hand a small UI fix to Merlin as a pull request, keep design-system rules in a skill and save the facts the team keeps repeating.

How design prompts work

Designers follow implementation in Linear and talk about the design system in Slack, but the answers to "did it ship as designed" and "what uses this component" live in the code. The recipes below ask those questions from the issue or the channel where they came up. Merlin reads the repository on a connected machine, posts progress in the same place and replies there with a list you can act on.

What you need

RequirementWhy it matters here
Linear connected, identity linkedDesigners can mention Merlin on an issue or delegate a papercut to it.
An eligible runtime with the repositoryComponent usage and token values are read from the actual checkout.
The Figma MCP server on that runtimeMerlin reads the frame you link. Figma ties MCP access to your seat and plan.
A browser tool on that runtimeDesign QA opens the pull request's preview, which needs a browser such as Playwright MCP.
GitHub App installedMerlin finds the pull request linked to the issue and opens one for a fix.

Designers rarely need their own machine. Ask engineering which public runtime carries the repository and its MCP servers.

Prompts to paste

Design QA a build against Figma

When engineering moves an issue to review, mention Merlin in a comment on it with the frame link.

@Merlin check the preview of the pull request linked to this issue against this frame: https://figma.com/design/… List every mismatch in tokens, components and states, with the Figma value next to the built value.

Naming states keeps hover, empty and error views in the check. The reply is a text list in the issue, so the designer never needs to open GitHub. See it step by step.

Find what uses a component before changing it

Before changing a shared component, ask the design-system channel what would move.

@Merlin who uses the Button component today? Group the usages by route and variant, and flag local copies that re-implement it instead of importing it.

Asking for local copies surfaces the forks a library analysis in Figma cannot see. See it step by step.

Ship a UI papercut fix

Delegate a small polish issue with the frame attached, and ask for existing tokens and components only.

Fix the spacing and the disabled state on the settings save button to match the attached frame. Use existing tokens and components, and don't add new ones.

Merlin opens a pull request for an engineer to review and writes a text summary in the agent session. See it step by step.

Keep design-system rules in a skill

When the same checklist goes into every QA request, put it in a skill and ask for it by name.

@Merlin run the design-qa skill on the pull request linked to this issue.

A skill can hold the token names, the component inventory and the states every screen needs, so each request only names the issue and the frame.

Save design-system facts to channel memory

Save the facts that keep coming up so later answers in the channel use them.

@Merlin remember for this channel: the design system lives in packages/ui, spacing uses the 4 px scale and raw hex colors are not allowed in product code.

Keep entries short. Facts saved in a public channel are readable across the workspace.

Limits

Design QA compares values, components and states. It is not a pixel comparison, and its reply is text only.

Merlin can only check what the selected runtime can reach: the repository, the Figma file your seat can open and the pages its browser can load.