(AI)

I build workflows that hold every project to a standard.

Written rules and automatic checks for the AI agents I direct. I audit their work, they audit themselves, and I teach them what they miss.

DESIGN RULES CODE RULES LESSONS AUTO-CHECK MODEL CHOICE

STEMWISE · 24 MODULES, 99 CROSS-MODULE IMPORT EDGES · REAL REPO, COUNTED 2026-08-27 · 211 SOURCE FILES · 147 COMPONENT FILES · 19 PAGES · COUNTED 2026-08-27

(THE TWO WORKFLOWS)

They work in any AI coding agent, not just one. I’ve run them in Claude Code, Gemini and others, and the same standard holds.

21 rule files · 2,090 lines84 dated lessons, written down2 checks on every edit, 2 at session endcounted 2026-11-19

01

The design workflow

Nothing visual ships until it survives review.

  • Automatic rules and a panel of reviewers check every change before it ships.
  • A check runs on every edit, the moment it happens.
  • When something goes wrong, the AI writes it down as a rule so it doesn’t make the same mistake again.

SOURCE FILES keegan-design/SKILL.md · settings.json · hooks

THE PRESS GANEY DASHBOARD, REBUILT FOR THIS SITE THROUGH THIS WORKFLOW

02

The code workflow

Nothing gets built until what it could break is written down.

  • Every change states what it could break before it’s written, and how we’d catch it.
  • Small jobs go to a fast model and hard ones to the strongest, so I’m not paying for power a task doesn’t need.

SOURCE FILES keegan-code/SKILL.md · CLAUDE.md · routing table

STEMWISE · THE PRODUCT I RUN IT ON

(ONE REAL ROUND)

I run AI builds like projects: one plan, one sign-off, many workers.

A real round from building this site on September 23. First the go-ahead, then ten AI workers building at once, each on its own files.

01

Nothing gets built until I approve it.

Every round starts as a written plan: what changes, which worker owns which files, and how the result gets checked. It waits for my go.

BUILD PLAN · TRANSITIONS WAVESEP 23
TASKS
10
WAVES
shared kit first, then each page
WORKERS
one per file set, never shared
ApproveHoldapproved · first worker out 09:45

Keegan 09:41

That looks much better. Let's build on it and push these now.

02

Ten workers, two waves, one morning.

Each bar is one AI worker, from the moment it started to the moment it reported back. 4 h 44 min of build work, finished in 1 h 30 min.

round · sep 23 · transitions wave

284 min of work · 90 min end to end

go-ahead 09:41
  1. WAVE 1dither seam09:45:16–10:05:2320 min
  2. spring + exit flow09:45:36–10:28:0342 min
  3. entry choreography09:45:56–10:17:0631 min
  4. next-row closer09:46:13–10:26:2340 min
  5. sketch page09:47:35–10:05:2818 min
  6. WAVE 2home10:29:18–10:53:2524 min
  7. work10:29:38–10:54:1925 min
  8. ai10:29:57–10:44:3415 min
  9. about10:30:21–10:55:2125 min
  10. cases10:30:41–11:14:4544 min

(WHAT GOT CAUGHT)

What got caught, and the rules that came out of it.

I audit everything the agents build, and they audit themselves. These are catches from the checks and the AI reviewers, each now a written rule, so the same mistake doesn’t ship twice.

  1. 2026-09-30CODE-LEARNINGS.mdCAUGHT BY AN AI REVIEWER

    The app kept its paid API key off the browser, but the server still answered any device on the network and requests from other websites, so anyone nearby could spend it.

    THE RULE THAT CAME OUT OF IT

    A server holding a key answers only this machine and this app, and refuses everything else.

  2. 2026-09-29DESIGN-LEARNINGS.mdCAUGHT BY AN AI REVIEWER

    In a product demo, an AI-written impact report named a cause with no data behind it, and the guided tour promised a feature the demo did not have.

    THE RULE THAT CAME OUT OF IT

    Every claim in an AI-written report points to its data or comes out, and every tour line names something on screen.

  3. 2026-09-10CODE-LEARNINGS.mdCAUGHT BY THE MAIN AI AGENT

    A test emptied an AI assistant’s knowledge base, 65 passages down to 0. Nothing errored. The assistant just refused every question until a live check exposed it.

    THE RULE THAT CAME OUT OF IT

    Tests that delete data run on their own copy of the database, and a live check afterwards confirms the real data is still there.

  4. 2026-09-06CODE-LEARNINGS.mdCAUGHT BY THE MAIN AI AGENT

    Reading a 5,026-row table came back with exactly 1,000 rows and no error. The database quietly stops at 1,000 by default, so the wrong count looked real.

    THE RULE THAT CAME OUT OF IT

    Data is read page by page until the last page comes back short, and a suspiciously round number always gets checked.

  5. 2026-08-26CODE-LEARNINGS.mdCAUGHT BY AN AI REVIEWER

    The check that blocks leaked passwords had a loophole in its own skip list, and a file named secrets.lock walked straight through it.

    THE RULE THAT CAME OUT OF IT

    The security check only skips files it names exactly, never anything that just looks similar.

PRESS GANEY · DESIGN HUDDLE

BEFORE THERE WAS A SYSTEM

On a self-exploration page the designers and I liked the type small. The director of UX showed me what that cost: reviewers reading on a critique clock missed features that were already built, and asked for them.

THE RULE THAT CAME OUT OF IT

Anything a reader has to explore under time pressure gets larger type and obvious importance. Type size is the first thing I check.

No system caught this one. A person did, in a review room, before any of this existed. It is a written rule now, and the workflow above is what enforces it on every page I build.

(CODING WITH AI FOR STEMWISE)

Proving the system on a real product.

Stemwise is where I put it to work: a live product 20+ businesses run on.

WHAT'S THE PRODUCT?

A SaaS platform for rare plant businesses. I designed it and directed the AI coding agents that built it, and it runs their inventory, purchasing and sales today.

STEMWISE · 1,636 MESSY PLANT NAMES, MATCHED TO 491 REAL PLANTS

THE SHIPPED DASHBOARD · STEMWISE

The database underneath that screen, and the codebase around it, both drawn from what is actually running.

01

THE DATABASE

Every dot is a table in Stemwise’s database. Lines show which tables reference each other. Bigger dots carry more of the system.

STEMWISE · 51 TABLES · 92 FUNCTIONS · 85 ACCESS RULES, VERIFIED AGAINST THE LIVE DATABASE 2026-08-31 · 72 FOREIGN-KEY EDGES, COUNTED 2026-08-27

02

THE CODEBASE

Every dot is a part of Stemwise’s codebase. Lines show which parts use each other.

STEMWISE · 24 MODULES, 99 CROSS-MODULE IMPORT EDGES · REAL REPO, COUNTED 2026-08-27 · 211 SOURCE FILES · 147 COMPONENT FILES · 19 PAGES · COUNTED 2026-08-27

Read the full case study