# PR Chat

Chat with an AI that understands your entire pull request.

## Overview

PR Chat lets you ask questions about your PR and get instant, context-aware answers. The AI has access to all changed files, commit history, and related context.

## Linking the Chat

The chat is available in every Haystack review:

1. Open any PR in Haystack
2. Click the chat icon or press `c`
3. Type your question

### Example Questions

- "What does this PR change?"
- "Explain the changes to the auth module"
- "Are there any potential bugs?"
- "What's the purpose of the new helper function?"

### Slash Commands

| Command | Action |
|---------|--------|
| `/approve` | Approve the PR |
| `/merge` | Merge the PR |
| `/comment` | Leave a review comment |
| `/request-changes` | Request changes |

### Pro Features

With a Pro subscription:
- Unlimited chat messages
- Edit code suggestions directly
- Cloud sandbox for testing changes
