CopilotHub
SearchPromptsInstructionsAgentsToolsMCPs
  1. Home
  2. Prompts
  3. Perform a Code Review on a PR Diff
Back to Prompts

Perform a Code Review on a PR Diff

Ask Copilot to review a diff and point out issues, smells, and improvements.

category:code-review
quality
best-practices
0

Prompt

Act as a senior engineer reviewing this pull request diff.
  
  Tasks:
  - Identify potential bugs or risky changes.
  - Point out code smells or anti-patterns.
  - Suggest improvements to naming, structure, or tests.
  - Be specific and actionable.
  
  Diff:
  
  [Paste diff or code changes here]

Related Prompts

View all →

Enforce Coding Conventions with Copilot

Codify your style guide and let Copilot enforce it across the codebase.

category:code-reviewstylelinting+2

Use Copilot for a First-Pass Code Review

A workflow to use Copilot as an automated reviewer before the human review.

category:code-reviewqualitypr-review+2

Enforce Project Coding Conventions

Ask Copilot to rewrite code to follow your project’s style and conventions.

category:code-reviewstylelinting+1

Check Code for Security Issues

Use Copilot to look for common security pitfalls in a code snippet.

category:code-reviewsecuritysecurity-review

Suggest a Project Folder Structure

Get Copilot to recommend a folder structure for a project based on tech stack and requirements.

category:architectureproject-structurebest-practices

Update Gradle build for Spring Boot 3

Update build.gradle with Spring Boot 3 plugin and Jakarta EE compatible dependencies.

spring-bootgradlebuild+4
Browse More Prompts

CopilotHub

A curated collection of prompts, instructions, agents, and tools for AI-powered development.

Quick Links

  • Prompts
  • Instructions
  • Agents
  • Tools
  • MCPs
  • Search

Browse by Category

  • Code Generation
  • Debugging
  • Documentation
  • Refactoring
  • Testing
  • Security

Legal

  • Guidelines
  • About
  • Privacy Policy
  • Terms of Service

Community

GitHub

© 2026 CopilotHub.