name: review-pr description: Review a pull request against the project's quality standards. Covers the full checklist from the PR review guide — branching, commits, code quality, testing, documentation, and template conventions — and how to provide constructive feedback. Use when reviewing a pull request, checking if a PR meets project standards, or providing feedback on changes. Triggers on "review PR", "review pull request", "check PR", "PR checklist", "code review", or "approve PR". metadata: author: torrust version: "1.0"
Review a Pull Request
Process
Read the PR review guide —
docs/contributing/pr-review-guide.mdis the single source of truth. Do not rely on your general knowledge; follow the checklist there.Work through each checklist item in the guide against the actual changes in the PR:
- Branching & Commits
- Code Quality (DDD layers, error handling, module organization)
- Testing
- Documentation
- Templates (if applicable)
Check the Quick Red Flags section — scan the diff for the listed architecture violations, error handling issues, code organization problems, and testing issues.
Distinguish expected from real errors — consult
docs/contributing/known-issues.mdbefore flagging anything as a problem.Provide feedback following the guide's conventions:
- Request Changes for blocking violations of documented standards
- Comment for non-blocking suggestions
- Approve only when all checklist items are satisfied
The guide has examples of good vs. better feedback with specific references to documentation and line numbers. Follow that pattern.