StoicBuilder

HandbookIII the CastraPull requests and review

IIIthe Castra, Stay in control

Pull requests and review

1 min readUpdated 28 November

In plain words

A pull request asks to merge one branch into another and shows every changed line, so you or someone else can review it before it goes live.

Where you see it

Codex and Claude Code can open a pull request on GitHub when they finish a task. The Files changed tab shows every added and removed line, Vercel posts a preview link, and nothing reaches main until someone presses Merge.

Terminalterminal
gh pr create --title "Add note sharing" --body "Adds share links. Tests pass."gh pr diffgh pr merge --squash
Open it, read the diff, and merge only when you're happy with it.

What goes wrong

  1. Merging without opening Files changed

    The description says "tidied the sidebar"; the diff also rewrites how password resets work. Read the file list even when you skip the details.

  2. One pull request with forty files

    Nobody reviews forty files well, you included. Ask the agent for one change per pull request.

  3. Merging past a failing check

    A red cross beside the pull request means a build or test failed. Merging anyway ships the failure.

What to tell your agent

Copy this into Lovable, Bolt, Cursor or any agent
Do this work on a new branch and open a pull request instead of pushing to main. In the description, list every file you changed and why, flag anything touching login, payments or the database, and make sure the checks pass before you ask me to merge.

Quick check

Sign in to earn +10 XP for it

The agent's pull request says "fixed button colour" but changes 14 files, including the auth middleware. What do you do?

Got a prompt that touches pull requests and review?

Paste it. You get a better prompt first, then the cards that explain it.

Check your own prompt

Free, no sign-up.