imranbru99

Code Review Agent — Data skill for Claude Code

Data community

Local-first AI code review agent for GitHub pull requests, GitLab merge requests, and CI.

How to install Code Review Agent

This entry records only its repository, not the path inside it, so there is no exact command to give. Open imranbru99/code-review-agent and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Code Review Agent does

Local-first AI code review agent for GitHub pull requests, GitLab merge requests, and CI. Deterministic static analysis flags SQL injection, XSS, hardcoded secrets, command injection, and N+1 queries on the exact line, plus a suggested code fix. Optional LLM review via OpenAI, Claude, Gemini, or local Ollama. Use the CLI, library, or GitHub Action

Alternatives in Data

  • LLM Redteam — LLM red-team corpus runner — fires categorized prompt-injection / jailbreak / system-prompt-leak / data-exfil 4.5k ★
  • Vibesec — Helps write secure code by preventing common vulnerabilities including IDOR, XSS, SQL injection, SSRF, and wea 687 ★
  • Core Data Agent Skill — An Agent Skill focused on Apple’s Core Data framework, helping with data modeling, fetch requests, performance 301 ★

README

code-review-agent

Local-first code review for pull requests, working trees, and your own tools. A deterministic rule engine writes line-level findings in milliseconds. An LLM agent adds semantic comments only when you turn it on.

Every finding has a file, a line, a severity, an explanation, and a suggested fix when the rule knows one. The same result renders in the terminal, as JSON, as Markdown, as GitHub review comments, or as a GitLab Code Quality report.

Terminal review of account.ts showing critical secrets, SQL injection, and command injection, with a suggested fix on each finding

The picture is a real review of `examples/vulnerable/account.ts`. Seventeen findings, fifteen milliseconds, deterministic. Nothing in that run was sent to a model.

What you can do with it

You want to… How
Review the current git diff npx code-review-agent inside a checkout
Review staged changes only --staged
Review everything since a base branch --diff --base origin/main
Review a directory or a list of files Pass the paths
Review a diff you already have Pipe it to --stdin
Review a GitHub pull request --pr 128 --repo owner/name
Fail CI on serious findings Default failOn is high
Post comments on the changed lines --post
Label the pull request from the findings --labels
Keep source on your machine Leave the LLM off. This is the default
Add a semantic pass --llm with OpenAI, Anthropic, Gemini, Ollama, or LM Studio
Enforce a house rule YAML customRules, or a JavaScript plugin
Put the review inside your own service import { review } from "code-review-agent"
Feed GitLab --format gitlab and --post --platform gitlab
Teach or demo the rules examples/vulnerable across six languages

Built-in coverage today: Python, JavaScript, TypeScript, Go, Rust, Java, and PHP. Secrets