Reviews a pull request from a PR URL by directly fetching the URL content (no `gh` dependency) and verifies compliance with CONTRIBUTING.md. Use when the user asks for a PR review, to review changes before merge, or to check contribution guidelines.
Reviews the changes in a specific GitHub pull request and ensures all rules in the project’s CONTRIBUTING.md (repository root) are followed.
Require a PR URL (for example: https://github.com/RLinf/RLinf/pull/123).
Fetch PR details directly from the URL:
<PR_URL>.diff (preferred)<PR_URL>.patch (fallback)If the PR page is private and URL fetch is blocked, report that access is unavailable and ask the user to provide exported diff/details.
Validate the changed files and diff against the following. Details and examples are in CONTRIBUTING.md; summary below.
Do not review the PR in isolation. In addition to the diff, always map each major change to related RLinf modules and verify integration consistency:
Report these as findings when you see potential omissions, even if the exact line is outside the PR diff.
For docs PRs, or PRs touching docs/, always perform a cross-language and style consistency review:
docs/source-en/ and docs/source-zh/ (same topic), verify semantic parity for:
opensora.rst) and flag inconsistent section naming/order, code-block conventions, and result table formatting/link style.pre-commit run --all-files). Flag if new code likely fails lint.self.log_info / log_warning / log_error) instead of print.config.py); config fields must be read-only in code; avoid cross-field references in YAML when possible.git commit -s).<type>(<scope>): <description> (e.g. feat, fix, docs, style, refactor, test, chore).<type>(<scope>): <description>.Before listing issues, start with a brief explanation of the PR:
Keep this concise (3-6 bullets), then move to findings.
Severity + Area/File: issue summarySuggested fix: concrete actionReference: file/line, commit, or diff snippetFor a concise checklist derived from CONTRIBUTING.md, see reference.md.