Margo

Turning coded interactions into design notes

An agent that reads a coded prototype and places interaction notes beside the corresponding Figma mockups.

Role and team

Design and development

Project goals

Document coded interactions beside the corresponding Figma designs.

Timeline

1 week

Margo workflow illustrated with the portfolio design language

Project overview

Problem we solved

A coded prototype can show an interaction without explaining its rules in the Figma handoff.

Challenge

Connect behaviour, states, and transitions to the relevant mockups.

Results

An agent that places reusable interaction-note cards beside the relevant Figma screens.

I built Margo to document interactions from a coded prototype in Figma. It puts the behavior, states, and rules beside the relevant screens so developers can read them during handoff.

Margo reads the prototype, writes interaction notes, and places them as reusable annotation cards next to the right artboards. When the source is inaccessible, it provides an extraction prompt to run inside that environment. Optional companions capture flow states with notes and flag design-system components that are not yet implemented.

Interaction notes beside the design.

Toggle the notes, select a card, and see the behavior beside its screen. This is an interactive handoff diagram using the portfolio.

How I use Margo.

Margo also captures flow states and checks which design-system components still need to be implemented. The example above uses this portfolio to show how the annotations work.