Skip to main content
MiniMax Code includes a Code Review command for reviewing local changes in the current workspace. The Agent understands the diff and checks for potential issues across correctness, security, and maintainability.

When to Use It

  • Run an automated first pass before submitting code
  • Check whether local diffs contain obvious correctness issues
  • Focus on security, compatibility, maintainability, or boundary cases
  • Let a separate session handle review to keep the current development task focused

How to Use It

1

Prepare local changes

Make code changes in the workspace so the Changes panel or Git diff has something to review.
2

Run the Review command

Use the built-in Code Review command, or ask MiniMax Code to review the current local changes.
3

Add review criteria

Add your own focus areas, such as security, performance, compatibility, test coverage, or risks in a specific module.
4

Handle findings

Findings are linked to specific code lines when possible. Open the referenced location in the current workspace and continue editing.
Code Review is useful as an automated first pass before submission. Critical changes should still be validated with tests and human judgment.