DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to describe, improve and question a PR with comment commands with PR Agent

Use /describe, /improve and /ask as PR comments once PR-Agent is installed.

Short answer: Comment /describe on the PR to generate its description; then Comment /improve for code suggestions; Comment /ask "What does this PR change?" for free-text Q&A. All steps.

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

  1. Comment /describe on the PR to generate its description
  2. Comment /improve for code suggestions
  3. Comment /ask "What does this PR change?" for free-text Q&A
  4. On an issue, comment /similar_issue to 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer