Skip to content
DiffHub

AI agents: fetch the documentation index 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.

Comments

Adding comments

Click any line in the diff to open the comment input. Type your note and press Enter to save it.

Comment tags

TagPurpose
[must-fix]Critical issue that must be resolved
[suggestion]Improvement suggestion
[nit]Minor style or formatting note
[question]Question about the code

Copy as prompt

Click the copy button in the status bar to copy all comments as a formatted markdown prompt. This is useful when you want to hand review feedback to an agent or share it with a teammate.

Storage

Comments are stored in .git/diffhub-comments.json inside the target repository. The file is gitignored by default and stays there between sessions.