> ## Documentation Index
> Fetch the complete documentation index at: https://docs.traycer.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Review Mode

> Agentic code review with thorough exploration and analysis. Perfect for comprehensive code quality checks where you want deep insights into implementation details, potential issues, and improvement opportunities.

[Review mode](https://www.youtube.com/embed/R4yizcg5LH4?rel=0\&cc_load_policy=1\&cc_lang_pref=en)

**1. 1. User Query**

State your goal, expected outcome, and constraints.

> [accordion] What context can I provide?
>
> Optional context:
>
> * **Files**: Source files, config files, documentation, test files.
> * **Folders**: Component directories, feature folders, asset directories.
> * **Images**: UI mockups, error screenshots.
> * **Git**:
>   * **Diff against uncommitted changes**: Changes that haven't been committed yet.
>   * **Diff against 'main'**: Changes compared to the main/default branch.
>   * **Diff against branch**: Changes compared to a specific branch of your choice.
>   * **Diff against commit**: Changes compared to a specific commit.

**2. 2. Comprehensive Code Review**

Traycer performs an agentic code review with:

* **Deep code exploration** across files and dependencies.
* **Implementation analysis** to understand context and impact.
* **Review comments** categorized by category - Bug, Performance, Security, Clarity.

Review the findings and address comments based on category and impact.

If you are not satisfied with the comments received, and want to provide feedback, *iterate* to refine it until it fits your goal.

**3. 3. Complete**

Finalize, commit, and ship.

## Review comment categories

![Review categories](https://mintcdn.com/traycerai/hRCuy3Ct7y_nou67/images/review-category.png?fit=max\&auto=format\&n=hRCuy3Ct7y_nou67\&q=85\&s=9599d6e2595976d724bf55b5de4c27fa)

Traycer organizes review comments by category to help you understand and prioritize issues:

* **Bug**: Functional issues, logic errors, or incorrect implementations that need fixing.
* **Performance**: Inefficiencies, bottlenecks, or optimization opportunities that affect speed or resource usage.
* **Security**: Vulnerabilities, unsafe practices, or potential security risks that need attention.
* **Clarity**: Code readability, maintainability, documentation, or style improvements.

## Fixing review comments

You have three options for addressing review comments:

* **Fix individual comments**: Use the coding agent icon button next to each comment to address specific issues one at a time.
* **Fix selected comments**: Enable selection mode to choose multiple comments, then send the selected comments to your [agent](https://docs.traycer.ai/extension/integrations/agents.md) for fixing.
* **Fix all comments**: Use the **Fix all in** button to have your [agent](https://docs.traycer.ai/extension/integrations/agents.md) address all review comments at once.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.