01
It starts by itself
pull request opened. Runs in GitHub Actions or Claude Code routine.
- ↻ pull request opened
pull_request.opened or new commits on a branch
Review every changed file, report coverage.
Install the Open Code Review Delegate skill and make it a habit: follow https://gethabit.dev/skills/alibaba/open-code-review-delegate.md
4K installs48K starsApache-2.0 licenceSource on GitHub ↗

Open Code Review Delegate
by alibaba · 4K installs
The skill
The open code review delegate skill uses the ocr CLI for file selection and review rules while the host agent does the code review itself, file by file, with required coverage reporting.
Only when you ask.
The habit
Review every changed file, report coverage.
↻ Runs by itselfpull request opened
When does it start? How does it check its work? What does it remember?
Stops after one pull request per run, in batches of 20 files.
Your agent runs ocr delegate preview --format json with --from and --to for the branch.
It runs ocr delegate rule --format json on the reviewable paths.
It reads each diff with git --no-pager diff --no-ext-diff --no-textconv --no-color.
It reviews every file against its rule group and marks it reviewed or skipped.
It writes comments with path, content, lines, category and severity.
It groups findings by severity and reports coverage numbers.
It writes only in its own folder and asks you before anything goes out.
Read both lists. If the left one sounds like you, the Open Code Review Delegate skill helps.
No. In delegation mode OCR only selects files and rules; the host agent reviews.
Only when you ask for review and fix; then it applies high and critical fixes.
Copy the prompt at the top into your agent. It installs the skill from alibaba/open-code-review and sets up the habit. Or run npx skills add alibaba/open-code-review --skill open-code-review-delegate.
Yes. It is published under Apache-2.0. Habit is free too.
Install the Open Code Review Delegate skill and make it a habit: follow https://gethabit.dev/skills/alibaba/open-code-review-delegate.md
All alibaba skills →More code skills →
Works in
Made by alibaba, published under Apache-2.0. Habit links to the original and never changes it. Is this your skill?