name: custom-codereview-guide description: >- Repository-specific code review guidelines for OpenHands CLI. Loaded alongside the code-review skill to provide project-specific context and review policies. triggers:
- /codereview
OpenHands CLI — Custom Code Review Guidelines
Version Bump PRs — Auto-Approve Policy
When a PR exclusively bumps SDK package versions (e.g., openhands-sdk,
openhands-tools, or other OpenHands SDK packages), always approve it
by submitting an actual GitHub approval review via the API.
Detection criteria — the PR satisfies all of the following:
- The title or branch name contains "bump", "version bump", or "sdk" version references.
- The diff only touches dependency-related files (
pyproject.toml,uv.lock) with version number changes foropenhands-sdkand/oropenhands-tools. - No application source code, tests, configuration, or workflow files are modified.
When these criteria are met:
- Skip the full code review analysis (data structures, complexity, pragmatism, etc.).
- Do not require an
Evidencesection in the PR description. - Assign 🟢 Good taste and 🟢 LOW risk.
- Submit an APPROVE review via the GitHub API (not just a comment). Use:
Do NOT merely comment that the PR is "approved" or "ready to merge" — you MUST use the GitHub Pull Request Reviews API withgh api repos/{owner}/{repo}/pulls/{pr_number}/reviews \ -f event="APPROVE" \ -f body="✅ SDK version bump looks correct. Auto-approved."event: "APPROVE"so the PR actually receives a green approval checkmark.