BuildGist

How to understand code your AI coding agent wrote

Kayvan Zahiri ·

Read one run at a time, right after it finishes, starting from what you asked for. For each important change, write one sentence about what a user can now do. Read the risky files first. BuildGist writes that first read for each meaningful run.

The checklist

  1. Reread the request you gave the agent.
  2. Run git status and git diff --stat to list the files and the size of each change. New untracked files show up in git status only.
  3. Open the risky files first: sign-in and permissions, anything that deletes data, payments, new dependencies, configuration.
  4. For each important change, finish the sentence "Now a user can ...".
  5. Mark anything you could not finish as a question, and ask about that change by name.
  6. Check the change against the request: what it did that you asked for, and what it did past it.
  7. Run the tests that cover the risky files, or write down that none do.
  8. Write the short summary below so the next person, or the next agent, starts from it.

One run, one sentence

Start from the request

Reread what you asked for before any of the code. The question is whether the change matches that request, and what it did past it.

List what changed

git status
git diff --stat

That is the files and the size of each change. Committed runs are covered in what did Claude Code change?

Read in order of risk

Read sign-in and permissions first, then anything that deletes data, then payments, new dependencies and configuration. Read interface text and docs last.

One sentence for each important change

Finish "Now a user can ..." for each important change. If you cannot, that is the part to ask about, naming that change rather than asking for the whole run again.

On the BuildGist home page, a real Claude Code run, shortened and edited, asked to "Add login with Google." 7 files changed, +224 -16. Two sentences cover what that example shows:

The second sentence is the high concern in that example. Sign-in working does not show it.

Keep up with each run

One read when the run ends stays short. Leaving several runs unread means the next read is all of them at once.

Explain a run to a teammate

A teammate, a reviewer or a manager who did not watch the run needs the same few facts. Copy this, fill it in from the steps above, and paste it into the pull request, the chat or the ticket.

Asked for: (the request, in one line)
Files changed: (from git diff --stat)
Now a user can: (one sentence per important change)
Past the request: (anything it did that you did not ask for)
Check before merging: (the risky path, and whether a test covers it)
Open questions: (changes you could not explain)

Keep it in plain words. Someone who does not read the code should be able to say what changed and what could go wrong. The line that matters most is often "Check before merging". In the Google sign-in example, that line is "any signed-in user can delete anyone else's note". Before you merge, the steps in how to review AI-generated code before you merge pick up from here.

BuildGist writes the first read

After each meaningful run of Claude Code, Cursor or Codex, BuildGist writes a plain-English explanation of what changed, what it means and what to check, and puts it in your Inbox. It works from uncommitted work too, and small changes stay quiet. It is written by AI, so check important behavior against the code and tests.

What you need

Codex needs you to approve BuildGist once, in Codex. BuildGist shows the steps. Setup is in Getting started.

To explain a run, your computer sends BuildGist what that run needs, and BuildGist passes it to Anthropic. BuildGist does not keep this material. It does not send your whole repository, files the run did not change, or files named like secrets, such as .env files and keys. It keeps the explanation and short cited excerpts of changed code, at most 12 lines each. Secret masking is best-effort. Privacy has the full list.

Every account gets 7 days of BuildGist Pro free, with no card. The 7 days start at your first explanation or Continue handoff. Nobody is charged when the trial ends. After that, BuildGist Pro is $12 per month, plus any applicable tax shown at checkout. See pricing.

Try BuildGist Download for Mac

No Mac handy? Try it in your browser: paste a session or a git diff and see the explanation.

Apple silicon, macOS 12 or later. United States, 18 or older.

Related

Questions: kayvanandre@gmail.com.