Who it is forA reviewer who wants a PR summary and suggested code changes on demand.
The problemLarge PRs take long to understand and write up by hand.
The outcomeA generated PR description, improvement suggestions and answers to free-text questions on the PR.
What you need first
- An LLM API key such as OPENAI_KEY
- A GitHub token (the GitHub Action uses secrets.GITHUB_TOKEN)
- pip for the CLI, or a GitHub Actions workflow
Steps
- Comment
/describeon the PR to generate its description - Comment
/improvefor code suggestions - Comment
/ask "What does this PR change?"for free-text Q&A - On an issue, comment
/similar_issueto find similar issues
Prompt for your agent
On PR <url>, run PR-Agent /describe and /improve, then /ask whether it changes any public API, and give me a short summary.
Caveat. /help_docs is temporarily disabled since v0.36.1 pending a credential-exposure fix.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for The-PR-Agent/pr-agent and "Describe, improve and question a PR with comment commands"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer