.cursor/skills/review-pr/SKILL.md
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.
npx skillsauth add rlinf/rlinf review-prInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.
development
Cross-checks RLinf documentation against code and other docs, including English-Chinese parity checks. Use when adding or editing docs, reviewing doc PRs, validating commands/config keys/model-env names, or ensuring EN and ZH docs stay consistent.
documentation
Adds a new publication page to the RLinf Sphinx docs (EN + ZH) and wires it into the Publications index/toctree and navbar. Use when the user asks to add a publication/paper page, convert a paper README/markdown into docs, or update the publications listing.
development
Adds install command in install script, Docker build stage in Dockerfile, and CI jobs for docker build, install script, and embodied e2e test when introducing a new model or environment in RLinf. Use when adding a new embodied model (e.g. dexbotic), new env (e.g. maniskill_libero), or new model+env combination that should be installable, dockerized, and tested in CI.
documentation
Adds example documentation for a new model or environment in RLinf (RST pages in the docs gallery for both English and Chinese). Use when adding a new embodied or reasoning example, or new benchmark (e.g. LIBERO, ManiSkill).