docs-ssot: Command for Claude Code

.claude/commands/fix-pr-reviews.md

fix-pr-reviews is a command for Claude Code from hiromaily/docs-ssot. It costs 0 tokens per session (232 once invoked), scanned A, original, MIT.

A procedure for finding unresolved inline comments on the current GitHub pull request, fixing the referenced code, and replying to each reviewer.

In plain words
What is it for?
Use it to process pull-request review feedback, apply the requested fixes, commit the changes, and push the branch.
Why use it?
It avoids missing comments attached directly to changed lines and prevents replies from being sent to the wrong GitHub endpoint.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is hiromaily/docs-ssot's own configuration. It tells Claude Code how to work on docs-ssot 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 docs-ssot configures →

Reuse

Borrowing it

Nothing to install: this file belongs to hiromaily/docs-ssot. 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/hiromaily/docs-ssot/main/.claude/commands/fix-pr-reviews.md
Clone the repo
git clone --depth 1 https://github.com/hiromaily/docs-ssot

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-reviews

README.md
[![agentmods](https://agentmods.dev/badge/commands/hiromaily/docs-ssot/fix-pr-reviews/github.svg)](https://agentmods.dev/commands/hiromaily/docs-ssot/fix-pr-reviews)
Your own site
<a href="https://agentmods.dev/commands/hiromaily/docs-ssot/fix-pr-reviews"><img src="https://agentmods.dev/badge/commands/hiromaily/docs-ssot/fix-pr-reviews/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for fix-pr-reviews

Your own site · 80×15
<a href="https://agentmods.dev/commands/hiromaily/docs-ssot/fix-pr-reviews"><img src="https://agentmods.dev/badge/commands/hiromaily/docs-ssot/fix-pr-reviews.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 232 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.00000 $0.00232
Opus 5 $0.00000 $0.00116
Sonnet 5 $0.00000 $0.00046
Haiku 4.5 $0.00000 $0.00023

Measured 10d ago against content hash 836b32f65653, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

fix-pr-reviews 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 10d 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-reviews.md · 24 lines

What it actually says

Fix PR review comments

For the current branch, determine the PR number with gh pr view --json number.

Fetch inline review comments (diff comments) with:

gh api repos/{owner}/{repo}/pulls/{pull_number}/comments

These are separate from issue-level comments. Do not use gh pr view --json comments — that field returns only issue-level (non-diff) comments and will miss inline review comments.

For each comment that has not yet been resolved:

  1. Read the referenced file and line to understand the context.
  2. Apply the fix directly in the file.
  3. Reply to the comment using:
    gh api repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies -f body="<reply>"
    
    Note: the pull number must be included in the path — omitting it returns 404.

After all comments are addressed, stage and commit the changes, then push the branch.

Keep replies short and factual: what was changed and why. Do not ask for confirmation before fixing — just fix and reply.

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. 10d ago First seen · 24 lines · 0 tokens per session scan A 836b32f65653

Subscribe to this mod's changes

fix-pr-reviews is a command published in the GitHub repository hiromaily/docs-ssot (2 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 232 tokens. 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-31.