Dev Tool · NPM2025

TheInspectAI

NPM package for automated Flutter / iOS / Android AI code review, wired through GitHub webhooks, n8n, and AWS Lambda.

Role
Author — package, Lambda pipeline, prompts
Timeline
2025 · Weekend project → NPM
Stack
Node.jsAWS LambdaOpenAIn8n
01

Screens & Architecture

Inline PR review
Screen 01 · Inline PR review
Lambda pipeline
Screen 02 · Lambda pipeline
02

The Problem

Smaller teams don't have senior reviewers on every PR. Style drift and obvious mistakes were shipping to main.

03

How I built it

  • GitHub App fires on PR events and streams the diff to a Lambda.
  • Lambda calls OpenAI with a mobile-specific rubric (state management, widget rebuilds, null-safety).
  • Review comments come back inline on the PR with file + line anchors.
04

Outcome

  • Published to NPM and used on internal repos to catch idiomatic Flutter mistakes early.
  • Reduced back-and-forth on trivial PR comments so seniors focus on architecture.