Portfolio
Design note

Write design rules your AI coding agent can follow

Engineers now build with Cursor or Claude Code open. A Figma frame shows one state of one screen, and the agent fills every gap with a guess. Here are the rules I wrote for Marinade and Kamino, and a test you can run on your own handoff.

Number rules for Marinade, 2026. A proposal for review, with each rule checked against the live app.

Numbers need a rule, not a screenshot

In 2026 the Marinade app showed 54.96 SOL and 5.8045 SOL in one column, and $4.2856 next to $24.1. The app had no written rule for decimals. An agent copying those screens copies the mismatch.

So I wrote the rules down and proposed them to the team:

  • SOL: 4 decimals. 0.0001 SOL is about a cent.
  • USD: 2 decimals.
  • From 10,000 SOL: 2 decimals.
  • mSOL follows SOL. USDC follows USD.
  • Tiny amounts never show as zero.
  • Balances round down. Debts round up.

The last rule carries the reason: never show more than someone can take out, or less than they owe. A reason lets the agent handle a case the list doesn't cover.

Turn spacing into defaults

I took an inventory of the spacing on every Marinade page and listed where pages disagreed. It became one set of defaults: content widths, margins, three gaps (12, 24 and 40), and card radius and padding for desktop, tablet and mobile.

Three gaps is a choice an agent can make. "Use the spacing from the mockups" is not.

Layout defaults for Marinade, drawn from a spacing inventory of every app page.

One sentence the whole app follows

At Kamino I led product design as part of Humandone. The layout rule was one sentence: data on the left, actions on the right.

From there, 3 to 4 layouts covered 99% of the app, and two components, cards and table rows, carried about 80% of the interface. Engineers worked from named components, not screenshots. A new product meant a new entry in the navigation, not a new shell.

Liquidity, Multiply and Long/Short at Kamino, on one page skeleton.
“Harry was the lead designer for 3 of our platform projects — building our design system from the ground up, crafting Kamino’s UX, and following through with front-end devs on execution. His UX and UI leadership played a key part in Kamino’s growth. Comes highly recommended.”
Dawid Snyders

Dawid Snyders

Head of Product & Marketing, Kamino

Test your own handoff

Pick a screen nobody has designed yet. Give your agent only the rules and the component names, and let it build the screen.

  • Where did it guess? Decimals, rounding, empty states and spacing are the usual gaps. Each guess is a missing rule.
  • Write each rule in one line, with the reason next to it.
  • Keep the rules as plain text in the repo, next to the code the agent reads.

The Marinade case study shows the full system work. If your team ships with agents and the UI keeps drifting, see how I work as a fractional designer or book a call.

Tell me what you're building

Send your product and I'll record a Loom with the highest-leverage fixes in 48 hours. Free, and no pitch.
Or if you only have the idea, I'll gladly help you with the design strategy on a quick session.

  • Video review in 48h
  • No charge, no strings attached
  • 1 slot open for December
Wanna talk first? Say hi on Telegram

Tell me about it

Takes 30 seconds. I read every one myself.