DEV Community

sun
sun

Posted on

I Built an AI Code Reviewer That Reads Your Entire Codebase, Not Just Diffs

Most code review tools only look at diffs. That's like reading the last chapter of a book and trying to write a review.

I built ReviewPilot — an AI code reviewer that reads your full source files, traces imports, and understands your codebase structure before reviewing.

What it does

When you open a PR (GitHub) or MR (GitLab), ReviewPilot automatically:

  • Reads the full files being changed, not just the diff
  • Traces imports to understand dependencies
  • Posts inline comments with severity badges (Critical, High, Medium, Low)
  • Catches bugs, security issues, and architecture problems

Two review modes

Dev Mode — Fast, automated review on every PR. Catches bugs, security holes, and style issues in seconds.

Leader Mode — Deep architecture analysis with risk scoring, mentor feedback, and approve/request-changes decisions. Like having a senior engineer review every PR.

How it works

For GitHub: Install the GitHub App → done. Reviews happen automatically.

For GitLab: Add a webhook + access token → done. Works with gitlab.com and self-hosted.

Drop a .reviewpilot.yml in your repo to customize:


yaml
mode: dev
ignore:
  - "**/*.test.ts"
  - "dist/**"
rules:
  min_severity: medium
  focus:
    - security
    - performance

Free tier
- 3 developers
- 4 reviews per developer/month
- Unlimited repositories
- No credit card required
Tech stack
- API: Hono + Node.js + BullMQ
- Dashboard: Next.js
- DB: PostgreSQL + Drizzle ORM
- AI: Claude for code analysis
- Deploy: Docker + Vercel
Try it: [reviewpilot-dashboard.vercel.app](https://reviewpilot-dashboard.vercel.app/)
Enter fullscreen mode Exit fullscreen mode

Top comments (0)