Skip to main content

Code Review

Code Review Lens

Performs in-depth reviews of pull requests for a selected MuleSoft repository — identifying issues, validating best practices, and offering improvement suggestions aligned to organizational coding standards.

Key Features

  • Comprehensive PR Analysis: Analyzes diffs to find potential issues, anti-patterns, or deviations from best practices.
  • Context-Aware Feedback: Offers targeted, actionable guidance based on the actual changes made in the pull request.
  • Guideline Customization: Supports organization-specific review rules via editable guideline configurations.
  • Edit Guidelines: Define or modify custom code review rules to tailor the agent's evaluation.
  • Ask a Question Prompt: Use natural language to trigger a PR review by pasting the link into the question field.
  • Diff-Level Intelligence: Feedback is anchored to exact lines and files changed in the pull request.

Supported Input Mode

  • With Repository: Connect to a GitHub repository and choose the relevant branch for the pull request.

Example Questions You Can Ask

  • "Please review this PR for me: https://github.com/org/repo/pull/123"
  • "Is there anything wrong with this pull request?"
  • "Does this PR follow our error handling best practices?"
  • "Does this PR include sufficient unit test coverage?"
  • "Can you summarize what was changed in this PR?"
  • "Suggest improvements for this pull request."

Automated code review is available through CI/CD pipelines using the Code Review Agent. To learn more, see Automated Code Review in CI/CD.