Skip to content

AburiSee what a pull request did

It reads a change the way a senior reviewer does, then writes the result as Markdown your CI can gate on.

AburiAburi
git diffsrc/app/api/orders/route.ts
export async function POST(req: Request) {  const session = await auth()-   if (session.user.role !== 'admin') {-     return forbidden()-   }  const body = await req.json()-   const order = await prisma.order.create(body)+   const order = await prisma.order.create({+     data: { ...body, source: 'api' },+   })+   await prisma.auditLog.create({ data: { action: 'order.create' } })  return Response.json(order)

1,997 more lines across 34 files

aburi diff main..HEADout/diff.md
Summary: +2 added · -1 removed · ~3 changed⚠ API changessubmitOrder  (function)  actions.ts:18  signature.throws added: PaymentDeclined🔧 Logic changesPOST  (function)  route.ts:9  rules removed:    guard: session.user.role !== 'admin'  effects added:    db.write: prisma.auditLog.create

Ready to paste into a pull request

Both panes describe the same commit. The guard somebody deleted sits three lines into two thousand on the left, and carries its own heading on the right.

Released under the Apache License 2.0.