actions-mention-to-slack: Command for Claude Code

.claude/commands/pr-review-style-reference.md

pr-review-style-reference is a command for Claude Code from abeyuya/actions-mention-to-slack. It costs 44 tokens per session (1,949 once invoked), scanned A, original, MIT.

A style guide for writing GitHub pull-request reviews, including importance labels, comment limits, duplicate handling, and treatment of automated checks.

In plain words
What is it for?
Use it to decide which code-review comments to include, how to label them, how many inline comments to allow, and how to summarize omitted comments.
Why use it?
It helps reviews stay focused and consistent instead of filling up with minor, repeated, or formatting-only comments.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

This is abeyuya/actions-mention-to-slack's own configuration. It tells Claude Code how to work on actions-mention-to-slack 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 actions-mention-to-slack configures →

Reuse

Borrowing it

Nothing to install: this file belongs to abeyuya/actions-mention-to-slack. 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/abeyuya/actions-mention-to-slack/master/.claude/commands/pr-review-style-reference.md
Clone the repo
git clone --depth 1 https://github.com/abeyuya/actions-mention-to-slack

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 pr-review-style-reference

README.md
[![agentmods](https://agentmods.dev/badge/commands/abeyuya/actions-mention-to-slack/pr-review-style-reference/github.svg)](https://agentmods.dev/commands/abeyuya/actions-mention-to-slack/pr-review-style-reference)
Your own site
<a href="https://agentmods.dev/commands/abeyuya/actions-mention-to-slack/pr-review-style-reference"><img src="https://agentmods.dev/badge/commands/abeyuya/actions-mention-to-slack/pr-review-style-reference/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 pr-review-style-reference

Your own site · 80×15
<a href="https://agentmods.dev/commands/abeyuya/actions-mention-to-slack/pr-review-style-reference"><img src="https://agentmods.dev/badge/commands/abeyuya/actions-mention-to-slack/pr-review-style-reference.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 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,949 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.00044 $0.01949
Opus 5 $0.00022 $0.00975
Sonnet 5 $0.00009 $0.00390
Haiku 4.5 $0.00004 $0.00195

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

Security

Grade A, and why

pr-review-style-reference 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 12d 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/pr-review-style-reference.md · 71 lines

How it starts

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

PR レビュー時のスタイル参考ガイド

本ガイドは 書き方・体裁 のみを対象にします。レビューで何を見るか (技術観点) は本ファイルの対象外で、caller 側で別途指定する想定です。

レビュー方針は caller プロジェクト (ユーザー) に委ねる前提で、以下のいずれの使い方でも構いません。

  • そのまま採用する
  • 採用した上で caller 側のカスタム指示を上に重ねる
  • 採用せず無視する

caller 側のカスタム指示と本ガイドが矛盾する場合は caller 側を優先してください。ただし caller の上書きは明示された範囲のみに及びます。caller が「全置換」と明示していない限り、caller が触れていない規約 (ノイズ抑制 / 重複回避 / CI 扱い 等) は本ガイドのまま残ります。

caller がラベル種別を独自定義した場合 (例: [should] / [nit] / [question] / [pre_existing] を廃止) は、廃止された中間・補助ラベルに該当する指摘の扱いも caller 指示に従ってください。caller が代替割当を指定していない場合のデフォルトは次の通り:

  • 不具合・データ整合性・脆弱性に直結する内容は最上位ラベル (caller 定義の [must] 等) に寄せる。
  • 好み寄り・軽微な改善は「出さない」(ノイズ抑制ルール優先)。質問用の下位ラベルに水増ししない。

引数 ($ARGUMENTS)

インライン指摘 (GitHub Review API の comments[]) の総数の扱いを切り替える。いずれのモードでも「ノイズ抑制ルール」(フォーマッタレベルは出さない / 同一事象は集約 / 好み寄りの指摘は控える 等) は厳守する。

  • 引数なし (デフォルト): max-inline-comments=unlimited と同じ扱い。件数制限を設けず、発見した指摘はできる限り全てインラインコメントとして出す。
  • max-inline-comments=N (N は正の整数): インライン指摘の総数を最大 N 件に絞る。
    • 優先順: [must] > [should] > [nit] > [question] > [pre_existing] の高い順に残す。
    • N 超過で省略した指摘がある場合のみ、総括 (body) に「省略した件数 + ラベル別内訳 (例: [should] 2 件 / [nit] 1 件)」を 1 文添える (代表ファイル名は任意)。
    • 「ノイズ抑制ルール」起因の非掲載はこの言及対象外。
  • max-inline-comments=unlimited: 引数なしと同じ (明示指定用)。

重要度ラベル

各インライン指摘は 必ず以下のいずれかのラベルで開始 してください。

  • [must] 不具合・脆弱性・本番事故に直結する問題。マージ前に対応必須。
  • [should] 設計・保守性で強く推奨される改善。対応を強く促す。判断軸は「放置すると次の修正で [must] 化する蓋然性が高いもの」(例: テストが無く回帰検知できない / エラーハンドリングが暗黙的で別経路の障害につながり得る)。[must] ほどの即時性は無いが [nit] で流すと将来コストになる中間ゾーンに使う。
  • [nit] 軽微・好み寄りの指摘。実装者が無視してよい。
  • [question] 質問。実装者の意図を確認したいだけのもの (修正要求ではない)。
  • [pre_existing] 本 PR で導入されたものではないが、レビュー中に発見した既存バグ。本 PR でのマージ判断には影響させない (= マージ前対応の必須化はしない) が、別途 issue 化や別 PR での修正を促すために残す。

ノイズ抑制ルール

レビュアー疲労を避けるため、以下を厳守してください。

  • フォーマッタや Linter が直すレベルの指摘は出さない。
  • 「個人的な好み」レベルは [nit] に留めるか、出さない。
  • 同じ事象が複数箇所にある場合は 代表1箇所のみインラインに置き、総括セクションで総括 する (繰り返しコメント禁止)。

粒度ガイド (インライン / 総括の使い分け)

  • 行・範囲が特定できる指摘は GitHub Review API の comments[] (インライン) として投稿する。
  • 横断的・総括的な懸念や変更全体の評価は同 API の body (総括セクション) にまとめる。
  • 総括セクションは「総合判断」「主要懸念 top3」「良かった点 1〜2」を簡潔にまとめる。
  • インライン指摘の件数は冒頭「引数 ($ARGUMENTS)」セクションの指定に従う。いずれのモードでも「ノイズ抑制ルール」は厳守する。

Read the full file on GitHub · 71 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. 12d ago First seen · 71 lines · 44 tokens per session scan A b15fab8cfcb3

Subscribe to this mod's changes

pr-review-style-reference is a command published in the GitHub repository abeyuya/actions-mention-to-slack (58 stars, last pushed yesterday), licensed MIT. It adds 44 tokens to every session and 1,949 once invoked, about $0.0002 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.