asya: Command for Claude Code

.claude/commands/fix-pr-review-comments.md

fix-pr-review-comments is a command for Claude Code from deliveryhero/asya. It costs 11 tokens per session (1,155 once invoked), scanned A, original, Apache-2.0.

A command for reviewing comments on a GitHub pull request, changing the code where needed, and replying to each comment. A pull request is a proposed code change waiting for review.

In plain words
What is it for?
Use it with a GitHub pull request URL or number to fetch comments, classify them, implement actionable changes, run relevant checks, create focused commits, push the branch, and reply in each discussion.
Why use it?
It helps turn review feedback into tracked fixes and focused replies instead of leaving comments unanswered or posting one generic summary.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is deliveryhero/asya's own configuration. It tells Claude Code how to work on asya itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything asya configures →

Reuse

Borrowing it

Nothing to install: this file belongs to deliveryhero/asya. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/deliveryhero/asya/main/.claude/commands/fix-pr-review-comments.md
Clone the repo
git clone --depth 1 https://github.com/deliveryhero/asya

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fix-pr-review-comments

README.md
[![agentmods](https://agentmods.dev/badge/commands/deliveryhero/asya/fix-pr-review-comments.svg)](https://agentmods.dev/commands/deliveryhero/asya/fix-pr-review-comments)
Your own site
<a href="https://agentmods.dev/commands/deliveryhero/asya/fix-pr-review-comments"><img src="https://agentmods.dev/badge/commands/deliveryhero/asya/fix-pr-review-comments.svg" alt="Measured on agentmods" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,155 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00011 $0.01155
Opus 5 $0.00005 $0.00577
Sonnet 5 $0.00002 $0.00231
Haiku 4.5 $0.00001 $0.00115

Measured 8d ago against content hash 2b625013826b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

fix-pr-review-comments scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/fix-pr-review-comments.md · 178 lines

How it starts

The opening of the file, as written. The whole thing — 178 lines — stays where its author put it; the contents beside it link to each section on GitHub.

PR Comment Analyzer & Resolver

Analyze all comments on a GitHub pull request, implement changes, and post targeted responses to each review comment using gh CLI.

Usage

Provide a GitHub PR URL or PR number:

/fix-pr-review-comments https://github.com/deliveryhero/asya/pull/119
# or
/fix-pr-review-comments 119

Process

  1. Fetch PR Details

    • Get PR URL, branch name, current files
    • List all comments (review comments and conversations)
  2. Analyze Each Comment

    • Categorize: bug fix, enhancement, documentation, style/formatting, validation, question
    • Assess: actionable vs informational
    • Extract key requirements
  3. For Actionable Comments

    • Implement suggested changes
    • Run validation (linting, tests if applicable)
    • Create focused, logical commits
    • Push to PR branch
  4. Post Targeted Responses

    • Reply directly to each review comment (not general PR comment)
    • Use gh api to post reply in the specific conversation thread
    • Keep responses concise and focused on that specific suggestion
    • Use gh api to mark conversation as resolved if applicable
  5. No Generic Summaries

    • Post targeted, context-specific responses only
    • Each suggestion gets a reply in its own thread
    • Skip generic summaries - let the implementation speak

Response Format

For each review comment:

  • Reply directly in the conversation thread (not new PR comment)
  • Keep it very short: "✅ Implemented in commit XYZ - [brief description]" is enough
  • Mark conversation as resolved if applicable (via gh API)

Implementation Notes

  • Work in the existing branch (don't create new branches)
  • Preserve existing commits; append new commits
  • Use gh api to reply to specific review comments (see "Posting Replies" below)
  • Run quality gates after each logical change group
  • Always preserve original PR intent and author's work

Working with Review Threads

GitHub review comments are organized into threads. Use GraphQL API to query and resolve threads.

Read the full file on GitHub · 178 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 178 lines · 11 tokens per session scan A 2b625013826b

Subscribe to this mod's changes

fix-pr-review-comments is a command published in the GitHub repository deliveryhero/asya (58 stars, last pushed today), licensed Apache-2.0. It adds 11 tokens to every session and 1,155 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.