Skip to content
This repository was archived by the owner on Feb 6, 2026. It is now read-only.

Latest commit

 

History

History
23 lines (20 loc) · 1.1 KB

File metadata and controls

23 lines (20 loc) · 1.1 KB

AGENTS.md

Build/Lint/Test Commands

  • Build: pnpm run build (TypeScript to dist/)
  • Lint: pnpm run lint (ESLint on src/**/*.ts)
  • Type check: pnpm run type-check (tsc --noEmit)
  • Test: pnpm run test (Vitest)
  • Dev: pnpm run dev (tsx watch src/server.ts)

Architecture

  • GitHub Code Review Agent using Hono.js framework
  • Main components: GitHub webhook processing, review queue, AI-powered code analysis
  • Key directories: src/github/ (auth, webhooks), src/review/ (queue, reviewer), toolbox/ (Amp toolbox scripts)
  • External integrations: GitHub App API, Amp for AI reviews
  • Configuration: config.yml with environment variable interpolation

Code Style

  • TypeScript ES2020 modules with strict mode
  • Imports: Use .js extensions for local imports, group external first
  • Error handling: No explicit-any warnings, unused vars are errors
  • Naming: camelCase for variables/functions, PascalCase for types/classes
  • Files: kebab-case for filenames (review-queue.ts, webhook-manager.ts)
  • Formatting: ESLint config enforces prefer-const, no-var