open-code-review-delegate
仓库创建 2026年5月18日最近提交 9 小时前SkillHot 收录 6 小时前
▸ 精选理由
把确定性工程与主机智能分离,便于在不同代理上复用审查流程。
▸ 风险提示
依赖 ocr 工具和主机环境,需安装相关 CLI 并可能联网。
这个 Skill 做什么
委托模式下由主机代理执行代码审查,OCR 负责文件筛选与规则解析。
把代码审查的执行权放给主机代理,让它用自带模型和工具做真正的 review,OCR 只做确定性的工程工作:筛文件和按规则判定检查点。适合希望本地 agent 主导审查、减少远端 LLM 调用或想保留可控性的场景。好处是把重复性、可预见的工作交给 OCR,留给主机做有判断的分析。
▸ 展开 SKILL.md 英文原文
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.
1.4w
Stars
951
Forks
4
仓库内 Skill
+4.1k
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/alibaba/open-code-review/main/skills/open-code-review-delegate/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/alibaba/open-code-review/main/skills/open-code-review-delegate/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# 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 ```bash which ocr || echo "NOT INSTALLED" ``` If `ocr` is not installed: ```bash npm install -g @alibaba-group/open-code-review ``` No LLM configuration is needed for delegation mode. ## Workflow ### Step 1: Preview — Determine What to Review ```bash ocr delegate preview [--from <ref> --to <ref>] [--commit <hash>] [--exclude <patterns>] ``` This outputs: - **mode** (workspace / range / commit) - **from / to / commit / merge_base**
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有