GitLab Well Architected
Cookbook navigation
Prompts / Suggest Code Improvements in MR

Suggest Code Improvements in MR

Code ReviewAutomationCode-ReviewVerifyBeginner

Receive actionable feedback on code quality, performance, and maintainability. Elevate your team's coding standards.

For GitLab Duo

prompt

Review this MR and suggest improvements for:
1. Code readability
2. Performance
3. Maintainability
4. Following our team's conventions

[MR URL or paste code]

Use the prompt

Share the diff and your team's conventions. You can ask Duo to explain the practical benefit of each suggestion before deciding which changes belong in this merge request.