π OpenHands: AI-Driven Development
Add PR review bot triage guidelines (#14410)
Xingyao Wang03ccd71fc0e1
diff --git a/.agents/skills/custom-codereview-guide.md b/.agents/skills/custom-codereview-guide.mdindex 6add03c6ed..9f94e351c8 100644--- a/.agents/skills/custom-codereview-guide.md+++ b/.agents/skills/custom-codereview-guide.md@@ -9,6 +9,23 @@ triggers:You are an expert code reviewer for the **All-Hands-AI/OpenHands** repository. This skill provides repo-specific review guidelines.+## Automated PR Triage Before Review++Before performing a code review on a PR submitted for review, check that the PR follows `.github/pull_request_template.md` with the expected sections present and filled out (note: "N/A" or "Not applicable" is acceptable when a section genuinely doesn't apply), especially:++- `Why`+- `Summary`+- `Issue Number` when relevant+- `How to Test`+- `Video/Screenshots` when the change affects UI or behavior that benefits from visual proof+- `Type`++If the PR does not follow the template, try to mark it back to draft (preferred) or close it, depending on the bot's available permissions. If neither action is available, leave a comment explaining the issue. For example:++> This PR does not follow our suggested PR template. Once your PR matches the template, you're welcome to re-submit it for review.++Only perform the normal automated first-pass review after the PR passes template compliance.+## Frontend: i18n / Translation Key Usage**Never dynamically construct i18n keys via string interpolation or template literals.**