Debian Codegraph @

.claude/commands/review-pr.md

raw
1 ---
2 description: Review a GitHub PR for code quality and project standards
3 ---
4
5 Review a GitHub pull request for Rspamd project compliance.
6
7 Given a PR number or URL:
8
9 1. Fetch PR details using `gh pr view <number>`
10 2. Check PR title follows commit message format ([Tag] description)
11 3. Review changed files for:
12 - C/C++ files: clang-format compliance, no std::unordered_map usage
13 - Lua files: luacheck compliance, proper rspamd_logger usage
14 - Commit messages: proper tags and GPG signatures
15 4. Check if tests are included for new features
16 5. Provide detailed feedback on what needs to be fixed
17 6. Suggest improvements following project guidelines
18
19 Be thorough but constructive in the review.