custom-codereview-guide
Skill269 starsChanged 7 months agoMITView on GitHub
Repository-specific code review guidelines for OpenHands CLI. Loaded alongside the code-review skill to provide project-specific context and review policies.
In this repository2 other files it gives its agents.
- AGENTS.mdAGENTS.md
- cli-releaseSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
When a PR exclusively bumps SDK package versions (e.g., openhands-sdk, openhands-tools, or other OpenHands SDK packages), always approve it …
- Distinctive: line 23
No application source code, tests, configuration, or workflow files are modified.
- Distinctive: line 25
When these criteria are met:
- Very specific: line 27
Do not require an Evidence section in the PR description.
- Very specific: line 35
Do NOT merely comment that the PR is "approved" or "ready to merge" — you MUST use the GitHub Pull Request Reviews API with event: …
- Very specific: line 36
MUST use the GitHub Pull Request Reviews API with event: "APPROVE" so the PR actually receives a green approval checkmark.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

