Review AI-written code
before you push.
AI-written code tends to repeat itself, leave dead code behind and skip tests. AI Code Checker reviews your branch for duplicate and dead code, bugs, security issues and missing tests, returns PASS or NEEDS_CHANGES — and an opt-in fixer agent applies only the fixes you approve.
Catch it on your machine, not in review
AI assistants write a lot of code quickly — and some of it repeats logic that already exists, leaves unused imports behind, or skips the test. AI Code Checker checks the code before it leaves your machine, and because it installs once into your Claude Code setup, it works in every project.
Seven checks, one report
Each finding is filed as BLOCKING, WARNING or NOTE, with the file and line.
Duplicate Logic
Duplicate and near-duplicate code, with the existing function you could reuse instead.
Dead Code
Unused imports, variables and functions, and commented-out code left behind.
Bugs & Edge Cases
Logic errors and the edge cases the change doesn't handle.
Security
Hardcoded secrets, injection, missing auth checks and unvalidated input.
Performance
N+1 queries, unbounded queries and calls repeated in a loop.
Naming & Conventions
Names and patterns that don't match how the rest of the project is written.
Missing Tests
Changed code with no test — and it says when it did not run your tests.
The Real Diff
Fetches first and compares to origin/<base>, not a stale local main, and reports what's unpushed.
NEEDS_CHANGES.From install to a clean push
It works in the Claude Code CLI, the IDE extensions and the Code tab of the Claude desktop app.
Install once
As a plugin, with the install script, or by hand — then restart Claude Code.
Review
Run /ai-code-checker on the branch, a file or a folder.
Or before a push
Before a push, merge or deploy, Claude asks once whether to run it.
Approve fixes
Hand the report to the fixer agent and name the items to fix.
Push
On NEEDS_CHANGES it does not push until you say so.
What a review looks like
The sample file in the repo is deliberately bad: a duplicate function, an unused import, SQL injection, a fake hardcoded key and no tests.
Three ways to install
Restart Claude Code after installing. It needs git on your PATH.
1. As a Claude Code plugin
Add the marketplace and install. Components are namespaced, e.g. /ai-code-checker:ai-code-checker.
/plugin marketplace add technestra/ai-code-checker /plugin install ai-code-checker@ai-code-checker
2. With the install script
Copies the skill to ~/.claude/skills/ and the agents to ~/.claude/agents/. It won't overwrite an existing install unless forced.
git clone https://github.com/technestra/ai-code-checker.git cd ai-code-checker ./install.sh # macOS / Linux .\install.ps1 # Windows
3. By hand
Copy the skill folder and the two agent files into your Claude Code setup, then restart Claude Code.
skills/ai-code-checker/ → ~/.claude/skills/ agents/*.md → ~/.claude/agents/
A review aid, not a security audit
Read-Only Review
The review only reads, because its instructions say so. For a hard gate on git push, add a PreToolUse hook.
Never Commits or Pushes
The fixer changes only the items you approve and leaves committing and pushing to you.
Says What It Skipped
Anything it could not check — tests it didn't run, tools that aren't installed — is listed under Not checked.
Common Questions
Push code you've
actually reviewed.
Install it from GitHub in a minute, or talk to us about code-quality gates for your team.
