Open Code Review CLI
alibaba/open-code-review
Runs the ocr command-line tool to review Git changes, a commit or a branch comparison with an AI model, returning line-level comments and optionally applying fixes.
For a non-trivial pull request, write a self-contained HTML design doc under the temporary .pr/ directory and link a visibility-appropriate preview in the PR description, so maintainers grasp the…
$ npx skills add OpenHands/OpenHands --skill pr-design-doc -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install OpenHands/OpenHands pr-design-doc --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/OpenHands/OpenHands.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/pr-design-doc .claude/skills/pr-design-doc && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "pr-design-doc" agent skill from https://github.com/OpenHands/OpenHands/tree/main/.agents/skills/pr-design-doc into .claude/skills/pr-design-doc/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pr-design-doc", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/OpenHands/OpenHands/tree/main/.agents/skills/pr-design-docType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add OpenHands/OpenHands --skill pr-design-doc -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install OpenHands/OpenHands pr-design-doc --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/OpenHands/OpenHands.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/pr-design-doc .agents/skills/pr-design-doc && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "pr-design-doc" agent skill from https://github.com/OpenHands/OpenHands/tree/main/.agents/skills/pr-design-doc into .agents/skills/pr-design-doc/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pr-design-doc", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add OpenHands/OpenHands --skill pr-design-doc -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install OpenHands/OpenHands pr-design-doc --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/OpenHands/OpenHands.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/pr-design-doc .cursor/skills/pr-design-doc && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "pr-design-doc" agent skill from https://github.com/OpenHands/OpenHands/tree/main/.agents/skills/pr-design-doc into .cursor/skills/pr-design-doc/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pr-design-doc", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/OpenHands/OpenHands.git --path .agents/skills/pr-design-doc--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add OpenHands/OpenHands --skill pr-design-doc -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install OpenHands/OpenHands pr-design-doc --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/OpenHands/OpenHands.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/pr-design-doc .gemini/skills/pr-design-doc && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "pr-design-doc" agent skill from https://github.com/OpenHands/OpenHands/tree/main/.agents/skills/pr-design-doc into .gemini/skills/pr-design-doc/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pr-design-doc", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install OpenHands/OpenHands pr-design-docInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add OpenHands/OpenHands --skill pr-design-doc -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/OpenHands/OpenHands.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/pr-design-doc .github/skills/pr-design-doc && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "pr-design-doc" agent skill from https://github.com/OpenHands/OpenHands/tree/main/.agents/skills/pr-design-doc into .github/skills/pr-design-doc/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pr-design-doc", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add OpenHands/OpenHands --skill pr-design-doc -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install OpenHands/OpenHands pr-design-doc --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/OpenHands/OpenHands.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/pr-design-doc .opencode/skills/pr-design-doc && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "pr-design-doc" agent skill from https://github.com/OpenHands/OpenHands/tree/main/.agents/skills/pr-design-doc into .opencode/skills/pr-design-doc/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pr-design-doc", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
pr-design-docFor a non-trivial pull request, write a self-contained HTML design doc under the temporary .pr/ directory and link a visibility-appropriate preview in the PR description, so maintainers grasp the…
PR Design Doc is an agent skill from OpenHands/OpenHands. For a non-trivial pull request, write a self-contained HTML design doc under the temporary .pr/ directory and link a visibility-appropriate preview in the PR description, so maintainers grasp the proposal at a glance - code/API design, and the before/after of the change, grounded to real code. Use when opening or updating a non-trivial PR, or when the user says "add a design doc", "document this PR for reviewers", "show the before/after", "make the design reviewable", or "write the .pr/ page".
Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/html-craft.md`).
It sits in Development, covering Architecture decision records and Pull requests. It works with OpenAI. The repository describes itself as: 🙌 OpenHands: AI-Driven Development. The licence is MIT.
7 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 7ea83ba. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitghFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
htmlpreview.github.ioFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
PR Design Doc loads about 2.4k tokens when it runs, and up to ~7.4k if it reads all its reference files. Until then it costs about 129 tokens; SKILL.md has 1,206 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from OpenHands/OpenHands at commit 7ea83ba, republished under its MIT licence (© OpenHands). 1,206 words, ~2,404 tokens.
.claude/skills/pr-design-doc/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.A diff shows what changed line by line. It does not show the design: the shape of the change, the API before and after, and why this approach. Reviewers reconstruct that by hand, slowly. The scarce resource is the maintainer's attention and trust budget - not the agent's effort. Spend extra effort to hand them one self-contained HTML page that conveys the big picture and the before → after core difference, with every claim clickable back to the real code, then link it from the PR description.
This is the same craft as a "show me this change" explainer, aimed at one job: making a non-trivial PR easy to review.
.pr/ workflowUse the temporary .pr/ directory for PR-only artifacts. Before relying on automatic
cleanup, verify that the target repository has an enabled
.github/workflows/pr-artifacts.yml workflow that removes .pr/ after approval.
.pr/ after
approval..pr/ manually before
merge.The design doc is a temporary review aid and must not ship in the merged tree. Automated approval can trigger cleanup before human review. Keep the essential design summary in the PR description: intent, important before/after behavior or API shape, compatibility, risk, and code references. Use commit-pinned document links so cleanup does not break access.
Check out and verify the PR head. Do not write or commit the design doc from the base branch or an unrelated checkout. Start with a clean worktree, then inspect and check out the PR:
gh pr view <n> --json title,body,url,baseRefName,baseRefOid,headRefName,headRefOid,headRepository,headRepositoryOwner,isCrossRepository,files,additions,deletions
gh pr checkout <n>
git rev-parse HEAD
gh pr view <n> --json headRefOid --jq .headRefOidThe final two SHAs must match before you continue. If they do not, stop and fix the
checkout. Compute the merge-base SHA with
git merge-base <baseRefOid> <headRefOid>. Group changed files by area and keep both the
merge-base SHA and head SHA for source links.
Read both sides of each logical file. Compare
git show <merge-base-sha>:<path> with the verified head. Capture the
function-level behavioral difference - what the code did vs does now.
Classify each file. Logic change (behavior moved) → draw before/after. Mechanical
change (rename, constant, config, import move) → a one-line before → after row, no
diagram. Don't dilute the signal by drawing mechanical edits.
If the change is an API change, lead with the API. Show the signature/schema/type before and after side by side (function signature, endpoint + payload, config field, event shape). Name the compatibility impact plainly: additive, breaking, or behind a flag.
Find the cross-file story. If one call chain threads several files, draw a single overview before/after at the top; per-file cards drill in.
Build the page per references/html-craft.md - one
self-contained, offline, editorial HTML file with hand-drawn SVG figures. Save it to
the repo's .pr/ directory, e.g. .pr/design.html (or .pr/<topic>.html). Before
writing, reject a symlink at .pr or at the exact output path; never follow a
branch-controlled symlink outside the worktree.
test ! -L .pr && test ! -L .pr/design.html
mkdir -p .prCommit under .pr/, push to the verified PR head, and link it. Confirm that the push
remote resolves to headRepository.nameWithOwner; never push the artifact to the base
repository's default branch.
git add .pr/design.html
git commit -m "docs(.pr): design doc for <PR topic>"
git push <head-repo-remote> HEAD:<headRefName>
git rev-parse HEADUse the resulting full SHA as <doc-commit-sha> in document links. Refresh the document
and its link when substantive changes affect the design; a cleanup-only commit does not
need a new link. Query the base repository's visibility before choosing the link:
gh repo view <base-owner>/<base-repo> --json visibility,url📄 Design doc: https://htmlpreview.github.io/?https://github.com/<fork-owner>/<repo>/blob/<doc-commit-sha>/.pr/design.html★ callout, with the most important changed path:line nearby. Stats (N files · +A / −D) are context, not the lead. If there's a cross-file flow, the overview
before/after SVG goes here.file:line
(changed nodes in orange), and the diff in a collapsed <details>. Mechanical files get a
small before → after table, no diagram.path:line, and links to the correct source revision where possible: the
merge-base SHA for before-state evidence and the verified head SHA for after-state
evidence. One click from "this changed" to the exact code..pr/ only, and temporary. The doc is a review aid, not project docs. Keep it in
.pr/ and ensure it is removed before merge. Rely on automatic cleanup only when the
repository's workflow has been verified; otherwise remove it manually. Do not move design
HTML into docs/ or ship it in the merged tree..pr/ (e.g. docs/), where it would merge into main.© OpenHands, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file (references) in .agents/skills/pr-design-doc of OpenHands/OpenHands.
Open the folder on GitHubat commit 7ea83ba
PR Design Doc next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| PR Design Doc this skillOpenHands/OpenHands | 90k | — | ~2.4k | Automated safety check: Pass | MIT | |
| Open Code Review CLIalibaba/open-code-review | 44k | — | ~3.1k | Automated safety check: Pass | Apache-2.0 | |
| Deep Reviewdyad-sh/dyad | 22k | — | ~1.4k | Automated safety check: Pass | Custom licence | |
| Close Task Commit Push PRdevoxx/DevoxxGenieIDEAPlugin | 684 | — | ~1k | Automated safety check: Notes | MIT | |
| Git Commit Push PRdevoxx/DevoxxGenieIDEAPlugin | 684 | — | ~698 | Automated safety check: Notes | MIT | |
| Community Triageroryeckel/wyoming_openai | 218 | — | ~2.9k | Automated safety check: Pass | Apache-2.0 |
alibaba/open-code-review
Runs the ocr command-line tool to review Git changes, a commit or a branch comparison with an AI model, returning line-level comments and optionally applying fixes.
dyad-sh/dyad
Deep multi-agent code review run locally — a fleet of parallel finder agents reviews the diff from independent angles, then adversarial verifier agents reproduce each finding before it is reported.
devoxx/DevoxxGenieIDEAPlugin
Close the active backlog task (detected from branch name), commit all changes, push to remote, and open a pull request.
devoxx/DevoxxGenieIDEAPlugin
Commit all changes, push to remote, and open a pull request in one go.
roryeckel/wyoming_openai
GitHub issues, pull requests, bug reports, scope questions, and support threads.
static-web-server/static-web-server
Author or edit any prose for the Static Web Server (SWS) project — documentation, design docs, READMEs, PR descriptions, issue bodies, commit message bodies, or other human-readable text — following…
OpenHands/OpenHands
This skill should be used to "verify OpenHands features", "test the Canvas UI like a user", "drive Agent Canvas", "check a UI change in the real app", "create or update the feature map", "run the…
OpenHands/OpenHands
This skill should be used when the user asks to "change the desktop app", "package Electron", "build a universal macOS app", "bundle Node or uv", "fix Electron startup", or changes electron/…
OpenHands/OpenHands
This skill should be used when the user asks to "add an E2E test", "run live E2E", "run mock-LLM tests", "debug Playwright CI", "test the Docker image", or changes tests/e2e, Playwright configs, E2E…
OpenHands/OpenHands
This skill should be used when the user asks to "add an API call", "change a backend", "update settings persistence", "change conversation events", "fix backend auth", "add Agent Server support", or…
OpenHands/OpenHands
This skill should be used when the user asks to "add UI copy", "add a translation", "optimize the frontend bundle", "change onboarding", "change conversation UI", "add a query key", "change MSW…
OpenHands/OpenHands
This skill should be used when the user asks to "change the dev stack", "add a runtime service", "change the launcher", "update Docker", "bump Agent Server", "change ingress routing", or changes…
Works with
Categories
For a non-trivial pull request, write a self-contained HTML design doc under the temporary .pr/ directory and link a visibility-appropriate preview in the PR description, so maintainers grasp the…. PR Design Doc is an agent skill from OpenHands/OpenHands.pr/ directory and link a visibility-appropriate preview in the PR description, so maintainers grasp the proposal at a glance - code/API design, and the before/after of the change, grounded to real code.
PR Design Doc fits situations like: updating a non-trivial PR; the user says add a design doc; document this PR for reviewers; show the before/after.
Run `npx skills add OpenHands/OpenHands --skill pr-design-doc -a claude-code`. Or copy the skill folder (.agents/skills/pr-design-doc in OpenHands/OpenHands) into .claude/skills/pr-design-doc in your project. Claude Code loads it when a task matches its description.
Run `npx skills add OpenHands/OpenHands --skill pr-design-doc -a codex`. Or copy the skill folder (.agents/skills/pr-design-doc in OpenHands/OpenHands) into .agents/skills/pr-design-doc in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add OpenHands/OpenHands --skill pr-design-doc -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pr-design-doc, .gemini/skills/pr-design-doc, .github/skills/pr-design-doc and .opencode/skills/pr-design-doc in your project.
Going by SKILL.md and its folder, PR Design Doc needs the command-line tools its instructions call (git and gh).
SKILL.md names 1 domain. As links in the text: htmlpreview.github.io. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
PR Design Doc is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.4k tokens (SKILL.md is roughly 9.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with PR Design Doc: Open Code Review CLI (alibaba/open-code-review, 44k stars), Deep Review (dyad-sh/dyad, 22k stars), Close Task Commit Push PR (devoxx/DevoxxGenieIDEAPlugin, 684 stars) and Git Commit Push PR (devoxx/DevoxxGenieIDEAPlugin, 684 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
OpenHands (a GitHub organization) maintains it in OpenHands/OpenHands, which has 90,141 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 7, 2026.
Source: OpenHands/OpenHands on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.