IonWarp logoIonWarp
Code agent

Code Review

Details

Runs on every pull request, on GitHub

Agent Prompt

The one general code-review pass on every PR: a fast pattern sweep for the grep-shaped defects (injection, swallowed errors, unsafe types, blocking calls, missing guards) plus the deep pass — cross-file reasoning, exploit paths, and blast radius — tracing every changed function across its real scenarios (lifecycle, async state, presence, ordering, units). Posts structured findings with severity levels and AI fix prompts.

Ask for it
  • Review PR {number}
Sample Output

What a Code Review report looks like.

IonWarpbotcommented 2 min ago

IonWarp Review — PR #310

3 issues| 2 P1 1 P2
#SevIssueFile
1N+1 query in user listing endpointapi/users.ts
2Unused import left after refactorutils/auth.ts
3Consider extracting shared validationforms/signup.tsx
api/users.ts
42434445
+++
const users = await db.users.findMany();const users = await db.users.findMany({  include: { teams: true },});

N+1 query in user listing · Code Review

The listing fetches users then loops to load teams individually. Use include to fetch in one query.

Suggested fixAI fix prompt