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.
346
Sponsor

GitHub PR Code Review

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

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.

Installation

$ pnpm dlx shadcn@latest add @agentcn/langgraph/github-review

Composition

├── index.ts
├── instructions.md
├── tools/fetch_pr.ts
├── tools/get_file_content.ts
├── tools/get_pr_files.ts
├── tools/parse_github_url.ts

Customization

  • Edit index.ts to change the model, description, or system prompt.
  • Add route-local tools under tools/; tool input and output types are inferred from TypeScript.
  • Run dawn verify before deploying generated LangGraph artifacts.