open-code-review-delegatelisted
Install: claude install-skill JZKK720/cubecloud-skills-bundle-kit
# Open Code Review — Delegation Mode
A skill for performing AI code review where OCR provides deterministic engineering (file filtering, rule resolution) and the host agent performs the actual review using its own intelligence and tools.
## Prerequisites
- `ocr` CLI installed: `npm install -g @alibaba-group/open-code-review`
- No LLM configuration needed on the OCR side — the host agent drives the review
## Workflow
### Step 1: Preview — Determine What to Review
```bash
ocr delegate preview
```
This lists the files that would be reviewed along with stats (file count, changed lines) — no LLM calls, no cost. Useful for checking scope before a full review.
### Step 2: Get Rules for Files
```bash
ocr delegate rule <file1> <file2> ...
```
Returns the review rules that apply to each file. These are deterministic rule groups matched by file path patterns — use them as the review checklist.
### Step 3: Get Diffs
Use `git diff` or the appropriate git command to get the actual changes for each file identified in Step 1.
### Step 4: Review Each File
For each reviewable file:
1. Get its diff (Step 3)
2. Consult its Rule Group (from Step 2) for the review checklist
3. Conduct a thorough review, using appropriate context tools as needed
### Step 5: Format Output
Each comment must follow this structure:
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| path | string | yes | Relative file path |
| content | string | yes | Review comment d