š¤ Cursor PR Review Guide for Dependabot PRs
Guides a developer through reviewing 12 Dependabot pull requests using Cursor's GitHub integration and AI-assisted commands.
What this file does
Guides a developer through reviewing 12 Dependabot pull requests using Cursor's GitHub integration and AI-assisted commands.
When to use it
- You have a batch of Dependabot PRs to review in a trading or algorithmic project
- You want to use Cursor's AI to check for breaking changes in dependency updates
- You need a structured checklist for reviewing Python, Docker, and GitHub Actions updates
- You aim to complete multiple PR reviews in under an hour with quality checks
Assumes this stack
š¤ Cursor PR Review Guide for Dependabot PRs
šÆ Quick Start: Review All 12 Dependabot PRs
Step 1: Run the Automated Review Script
# Make the script executable
chmod +x review_dependabot_prs.sh
# Run the review workflow
./review_dependabot_prs.sh
This script will:
- ā Run local tests first
- ā Test Docker builds
- ā Open each PR in your browser
- ā Guide you through review decisions
- ā Log all decisions for tracking
š Cursor-Specific Review Workflow
Method 1: Using Cursor's GitHub Integration
Open All PRs in Cursor:
# In Cursor command palette (Cmd+Shift+P):
GitHub: View Pull Requests
Review Each PR:
- Select PR from the list
- Review changes in side-by-side diff
- Add comments using Cursor's inline commenting
- Use AI assistance for code review
- Approve or request changes
Method 2: Direct PR URLs
EAName Repository PRs:
# In Cursor command palette:
GitHub: Open Pull Request from URL
# Then paste these URLs one by one:
https://github.com/EAName/algorithmic_trading/pull/6
https://github.com/EAName/algorithmic_trading/pull/5
https://github.com/EAName/algorithmic_trading/pull/4
https://github.com/EAName/algorithmic_trading/pull/3
https://github.com/EAName/algorithmic_trading/pull/2
https://github.com/EAName/algorithmic_trading/pull/1
ParallelLLC Repository PRs:
# Same process for ParallelLLC:
https://github.com/ParallelLLC/algorithmic_trading/pull/6
https://github.com/ParallelLLC/algorithmic_trading/pull/5
https://github.com/ParallelLLC/algorithmic_trading/pull/4
https://github.com/ParallelLLC/algorithmic_trading/pull/3
https://github.com/ParallelLLC/algorithmic_trading/pull/2
https://github.com/ParallelLLC/algorithmic_trading/pull/1
š Review Checklist for Each PR
Critical PRs (Review First):
1. Python 3.13 Update (PR #6)
Priority: HIGH
# Check for breaking changes
- [ ] All dependencies compatible with Python 3.13
- [ ] No deprecated features used
- [ ] Performance impact minimal
- [ ] Trading logic unaffected
2. Docker Action Updates (PRs #2, #4)
Priority: MEDIUM
# Check CI/CD pipeline
- [ ] Docker builds still work
- [ ] Image size reasonable
- [ ] Security improvements
- [ ] No breaking changes
3. GitHub Actions Updates (PRs #1, #3, #5)
Priority: LOW
# Check workflow compatibility
- [ ] Actions still function
- [ ] No deprecated features
- [ ] Performance improvements
- [ ] Security enhancements
š¤ Using Cursor's AI for PR Review
AI-Assisted Review Commands:
1. Ask AI to Review Changes:
# In Cursor chat:
"Review this PR for breaking changes and security issues"
2. Check for Trading-Specific Issues:
# In Cursor chat:
"Check if these dependency updates affect our trading algorithms or risk management"
3. Validate CI/CD Pipeline:
# In Cursor chat:
"Verify that these GitHub Actions updates won't break our CI/CD pipeline"
AI Review Prompts:
For Python 3.13 Update:
"Review this Python 3.13 update for:
1. Breaking changes in our trading dependencies
2. Performance impact on our algorithms
3. Security improvements
4. Compatibility with our Docker setup"
For GitHub Actions Updates:
"Review these GitHub Actions updates for:
1. Workflow compatibility
2. Security improvements
3. Performance enhancements
4. Any deprecated features"
š Review Decision Matrix
Approve If:
- ā No breaking changes detected
- ā Tests pass locally
- ā Docker builds successfully
- ā Security improvements included
- ā Performance maintained or improved
Request Changes If:
- ā Breaking changes found
- ā Tests fail
- ā Docker build fails
- ā Security vulnerabilities introduced
- ā Performance degradation
Comment Only If:
- š¬ Minor concerns that don't block approval
- š¬ Suggestions for future improvements
- š¬ Questions about implementation
- š¬ Documentation requests
š”ļø Trading-Specific Review Criteria
Risk Management:
- No changes to risk calculation logic
- Position limits still enforced
- Drawdown protection maintained
- Compliance requirements met
Performance:
- Algorithm execution time unchanged
- Memory usage reasonable
- CPU utilization acceptable
- API response times maintained
Security:
- No new vulnerabilities introduced
- API keys still secure
- Authentication mechanisms intact
- Data encryption maintained
šÆ Efficient Review Strategy
Batch Review Approach:
Phase 1: Critical Updates (30 minutes)
- Python 3.13 Update - Test thoroughly
- Docker Updates - Verify builds
- Security Updates - Validate improvements
Phase 2: Standard Updates (15 minutes)
- GitHub Actions - Quick compatibility check
- Minor Dependencies - Standard review
- Documentation Updates - Verify accuracy
Phase 3: Approval (5 minutes)
- Approve safe updates
- Request changes for issues
- Merge approved PRs
š Review Template
For Each PR, Use This Template:
## PR Review: [PR Title]
### ā
What I Reviewed:
- [ ] Code changes
- [ ] Dependency updates
- [ ] Breaking changes
- [ ] Security implications
- [ ] Performance impact
- [ ] Local testing
- [ ] Docker build
### š Findings:
- **Breaking Changes**: [Yes/No]
- **Security Issues**: [Yes/No]
- **Performance Impact**: [None/Minor/Major]
- **Test Results**: [Pass/Fail]
### š¬ Comments:
[Add any specific comments or suggestions]
### ā
Decision:
- [ ] **Approve** - Safe to merge
- [ ] **Request Changes** - Issues found
- [ ] **Comment Only** - Minor concerns
š Quick Commands for Cursor
Keyboard Shortcuts:
Cmd+Shift+P # Command palette
Cmd+Shift+G # Source control
Cmd+Enter # Submit review
Cmd+Shift+Enter # Approve PR
Cmd+/ # Toggle comment
Useful Commands:
GitHub: View Pull Requests
GitHub: Open Pull Request from URL
GitHub: Review Pull Request
GitHub: Add Comment to Pull Request
ā Success Metrics
Review Goals:
- Time: Complete all 12 PRs in < 1 hour
- Quality: 100% of critical issues caught
- Safety: No breaking changes merged
- Efficiency: Use AI assistance for 80% of reviews
Quality Checklist:
- All PRs reviewed within 24 hours
- No critical issues missed
- All approved PRs pass CI/CD
- Documentation updated as needed
- Team notified of any issues
Ready to start? Run ./review_dependabot_prs.sh to begin the automated review workflow!
What's inside
14 sections covering automated script, Cursor workflows, review checklist, AI prompts, decision matrix, trading criteria, batch strategy, and review template
Change this for your project
- Replace
EANamein repository URLs with your own GitHub username - Replace
ParallelLLCin repository URLs with your own organization name - Replace
algorithmic_tradingin repository URLs with your own repository name - Replace
review_dependabot_prs.shwith your own script name if different
Where it goes
Keep it in your repository where the agent or team that needs it will read it.
Worth borrowing
- Batch PRs into critical, standard, and approval phases to manage review time
- Use a decision matrix with explicit Approve/Request Changes/Comment Only criteria
- Include trading-specific review criteria for risk, performance, and security
Related Documents
Setup & Deployment Checklist
Guides you through 10 phases to set up, test, deploy, and customize a content agent system using OpenRouter and Streamlit.
RealDiag Demo Video Script
Provides a complete 5-7 minute demo video script for a clinical decision support tool, including timing, visual cues, and production notes.
š± Mobile Phone Preview - Quick Start
Walks you through four ways to preview a React Native Expo app on real devices and emulators, plus a testing checklist and troubleshooting guide.
Session 1 Agenda: Foundations + Setup
Schedules a 110-120 minute teaching session covering tech stack, RAG, knowledge base setup, and agent customization for a multi-agent email system.