Open AI chat
Choose the sidebar button at the top left of the PR page to open AI chat in the left sidebar. To open AI chat from anywhere on the page, pressCmd + I on macOS or Ctrl + I on Windows and
Linux.
To ask about a specific change, select code and choose Add to AI chat. You can also add a
whole file from the file’s ⋯ menu, or choose the Add to AI chat button on a review thread.
Take a guided tour
Ask “tour this PR”, or choose Tour this PR when it appears among the suggested prompts. AI chat takes you through the files in review order, one stop at a time. At each stop, it opens the code, explains its role in the change, and suggests what to verify.
- Next to go to the next stop.
- Back to return to the previous stop.
- Skip to a file or group to jump to that part of the PR.
- End tour to finish the tour.
Ask about the change
Try questions like these:- “How does this change affect the existing retry behavior?”
- “Where is this function called elsewhere in the codebase?”
- “What happens if this request fails?”
- “Which tests cover the new validation?”
Draw a diagram
When a change is easier to see than to read, ask for a diagram. AI chat draws it in the conversation, where you can open it full screen or download it. Try prompts like these:- “Draw the checkout data flow in this PR.”
- “Show how these services call each other.”