For AI agents: the documentation index is at llms.txt. Markdown versions are available by appending .md to any page URL, including this page's markdown.
Comments
Leave review notes on any line and copy them as a prompt for an agent or teammate.
Adding comments
Hover a line in the diff and click the + in the gutter to open the comment input. Type your note, then press Cmd+Enter or click Comment to save it. Escape cancels.
Comments are plain text. There is no label or tag picker, so if you want the agent to treat a note as blocking, say so in the note.
Copy as prompt
Click the copy button in the status bar to copy all comments as a formatted markdown prompt. A successful copy clears the saved comments, so paste the prompt somewhere you can keep it before copying anything else. This is useful when you want to hand review feedback to an agent or share it with a teammate.
The prompt includes the file, line number and old or new side for each line comment. A comment on deleted code refers to the old side, so its line number may not exist in the current file. Ask the agent to inspect the diff before applying the feedback.
Storage
Comments are stored as diffhub-comments.json in the Git directory of the target checkout. A linked worktree has its own Git directory, so its comments stay separate from the main checkout. Comments persist between sessions and are not committed with your source files.
Published with Edda