AGENT SKILL

alibaba--open-code-review

AI-powered code review CLI từ Alibaba — phân tích git diff, comment chính xác theo dòng, tích hợp GitHub Actions / GitLab CI. Đã review cho hàng chục nghìn developer nội bộ Alibaba.

License 许可
Apache-2.0
最近更新
2026-11-14
Stars
★ 13
Forks
2

01 前言 Front Matter

name
alibaba--open-code-review
description
AI-powered code review CLI từ Alibaba — phân tích git diff, comment chính xác theo dòng, tích hợp GitHub Actions / GitLab CI. Đã review cho hàng chục nghìn developer nội bộ Alibaba.
allowed-tools
Bash, Read, Write
user-invocable
true

03 SKILL.md 正文

Open Code Review (OCR) là CLI review code tự động bằng AI — kết hợp deterministic engineering + agent để tránh các lỗi AI review phổ biến (bỏ sót file, comment sai dòng).

Install

npm install -g open-code-review
# Hoặc tải binary từ GitHub Releases

Config

// ~/.opencodereview/config.json
{
  "llm": {
    "provider": "anthropic",
    "apiKey": "...",
    "model": "claude-sonnet-4-6"
  }
}
ocr llm test   # kiểm tra kết nối

Usage

# Review từ HEAD~1 đến HEAD
ocr review

# Review từ branch cụ thể
ocr review --from main --to feature/my-branch

# Review 1 commit
ocr review --commit abc123

# Output JSON cho CI/CD parse
ocr review --output json

CI/CD Integration

# GitHub Actions
- name: AI Code Review
  run: |
    npm install -g open-code-review
    ocr review --from ${{ github.event.pull_request.base.sha }} \
               --to ${{ github.sha }} \
               --output json > review.json

Architecture

  • Deterministic file selection — đảm bảo cover toàn bộ changeset, không bỏ sót
  • Smart bundling — gom file liên quan thành nhóm cho sub-agent review contextual
  • Fine-grained rule matching — rule template per file type (TypeScript, Python, Go...)
  • External positioning module — sửa vị trí comment độc lập với LLM output
  • Parallelism mặc định 8 processes — có thể tune

Web Viewer

ocr viewer   # localhost:5483 — UI xem kết quả review

Source

https://github.com/alibaba/open-code-review · Apache-2.0

04 同仓库更多 Skills

Horonomos-laps
Horonomos-laps/Yana-AI

openai--sentry--sentry

Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry API; perform read-only queries with the bundled script and require `SENTRY_AUTH_TOKEN`.

★ 13
Horonomos-laps
Horonomos-laps/Yana-AI

ito-basket-compare

Compare Itô prediction-market baskets against a user's knowledge base, portfolio notes, financial context, watchlist, or research thesis. Use for read-only basket comparison and gap analysis without investment advice or live trading.

★ 13
Horonomos-laps
Horonomos-laps/Yana-AI

implementing-network-traffic-baselining

Build network traffic baselines from NetFlow/IPFIX data using Python pandas for statistical analysis, z-score anomaly detection, and hourly/daily traffic pattern profiling

★ 13
Horonomos-laps
Horonomos-laps/Yana-AI

detecting-evasion-techniques-in-endpoint-logs

Detects defense evasion techniques used by adversaries in endpoint logs including log tampering, timestomping, process injection, and security tool disabling. Use when investigating suspicious endpoint behavior, building detection rules for evasion tactics, or conducting threat hunting for stealthy adversary activity. Activates for requests involving evasion detection, defense evasion analysis, log tampering detection, or MITRE ATT&CK TA0005.

★ 13
Horonomos-laps
Horonomos-laps/Yana-AI

implementing-microsegmentation-with-guardicore

Implementing microsegmentation using Akamai Guardicore Segmentation to map application dependencies, create granular network policies, visualize east-west traffic flows, and enforce least-privilege communication between workloads across data centers and cloud.

★ 13
Horonomos-laps
Horonomos-laps/Yana-AI

ramdisk-tmpfs-patterns

暂无简介

★ 13