Tech Stack / Workflows

How I design with agents

How I make brand images, social posts, app themes and diagrams with coding agents, starting from design tokens and brand guides kept in code.

Nov 13, 2026 · 2 min read · 8 tools

The setup

  • My design system lives in code. Colors, type and spacing are tokens in my site's stylesheet, and my themes and site art start from them.
  • Figma is my canvas. Agents work in my Figma files through Figma's MCP server: they draw diagrams and storyboards in FigJam and build slides from a brand system in Figma Slides. For a quick clickable prototype that I need to share, I use Figma Make.
  • Every brand I work on keeps a short brand guide in its repo. Before an agent makes an image, it reads the guide for the palette, the fonts and what not to do.

Image Generation

  • Claude Code makes images by calling Nano Banana. Every brief has a one-line idea, a numbered layout, style rules, exact hex colors and a do-not list.
  • I choose from low-resolution drafts, often four options in one 2x2 image while I’m experimenting. Only the one I pick gets rendered at full size.
  • Words, logos and exact backgrounds go on afterwards, in code. Scripts and ImageMagick handle crops and cutouts.

Social posts from a content studio

  • My content studio is one repo for everything I post for a brand. Each brand has a folder with its guide, fonts, colors and logo, plus one folder per campaign.
  • Quote cards, carousels, page covers and ads are HTML templates. One command renders every card in every size the platforms want, plus a contact sheet of the whole set.
  • Text shrinks to fit its card, so a long quote never overflows and a short one prints large.
  • Every quote is checked word for word against its primary source before it goes on a card, and a translated quote names its translator.
  • AI photos set the mood behind the text. Each one is saved with its prompt, so it can be made again.
  • The finished cards go out through Meta Business Suite after I check each post, and an agent logs what went out.

Why it works

  • Agents follow written rules. My site's layout and type rules are docs in the repo, and a check in CI fails when a change breaks them.
  • I judge real mockups, not descriptions. An agent builds one widget or one image first, and I say yes or no before it does the rest.
  • Agents check their own work by measuring screenshots, so "looks close" becomes a number.

What I’ve learned

  • Image models never land an exact color. Fix the background in post and a whole set of images matches.
  • To change one thing in an image, edit only that part. A new prompt gives you a new picture.
  • Measure the rendered result. A theme built from the right hex values can still look wrong next to the original, and the font weights a stylesheet asks for aren't always the ones that render.
  • Ideas that sound good often look wrong on screen. I've reverted plenty of decorations a minute after seeing them.
  • Check a set of cards on one contact sheet. A crop or an overflow jumps out there faster than it does card by card.

More workflows

Back to Tech Stack

Page Turner

Turning to the first page…