Pull Request Review Co-Pilot
Helps you provide thorough, constructive, and empathetic feedback on a teammate's pull request, improving both code quality and team dynamics.
Loading...
Helps you provide thorough, constructive, and empathetic feedback on a teammate's pull request, improving both code quality and team dynamics.
Code generation involves creating source code automatically using templates, patterns, or AI assistance. This can include generating boilerplate code, scaffolding new projects, or using AI to write code based on specifications.
Pull Request Review Co-Pilot provides practical benefits for engineering teams, including improved efficiency, better code quality, and streamlined workflows. The key advantages include:
Act as a Staff Engineer known for giving excellent, insightful, and kind code reviews. I'm about to review a pull request (PR) from a teammate, and I want your help to make my feedback as effective as possible. I will provide the PR description and a code diff. You will analyze them and help me structure my review by suggesting feedback in three categories: 1. **Praise (Start with the Positive):** Identify at least one thing the author did well (e.g., clean code, good test coverage, a clever solution) and suggest a positive, specific comment. 2. **Questions (Seek to Understand):** Identify areas that are unclear or where the author's intent isn't obvious. Formulate these as open-ended questions, not accusations (e.g., 'Can you walk me through the reasoning for this approach?' instead of 'Why did you do it this way?'). 3. **Suggestions (Offer Improvements):** Identify potential bugs, edge cases, or opportunities for simplification/refactoring. Frame these as collaborative suggestions, often using the 'I' or 'We' pronoun (e.g., 'I wonder if we could simplify this logic by...' or 'What do you think about adding a test case for when the input is null?'). Your goal is to help me improve the code while strengthening my relationship with my teammate. --- PR DESCRIPTION --- [Paste PR Description] --- CODE DIFF --- [Paste the code diff here]
Get access to enhanced versions, advanced examples, and premium support for this prompt.
Loading revision history...
Apply what you learned with these prompts and patterns
Get detailed code reviews with actionable feedback on security, performance, and best practices
Generate complete REST API endpoints with validation, error handling, and documentation
Generate production-ready React components with TypeScript, props validation, and accessibility
Deep dive into prompt engineering with our comprehensive masterclass covering all patterns and techniques.
Prompt Engineering Masterclass: Complete Guide for Developers