2 of 15

Salesforce · Designer and operator

Guideline Pipeline

A multi-agent pipeline that researches and drafts foundation guidelines for Salesforce's interface guidelines program.

Impact

  • Under 1 hour to a draft ready for review, against about a week by hand, by my estimate.
  • By my estimate, each guideline doc costs about $180, counting AI compute and my review time.
  • 35 agents work in 6 stages (research, verification, review, writing, testing and publishing), linked by loops, checks and conditions.

The problem

Salesforce's interface guidelines program needs foundation guidelines that people and AI agents can both follow. Each one needs broad research, and every hard value must trace to a source. Written by hand, each doc is slow and costly. Without checks, AI agents invent values.

What I did

I designed a multi-agent pipeline for this work. I directed a coding agent to build it, and I run it.

  • Research: Evidence comes in through 5 research lanes, from internal prior art to the live product UI.
  • Review: 3 reviewers check each draft in parallel, and simulated persona testers read it too.
  • Checks: 10 automated checks test the work, each with 3 retries (6 for alignment), and a check that runs out of retries comes to me.
  • People decide: I make the key decisions in each run, and I choose every value the research can't source. A value with no source becomes "TBD".
  • Writing rules: A 2,500-word cap and an 8-word limit on verbatim copying keep each doc short and original.
  • Tested first: Before trusting the pipeline, I ran 2 adversarial review panels on it and turned each verdict into a fix.

I also wrote a guide to writing design-system docs that agents can use well. Its research covered ~105 sources, with 3 research agents working in parallel. I added 7 more pages that I found myself. I cross-checked it against 22 reference files from one fixed version. It went through 2 adversarial review rounds. A skill version of the guide is planned.

When the first score came back low

Elevation is a foundation doc on how surfaces stack and show depth. Elevation first scored 59–66% against the program's doc standard, scored by script and AI, so I switched it to the new foundation template and rebuilt it. After the rebuild, Elevation scored 97/100 against the program's doc standard: 68 of 70 by script and 29 of 30 by AI.

Where it stands

Prototype. Program experts have reviewed the Elevation doc, and I've since edited the program's copy by hand, for example to make the definition of "Lift" simpler. 3 designers have seen a demo of the pipeline or asked to use it.

More results

  • I make the 7 key decisions in each run, from approving the research to signing off publishing; agents come back to me only when a check gets stuck.
  • By my estimate, one doc costs about $1,200 when a lead designer writes it by hand.
  • The research drew on 363 sources, with a budget that put Salesforce's own sources first.
  • The pipeline captured 75 of 87 planned UI states live, across 5 test orgs.
  • After six feedback rounds, in which I raised all 14 items, the draft had 0 findings at the pipeline's final QA, at 2,498 words.
  • 6 simulated persona testers read the draft the way its users would.

Manyu Varma

മന്യു വർമ്മ

I design and build design systems for people and AI agents: tokens, governance, release tooling, and guidelines that agents can follow.

Highlights

Work

Agentic

Early AI

Pre-AI

Hold Alt or Option to see the spacing.