agentleFS
OpenHandsOpenHands/OpenHands-CLI/.agents/skills/custom-codereview-guide/SKILL.md

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.

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
  1. Very specific:

    When a PR exclusively bumps SDK package versions (e.g., openhands-sdk, openhands-tools, or other OpenHands SDK packages), always approve it …

    line 15
  2. Distinctive:

    No application source code, tests, configuration, or workflow files are modified.

    line 23
  3. Distinctive:

    When these criteria are met:

    line 25
  4. Very specific:

    Do not require an Evidence section in the PR description.

    line 27
  5. Very specific:

    Do NOT merely comment that the PR is "approved" or "ready to merge" — you MUST use the GitHub Pull Request Reviews API with event: …

    line 35
  6. Very specific:

    MUST use the GitHub Pull Request Reviews API with event: "APPROVE" so the PR actually receives a green approval checkmark.

    line 36

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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:

  1. The title or branch name contains "bump", "version bump", or "sdk" version references.
  2. The diff only touches dependency-related files (pyproject.toml, uv.lock) with version number changes for openhands-sdk and/or openhands-tools.
  3. 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 Evidence section in the PR description.
  • Assign 🟢 Good taste and 🟢 LOW risk.
  • Submit an APPROVE review via the GitHub API (not just a comment). Use:
    gh api repos/{owner}/{repo}/pulls/{pr_number}/reviews \
      -f event="APPROVE" \
      -f body="✅ SDK version bump looks correct. Auto-approved."
    Do NOT merely comment that the PR is "approved" or "ready to merge" — you MUST use the GitHub Pull Request Reviews API with event: "APPROVE" so the PR actually receives a green approval checkmark.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.