For the complete documentation index, see llms.txt. Markdown variants are available by appending .md to any URL or sending an Accept: text/markdown header. An agent skill is available at /.well-known/agent-skills/site-skill.md.
43
Sponsor

GitHub PR Code Review

Fetches a GitHub pull request and returns adaptive, file-by-file code review feedback.

Live preview

Eve

Output will stream here when you run the agent.

Summary

The GitHub PR Code Review Agent reviews a pull request and returns actionable feedback. It fetches the PR's files and patches, adapts its depth to the diff size, and reports bugs, security issues, and style notes grouped by file — ending with an approve / request-changes recommendation. Reach for it to triage reviews or give contributors fast first-pass feedback.

Install

$ pnpm dlx shadcn@latest add https://agentcn.vercel.app/r/eve/github-review.json

Composition

agent/
├── agent.ts          # Agent definition (model + config)
├── instructions.md   # Adaptive, file-by-file review instructions
└── tools/
    └── fetch_pr.ts   # Fetches PR metadata + changed files

Customization

  • Tune the depth thresholds. Edit instructions.md to change how review depth scales with PR size.
  • Skip more files. Add glob patterns for generated or vendored paths.
  • Post back to GitHub. Add a tool that creates a review via the GitHub API instead of replying in chat.
  • Swap the model. Edit agent/agent.ts.