How I write an expert
An expert is a page of instructions for one floor, or one room on it. You hand it to your coding agent before it starts. Mine all have the same parts:
- One line on what it owns, and what it hands to another expert.
- Read first: the two or three documents it must open before it touches anything.
- Hard rules, numbered and short.
- Decisions already made, with dates, so they are not argued again.
- Traps: what went wrong before, and what was tried and ruled out.
- How to report: the answer first, then what was checked, then what was not.
One rule has done more for me than any other: every claim is marked proven (here is the file or the output), assumed or unknown. "Unknown" is always allowed. A confident guess is not.
Five habits I've picked up
- See the test fail first. A check that cannot fail tells you nothing.
- Write the way back before the change. If you can't say how to undo it, don't do it yet.
- The real system needs your yes, every time. Having the password is not permission.
- One fact, one place. Point to it from everywhere else.
- Write down dead ends. Otherwise the agent will suggest them again next week.
Take it with you. The whole cheat sheet, an expert page for every floor and the rest of the free starter kit are on GitHub: the builder's cheat sheet. New to this? Start with Building with AI when you're not a programmer.
These are the parts I use and my own names for them. Other good choices exist for every floor, and people who know more than I do will disagree with some of mine. Nothing here is a promise of results, and tools change quickly: have your agent check each one before you install it.