Skills for Real Engineers. Straight from my .agents directory.
open-code-review-delegate
Agent skill fromalibaba/open-code-review
Delegation mode for open-code-review (OCR). Instead of OCR calling an LLM endpoint, this skill instructs the host agent to perform the code review itself, using OCR only for deterministic engineering: file selection and rule resolution. Use when the host agent should drive the review with its own LLM capabilities.
How to install open-code-review-delegate
npx skills add alibaba/open-code-review# or add only this skill to Claude Code: copy the folder
skills/open-code-review-delegate/
# into
~/.claude/skills/open-code-review-delegate/ (all projects)
.claude/skills/open-code-review-delegate/ (one project)
1# Open Code Review — Delegation Mode23A 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.45## Workflow67### Step 1: Preview — Determine What to Review89```bash10ocr delegate preview --format json [--from <ref> --to <ref>] [--commit <hash>] [--exclude <patterns>]11```1213This outputs:14- **mode** (workspace / range / commit)15- **from / to / commit / merge_base** — ref metadata for constructing git commands16- **Reviewable file list** — paths, status, insertions/deletions17- **Excluded files** — with exclusion reason1819**Common invocations:**2021| Scenario | Command |22|----------|---------|23| Workspace changes | `ocr delegate preview` |24| Branch comparison | `ocr delegate preview --from main --to feature` |25| Single commit | `ocr delegate preview -c abc123` |2627### Step 2: Get Rules for Files2829```bash30ocr delegate rule --format json <path1> <path2> ...31```3233Pass the reviewable file paths from Step 1. Output is grouped by rule content — files sharing the same rule appear under one group, avoiding repetition.3435### Step 3: Get Diffs3637Choose the diff command using the mode and refs from Step 1. Use `git --no-pager` for every Git call during the review.3839The diff commands disable external diff programs, text conversion, and color to produce plain patches.4041**Range mode** (merge_base provided in preview output):42```bash43…
Excerpt shown under the repository's Apache-2.0 license.
More skills in open-code-review
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
