open-code-review
为 Codex 环境定制,便于在插件子树中部署 OCR 能力。
同样需安装 ocr CLI,并可能调用外部模型或网络。
Codex 插件版本的 open-code-review,镜像主技能指令集。
用 alibaba/open-code-review 的 ocr CLI 对 Git 改动做 AI 驱动的逐行代码审查,能审 PR、commit、暂存或未暂存的改动并比较分支。会输出行级评论,必要时还能按请求自动应用修复,能发现 bug、安全漏洞、性能和代码质量问题。适合想把自动化检测融入日常代码审查流程、提高覆盖面的团队使用。
▸ 展开 SKILL.md 英文原文
Performs AI-powered code review on Git changes using the `ocr` CLI from alibaba/open-code-review. Use when the user asks to review code, review a pull request, review staged/unstaged changes, review a commit, or compare branches for code quality issues. Produces line-level review comments and can automatically apply fixes when requested. With appropriate review rules, can detect various types of issues including bugs, security vulnerabilities, performance problems, and code quality concerns.
帮我安装这个 skill:https://raw.githubusercontent.com/alibaba/open-code-review/main/plugins/open-code-review/skills/open-code-review/SKILL.mdcurl -fsSL "https://raw.githubusercontent.com/alibaba/open-code-review/main/plugins/open-code-review/skills/open-code-review/SKILL.md"# Open Code Review This Codex plugin skill intentionally mirrors the canonical skill at `skills/open-code-review/SKILL.md`. Keep both files synchronized when updating OCR agent instructions; a symlink is avoided because plugin installs may only materialize the plugin subtree. A skill for invoking [open-code-review](https://github.com/alibaba/open-code-review) (`ocr`) — an open-source AI code review CLI that reads Git diffs and generates structured, line-level review comments. ## Prerequisites check Before starting a review, verify the environment: ```bash # 1. Check the CLI is installed which ocr || echo "NOT INSTALLED" # 2. Verify LLM connectivity ocr llm test ``` If `ocr` is not ins