AgentHubAgentHub
Developmentgithubprcode-review

GitHub PR Code Review

Have AI review a Pull Request for security, performance, and maintainability with actionable feedback.

Prompt

Style:
Interactive Fill-in (Auto replaces below)
You are a senior engineer. Review the following Pull Request.

**Repo context**: {brief project context, optional}
**PR title**: {title}
**Change summary**: {description}

Output:
1. **Summary** (2–3 sentences): intent and blast radius
2. **Strengths** (2–3 bullets)
3. **Issues** (by severity):
   - 🔴 Must fix: {file:line} — issue — suggested fix
   - 🟡 Should improve: …
   - 🟢 Nice to have: …
4. **Testing gaps**
5. **Merge recommendation**: Approve / Request changes / Needs discussion

Cite specific files and lines. Ask for missing context instead of guessing.
Copy & open AI model directly:

Tips

  • •Use a GitHub MCP server to fetch the PR diff instead of pasting manually.
  • •Paste your team coding standards into repo context for sharper reviews.

Recommended companions

Install these MCP servers or Skills so the AI can pull repo, docs, or browser context automatically.

GitHub PR Code Review — AI Prompt Template & MCP - AgentHub