Open Code Review banner
alibaba alibaba

Open Code Review

Code Quality community

Description

# /open-code-review Invoke the professional code review Agent CLI tool OpenCodeReview (OCR) to review current code changes, and let the Agent autonomously decide whether to apply fixes. ## Workflow ### Step 1: Run Code Review Run the OCR command: ```bash ocr review --audience agent [user-args] ``` - Default (no user arguments): reviews staged, unstaged, and untracked changes (workspace mode). - If the user provides `--commit` or `--c`: pass through as-is. - If the user provides `--from` and

Installation

Installs to ~/.claude/commands/alibaba-open-code-review-open-code-review.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/alibaba/open-code-review/HEAD/.claude/commands/open-code-review.md -o ~/.claude/commands/alibaba-open-code-review-open-code-review.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository