AI TOOL · DEVELOPER · CASE STUDY

GitHub-connected. AI docs on demand. Repo health at a glance.

BAX connects to your repos, tracks health metrics, and generates documentation whenever you need it — via Claude.

Every developer knows the documentation is out of date. BAX fixes that by connecting directly to GitHub, monitoring what's actually in the codebase, and generating accurate docs on demand — not from templates, from the code itself.

Visit bax.dev → Build something like this
WHAT WE BUILT

Health metrics. AI docs. One dashboard.

Repo Health
5 Signals Across All Connected Repos

Commit velocity, open PR age, stale branch count, test coverage trend, dependency vulnerability count — surfaced as a unified health score per repo. GitHub webhooks keep every metric live without polling.

AI Documentation
Claude Reads the Code. Writes the Docs.

Select any file, module, or open PR and request docs. Claude reads the actual code and generates inline JSDoc, module-level READMEs, or full API reference — in the appropriate format for the language and context. No hallucinated APIs.

Background Jobs
Trigger.dev Durable Tasks

Doc generation is queued as a Trigger.dev durable background task. Large codebases — the ones that would timeout an HTTP request — generate reliably. The job retries on failure without re-triggering the Claude call from scratch.

Type Safety
tRPC End-to-End

tRPC handles all communication between the Next.js frontend and backend services. Types are shared across the boundary — no REST contracts to maintain, no manual type assertions. Frontend calls are as type-safe as local function calls.

AI & INTEGRATION

How the AI documentation works.

GENERATION
CLAUDE API

File content is fetched from GitHub's API and passed directly to Claude with a structured prompt that specifies output format — JSDoc, README markdown, OpenAPI fragment — based on the selected file type and user intent.

GITHUB
OAUTH + WEBHOOKS

OAuth connects repos without storing credentials. Push and PR events arrive via GitHub webhooks and update health metrics in real time — commit velocity and PR age stay accurate without scheduled polling jobs.

ORCHESTRATION
TRIGGER.DEV

Each doc generation request is a durable Trigger.dev task with automatic retries and step-level checkpointing. Large monorepos generate full documentation suites without any request timeout concerns.

STACK

What it runs on.

Next.js
Frontend / dashboard
tRPC
End-to-end type safety
Trigger.dev
Background job orchestration
Claude API
Documentation generation
GitHub API
OAuth + webhooks
Supabase
User data + job state
DEVELOPER TOOLING

Need a developer dashboard
with AI built in?

GitHub integrations, AI generation, background jobs. We've built the full stack.

Start the conversation →