| name | quick-pr-review |
| description | Universal pre-PR checklist that works in ANY project, with or without MCP tools. Use before creating a pull request to ensure quality standards and reduce review iterations. |
Quick PR Review - Universal Pre-PR Checklist
🎯 When to Use This Skill
Use BEFORE creating a pull request in ANY project when:
- Preparing code for review
- Self-reviewing your changes
- Ensuring quality standards
- Reducing review iterations
⚡ Quick Start (30 seconds)
With MCP Tools:
"Run quick PR review on my staged changes"
Without MCP Tools:
git diff --staged
npm test
npm run lint
git grep "TODO\|FIXME\|XXX"
📋 Universal PR Checklist
1. Code Changes Review
WITH MCP (Smart Reviewer):
"Review my staged files for quality issues"
WITHOUT MCP:
git diff --staged | grep -E "console\.|debugger|TODO|FIXME"
2. Test Coverage Check
WITH MCP (Test Generator):
"Check test coverage and generate missing tests"
WITHOUT MCP:
npm test -- --coverage
pytest --cov
go test -cover
mvn test jacoco:report
3. Security Scan
WITH MCP (Security Scanner):
"Scan my changes for security vulnerabilities"
WITHOUT MCP:
git diff --staged | grep -iE "password|secret|token|api[_-]key"
grep -r "eval\|exec\|innerHTML" --include="*.js" --include="*.ts"
npm audit
4. Documentation Check
WITH MCP (Doc Generator):
"Check if my changes need documentation updates"
WITHOUT MCP:
grep -B2 "function\|class\|def" --include="*.js" | grep -v "//"
5. Performance Check
WITH MCP (Architecture Analyzer):
"Check for performance issues in my changes"
WITHOUT MCP:
git diff --staged | grep -E "forEach.*forEach|for.*for"
git diff --staged | grep -E "await.*map|Promise\.all"
🚀 Complete Workflow
Optimal Flow (2-3 minutes):
-
Stage your changes:
git add -p
-
Run the appropriate checklist:
- WITH MCP:
"Run complete PR review checklist"
- WITHOUT: Use the manual checklist above
-
Fix issues found:
git add -p
-
Final verification:
git diff --staged --stat
git log --oneline -5
-
Create PR with confidence!
💡 Pro Tips
Universal Commit Message Check:
git log --oneline -10
Quick Scope Check:
git diff --staged --stat
Dependency Impact:
git diff --staged package.json Gemfile go.mod requirements.txt pom.xml
🎯 Success Metrics
Your PR is ready when:
- ✅ All tests pass
- ✅ No linting errors
- ✅ Security checklist complete
- ✅ Documentation updated
- ✅ Changes focused and clear
- ✅ Commit messages descriptive
🔄 Quick Recovery
If you find issues:
git reset HEAD
git add -p
📝 Notes
- This workflow is language-agnostic
- Adapt commands to your tech stack
- MCP tools speed up the process 10x
- Manual approach ensures you can work anywhere
Remember: A good PR review saves everyone time!