AITraining2U

Programs

Resources

Case Studies

Quick Links

Enquire Now
Check before you ship

AI code review: let AI check first, and a person decide

Tools, prices, prompts and the checks AI cannot do for you.

By AITraining2U Editorial Team 2026-12-03 6 min read
Jan14–15

Next public cohort

14–15 Jan 2027 · Thu–Fri

Worq TTDI

Limited seats · see all dates

Program code on a laptop screen

Let AI read the code first, let tests check that it works, and let a person decide. AI review can spot common mistakes early. It cannot know everything about your business, and a clean review does not prove the code is safe.

The safe order

Six checks before code goes live

  1. 1
    Make the change small
    One purpose at a time. Small changes are easier to check.
  2. 2
    Run the automatic checks
    Tests, code style, secrets and weak packages.
  3. 3
    Ask AI to review
    Give it the goal and the risks, not just the code.
  4. 4
    Check each finding
    Ask for the exact line and a case that fails.
  5. 5
    A person reviews
    Someone who understands the code and the business.
  6. 6
    Watch after launch
    Keep a quick way to undo it.

Tools compared

ToolWhere it worksCostGood to know
Claude Code /code-reviewOn your computerCounts as normal plan useIt only reports unless you add an option to fix or comment
Claude Code Review for GitHubPull requestsUsage credits, no flat price; Team and EnterpriseIt reads code but does not run it
GitHub Copilot reviewGitHubNot in the Free plan. GitHub estimates averages from US$0.25 to US$10 a review, plus Actions timeBy default it does not count as a required approval
OpenAI Codex reviewGitHubCheck your ChatGPT planOn GitHub it flags only the two most serious levels
CodeRabbitPull requestsUS$24 to US$72 a user a month, paid yearly; free for public projectsA separate company

From official pages, 3 December 2026. A pull request is a proposed change waiting to be accepted.

Three kinds of check
1
Small change
One purpose.
Person decides
2
Tests and scans
Does it work? Any secrets?
System
3
AI review
Points out likely problems.
AI drafts
4
Person
Decides.
Person decides
5
Release
Easy to undo.
System
No single check is enough.

What the research says

  • Veracode, October 2026: code made by 18 AI models passed its security tests 62% of the time on average. The best model scored 73%. This tested code writing, not review tools, and Veracode sells security software.
  • DORA, March 2026: time saved writing code can be lost checking it. DORA calls this a verification tax and advises small batches. In its 2025 survey, 30% of developers had little or no trust in AI code.
  • OWASP: read and understand all the code you submit, and avoid vibe coding for complex or critical programs.

We found no independent test that ranks how accurate these review tools are. Test them on your own past bugs.

What AI can help find, and what people must decide

AI can help findA person must decide
Missing checks on user inputIs this what the customer needs?
Errors that are not handledWho should be allowed to do this?
Repeated or confusing codeIs the discount or tax rule right?
Missing testsCan we accept this risk?
Risky database queriesWhat happens to personal data?
Names that do not matchIs this the right design at all?

Copy these review requests

Review a changeClaude, ChatGPT or Copilot
Review this code change.
Goal: [WHAT IT SHOULD DO]
Users and roles: [WHO MAY DO WHAT]
Sensitive data: [LIST]
Must never happen: [LIST]

Report only real problems. For each: file and line, what breaks, the exact input that breaks it, how serious (high, medium, low), and the smallest fix. Then list what you could not check. Do not change any code.
Security checkClaude, ChatGPT or Copilot
Check this change for: login and permission gaps, one customer seeing another's data, secrets in code or logs, unsafe file uploads, injection, missing rate limits, and unsafe instructions reaching an AI model. Trace data from the user's input to where it is stored or shown. Say 'not found' for each item you checked and 'not checked' for anything you could not see.
Explain it to a beginnerAny AI assistant
Explain this change in plain words to someone who did not write it. What did it do before, what does it do now, which three things could go wrong, and how can I test each one by hand? End with five questions I should be able to answer before I approve it.

A one-page review rule for your team

Team ruleCopy and edit
1. The author can explain every line, including lines AI wrote.
2. Tests and secret scanning pass first.
3. AI review is advice. It never approves by itself.
4. One person approves normal changes.
5. Two people approve login, payments, personal data and deleting data.
6. Findings are fixed, or closed with a reason.
7. No customer data or keys go into an AI tool that is not approved.
8. Every release can be undone.

If you built the app without knowing how to code

Do not put it in front of customers yet if it handles payments, logins or personal data. Ask a developer to check three things first: who can see which records, where the keys are kept and what happens when something fails. Start with our guide to leaked keys.

Test a tool in one week

  1. Pick ten old changes: five with known bugs and five clean.
  2. Run each tool on the code as it was before the fix.
  3. Count real bugs found, false alarms and minutes spent.
  4. Keep the tool only if it finds bugs worth the time it takes.

Tip: if you get 20 comments and one is useful, people will stop reading. Ask for serious problems only.

Common mistakes

  • Letting the same chat write the code and judge it. Start a fresh one for the review.
  • Accepting a fix without running it.
  • Reviewing 3,000 lines at once.
  • Treating “no problems found” as proof.
HRDC-claimable · 2 days · hands-on
Claude and multi-agent course

Use Claude to plan, build and check real work over two days.

Next public class: 14–15 January 2027 at Worq TTDI · seats available

Building apps? See our AI vibe coding course.

HRD Corp claimable. AITraining2U is an HRD Corp registered training provider. Our public and in-house courses are claimable under the HRD Corp Claimable Courses (SBL-KHAS) scheme, and we prepare the grant paperwork with you. See HRDC-claimable AI training: courses, costs and how to claim.

Sources & Further Reading

Facts checked on 3 December 2026. Prices, features and rules change often — confirm with the official source before you act.

Frequently Asked Questions

It can find problems, but it should not be the only check. Use tests, security scans and a person who understands the change.

We found no independent ranking of accuracy. Test two tools on ten of your own past changes and count real bugs, false alarms and time.

Not always. Veracode's October 2026 test found AI code passed its security checks 62% of the time on average.

Yes, to learn and to prepare questions. Ask a developer to check anything with payments, logins or personal data before launch.

No. GitHub's own documentation says to add a human review to Copilot's feedback.

Build and check with AI

Learn safe ways to use Claude on real work.