Install
openclaw skills install open-code-reviewScan AI-generated code for hallucinated packages, stale APIs, security anti-patterns, and over-engineering. Use when: (1) reviewing PRs with AI-generated cod...
openclaw skills install open-code-reviewScan codebases for AI-specific defects that traditional linters (ESLint, SonarQube, Checkstyle) cannot detect.
| Category | Example | Severity |
|---|---|---|
| Hallucinated packages | import { parseJson } from 'fast-json-utils' (package doesn't exist on npm) | 🔴 Critical |
| Stale APIs | response.json().then() with v2 API that was removed in v4 | 🟡 Warning |
| Context breaks | Two files reference the same function name with different signatures | 🟡 Warning |
| Security anti-patterns | Hardcoded secrets, deprecated crypto, insecure defaults | 🔴 Critical |
| Over-engineering | Unnecessary abstraction layers, dead code, excessive indirection | 🔵 Info |
# 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
- uses: raye-deng/open-code-review@v1
with:
scan-path: src/
sla-level: L1
diff-mode: true
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"]
}
}
}
TypeScript, JavaScript, Python, Java, Go, Kotlin
@opencodereview/cli@opencodereview/mcp-server