← 返回
开发者工具 中文

Open Code Review

Scan AI-generated code for hallucinated packages, stale APIs, security anti-patterns, and over-engineering. Use when: (1) reviewing PRs with AI-generated cod...
扫描AI生成代码中的幻觉包、陈旧API、安全反模式及过度工程化。使用场景:(1) 审查包含AI生成代码的PR...
raye-deng
开发者工具 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 782
下载
💾 10
安装
1
版本
#ai#code-review#latest#mcp

概述

Open Code Review — AI Code Quality Scanner

Scan codebases for AI-specific defects that traditional linters (ESLint, SonarQube, Checkstyle) cannot detect.

What It Detects

CategoryExampleSeverity
-----------------------------
Hallucinated packagesimport { parseJson } from 'fast-json-utils' (package doesn't exist on npm)🔴 Critical
Stale APIsresponse.json().then() with v2 API that was removed in v4🟡 Warning
Context breaksTwo files reference the same function name with different signatures🟡 Warning
Security anti-patternsHardcoded secrets, deprecated crypto, insecure defaults🔴 Critical
Over-engineeringUnnecessary abstraction layers, dead code, excessive indirection🔵 Info

Quick Start

# Install
npx @opencodereview/cli scan ./src --sla L1

# With AI-powered deep scan (requires Ollama or API key)
npx @opencodereview/cli scan ./src --sla L2

# Diff mode for CI/CD
npx @opencodereview/cli scan ./src --diff --base origin/main --head HEAD

# SARIF output for GitHub Actions
npx @opencodereview/cli scan ./src --format sarif --output results.sarif

Three Scan Levels

  • L1 — Structural analysis (AST, ~3 seconds, no AI needed)
  • L2 — L1 + Embedding recall (detects hallucinated packages via vector similarity)
  • L3 — L2 + LLM deep scan (understands context, semantics, business logic)

GitHub Action

- uses: raye-deng/open-code-review@v1
  with:
    scan-path: src/
    sla-level: L1
    diff-mode: true

MCP Server

Available on Smithery, Cursor Directory, and npm:

{
  "mcpServers": {
    "open-code-review": {
      "url": "https://open-code-review-mcp.v2ray-seins.workers.dev/mcp"
    }
  }
}

Or via stdio:

{
  "mcpServers": {
    "open-code-review": {
      "command": "npx",
      "args": ["-y", "@opencodereview/mcp-server"]
    }
  }
}

Supported Languages

TypeScript, JavaScript, Python, Java, Go, Kotlin

When to Use This Skill

  • A PR contains AI-generated code (Copilot, Cursor, Claude, GPT)
  • You want to catch defects that pass all unit tests but will fail in production
  • Pre-merge quality gate for AI-assisted development workflows
  • Scanning third-party AI-generated code before integration

When NOT to Use

  • Basic linting (use ESLint, Ruff, Checkstyle instead)
  • Code formatting (use Prettier, gofmt)
  • General code review guidance (use the built-in code-review skill)

Links

  • GitHub: https://github.com/raye-deng/open-code-review
  • Portal: https://codes.evallab.ai
  • npm CLI: @opencodereview/cli
  • npm MCP: @opencodereview/mcp-server
  • License: BSL 1.1 (free for individuals, commercial subscription for teams)

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-20 07:07 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,927
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,534
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,474