# Hand-off prompt

> A prompt to paste into your agent so it addresses your review the right way.

<!-- Generated by website/scripts/sync-agent-guide.mjs from the "Hand-off prompt template" section of AGENT-GUIDE.md. Do not edit: change AGENT-GUIDE.md and re-run it. -->

Finished a round of review? Paste this into a new chat with your coding agent, fill in the `<…>`s, and it will work through your open threads the way the agent guide describes.

:::note[From the agent guide]
This page is the [agent guide](/agents/agent-guide/#hand-off-prompt-template)'s "Hand-off prompt template" section, word for word. Agents read the whole guide with `npx local-review guide`.
:::

To start a chat that addresses the reviewer's comments, paste this (fill in the `<…>`s):

```
I've reviewed <repo> in Local Review (project <project>, http://localhost:5622/<project>).
Address my open review threads. First run `npx local-review guide` and follow that guide exactly:
- fix each reviewed commit with --fixup + autosquash onto the stack's current merge-base, with
  --update-refs, keeping subjects unchanged;
- reply in every thread (author: claude) saying what changed and in which commit;
- resolve only threads that were clear instructions carried out exactly, and leave the rest open;
- leave threads marked `publish: true` alone: they're for the GitHub PR, posted when the stack is published;
- never delete threads or comments; don't push or touch GitHub.
Then check that the threads re-attached, run the plan command and report what's left.
```
