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

# Command List

> List of commands for MatterAI

<Note>
  Commands are available on all plans.
</Note>

This guide walks you through the list of commands for MatterAI that can be used within your Pull Requests.

## Command Overview

| Command                             | Description                                               |
| ----------------------------------- | --------------------------------------------------------- |
| `/matter summary`                   | Generate AI Summary for the PR                            |
| `/matter review`                    | Generate AI Reviews for the latest commit in the PR       |
| `/matter review-full`               | Generate AI Reviews for the complete PR                   |
| `/matter review-max`                | Advanced AI Code Review with tool-use and deeper analysis |
| `/matter fix`                       | Automated Code Fix Generation for review comments         |
| `/matter explain`                   | Generate AI Explanation for the PR reviewer               |
| `/matter release-notes`             | Generate AI release-notes for the PR                      |
| `/matter <ask-question>`            | Chat with your PR with MatterAI Agent                     |
| `/matter remember <recommendation>` | Generate AI memories for the PR                           |
| `/matter help`                      | Prints all the commands and usage in PR as a comment      |

Below you'll find more detailed information about each command.

## /matter summary

Generate a summary of the Pull Request with detailed analysis of the changes, impact, tests, package vulnerabilities, and code quality.

<Frame>
  <img className="block" src="https://mintcdn.com/gravitycloud-9ebb5c50/3U87DakErDeBshmz/images/features/summary-cmd.png?fit=max&auto=format&n=3U87DakErDeBshmz&q=85&s=9e92c3b554d3034b33a8463b7e204b25" alt="MatterAI Summary Command" width="1998" height="1490" data-path="images/features/summary-cmd.png" />
</Frame>

## /matter review

Generate a code review of the Pull Request with detailed comments and code change suggestions.

<Frame>
  <img className="block" src="https://mintcdn.com/gravitycloud-9ebb5c50/3U87DakErDeBshmz/images/features/review-cmd.png?fit=max&auto=format&n=3U87DakErDeBshmz&q=85&s=5e74cd3e59d0e124c9353c842246581e" alt="MatterAI Review Command" width="1996" height="1492" data-path="images/features/review-cmd.png" />
</Frame>

## /matter explain

Generate an explanation of the Pull Request catered toward the reviwer to understand the code-level changes in a gist for faster reviews.

<Frame>
  <img className="block" src="https://mintcdn.com/gravitycloud-9ebb5c50/3U87DakErDeBshmz/images/features/explain-cmd.png?fit=max&auto=format&n=3U87DakErDeBshmz&q=85&s=dc74e0a9472e8cbc2946efbdbf7667e4" alt="MatterAI Explain Command" width="1996" height="1488" data-path="images/features/explain-cmd.png" />
</Frame>

## /matter release-notes

Generate release notes for the Pull Request with summary, new features, bugs, commit log history and dependency changes.

<Frame>
  <img className="block" src="https://mintcdn.com/gravitycloud-9ebb5c50/3U87DakErDeBshmz/images/features/release-notes-cmd.png?fit=max&auto=format&n=3U87DakErDeBshmz&q=85&s=2784ce64d64b820a41e922f026f9a788" alt="MatterAI Release Notes Command" width="1986" height="1492" data-path="images/features/release-notes-cmd.png" />
</Frame>

## /matter review-max

Advanced AI Code Review with tool-use enabled analysis that goes beyond surface-level scanning. This command performs deep, comprehensive code analysis using advanced AI capabilities.

<Frame>
  <img className="block" src="https://mintcdn.com/gravitycloud-9ebb5c50/0G_3_GyjEL_0_lmh/images/features/matterai-review-max.png?fit=max&auto=format&n=0G_3_GyjEL_0_lmh&q=85&s=3d9c4463b939c2fd1c477be77c3a1ce2" alt="MatterAI Release Notes Command" width="1894" height="1200" data-path="images/features/matterai-review-max.png" />
</Frame>

**Key capabilities:**

* **Tool-use enabled**: AI reads relevant files and searches codebase for context
* **Deeper analysis**: Identifies architectural issues, security vulnerabilities, and performance bottlenecks
* **Confidence scoring**: Each review comment includes detection and fix confidence scores
* **Smart suggestions**: Provides precise code suggestions with line numbers for easy application

**Best for:**

* Complex PRs with multiple files
* Security-sensitive changes
* Performance-critical code
* Architectural reviews

**Usage:**
Comment on any PR: `/matter review-max`

## /matter fix

Automated Code Fix Generation that creates a fix PR addressing all review comments from Matter AI. This eliminates manual copy-pasting and ensures accurate application of suggestions.

<Frame>
  <img className="block" src="https://mintcdn.com/gravitycloud-9ebb5c50/0G_3_GyjEL_0_lmh/images/features/matterai-review-fix.png?fit=max&auto=format&n=0G_3_GyjEL_0_lmh&q=85&s=71f7b4356349d25af57488a07c9a4a7e" alt="MatterAI Release Notes Command" width="1958" height="1196" data-path="images/features/matterai-review-fix.png" />
</Frame>

**How it works:**

1. Fetches all review comments from Matter AI
2. Analyzes the code and generates precise fixes
3. Creates a new branch with all fixes applied
4. Opens a PR targeting your original branch

**Benefits:**

* ✅ Saves 15-30 minutes per PR
* ✅ Eliminates manual error when applying suggestions
* ✅ Creates separate PR for safe review
* ✅ Works with all Matter AI review types (review, review-max, review-full)

**Usage:**
Comment on any PR: `/matter fix`

**Security & Safety:**

* Fix PRs are created as separate branches - no direct commits to your branch
* All changes are reviewable before merging
* Original PR remains unchanged
