Install
openclaw skills install autonomous-code-reviewAutomatically review code to detect critical bugs, security flaws, performance issues, and style violations as a first-pass code auditor.
openclaw skills install autonomous-code-reviewCategory: Development
Author: Beta
Version: 1.0.0
Runtime: OpenClaw + Claude/GPT
Automatically review code for bugs, security issues, performance problems, and style violations. Acts as a tireless first-pass reviewer on any codebase.
# Review a file
openclaw code review --file src/auth.py
# Review a diff
openclaw code review --diff "main..feature-branch"
# Full repository audit
openclaw code review --repo ./ --exclude "node_modules,dist"
- name: Code Review
uses: openclaw/code-review-action@v1
with:
api-key: ${{ secrets.OPENCLAW_API_KEY }}
openclaw code review --staged --fail-on critical
{
"file": "src/auth.py",
"issues": [
{
"severity": "critical",
"line": 42,
"rule": "sql-injection",
"message": "User input directly interpolated into SQL query",
"fix": "Use parameterized queries instead"
}
],
"score": 72,
"summary": "1 critical, 2 important, 3 suggestions"
}