Skip to content

Displayr/pr-review-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Daily PR Review Process

What This Is

This repository contains tools and instructions for performing comprehensive PR reviews to prevent production issues before merging code changes.

What You Need to Do Every Day

1. Get Started (2 minutes)

# Open Cursor and run this prompt:
Please use the GitHub MCP to find all reviews waiting on me at my username alxDisplayr

2. Review All PRs (10-15 minutes)

# Run this comprehensive review prompt:
Please perform the complete daily PR review workflow:
1. Get all pending reviews
2. Analyze each PR for potential issues
3. Use Azure MCP to verify infrastructure changes
4. Use CircleCI MCP to check pipeline status and test results
5. Add approval comments to safe PRs
6. Add verification comments to risky PRs
7. Update TODO list with completion status
8. Provide summary report

3. Get Direct Links (1 minute)

# Get clickable URLs to all PRs you just reviewed:
Please give me URLs that I can click to take me straight to the PRs that you've just added comments to.

What Happens Automatically

Safe PRs get approval comments explaining why they're safe to merge
Risky PRs get detailed verification requests with specific questions
All comments are clearly marked as "Comment added by Cursor AI"
Pipeline health is checked via CircleCI integration
Azure resources are verified to prevent production outages

Quick Reference

For Infrastructure Changes

  • Checks Azure Front Door domains and certificates
  • Verifies deployment system readiness
  • Validates no active resources are being removed

For Dependabot Updates

  • Verifies version compatibility
  • Checks for breaking changes
  • Confirms CircleCI builds are passing

For All PRs

  • Analyzes code changes for potential issues
  • Checks CircleCI pipeline status and test results
  • Identifies flaky tests and pipeline failures

Emergency Situations

If you see a PR that could cause production issues:

  1. Don't merge it - the system will flag it
  2. Check the comments - detailed concerns will be listed
  3. Ask questions - the system will provide specific validation requests

Files in This Repo

  • README.md - This file (daily process overview)
  • .cursor/pr-review-instructions.md - Detailed technical instructions
  • .cursor/daily-pr-review-prompts.md - Ready-to-use prompts for different scenarios
  • CODEx.md - One-command Codex setup for automated PR reviews

Need Help?

  • Quick review: Use the prompts in .cursor/daily-pr-review-prompts.md
  • Detailed process: Follow .cursor/pr-review-instructions.md
  • Custom scenarios: Modify the prompts to fit your specific needs

Time Investment: ~15 minutes daily
Prevents: Production outages, broken deployments, infrastructure issues
Result: Safe, verified code changes with clear documentation

Codex Automation

If you prefer running reviews via Codex CLI with MCP tools pre-wired, see CODEx.md for a one-command workflow.

About

Automated PR review system using MCP tools to prevent production issues before merging code changes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published