pr-comment-fact-check

A workflow for checking pull-request review comments against the actual code, repository rules, and available skills. A pull request is a proposed code change that others review before merging.

In plain words
What is it for?
Use it to triage review comments, fact-check suggested fixes, decide which comments to answer or challenge, and verify changes before replying.
Why use it?
It helps distinguish correct, incomplete, outdated, or incorrect reviewer claims before you change code or reject feedback.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/stainless-code/codemap/pr-comment-fact-check
Any agent
npx skills add stainless-code/codemap --skill pr-comment-fact-check
Clone the repo
git clone --depth 1 https://github.com/stainless-code/codemap

Made for: Claude Code, Codex.

Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,659 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00098 $0.01659
Opus 5 $0.00049 $0.00830
Sonnet 5 $0.00020 $0.00332
Haiku 4.5 $0.00010 $0.00166

Measured 2d ago against content hash 06e56f200433, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

pr-comment-fact-check 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 2d 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.

.agents/skills/pr-comment-fact-check/SKILL.md · 58 lines

How it starts

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

PR comment fact-check

When a PR has reviewer comments (human or bot), don't apply suggestions reflexively. Each comment is a claim about the code that may be wrong, partial, outdated, or stylistic.

The agent's job is to verify before acting. Auto-applying suggestions from LLM reviewers (Bugbot, Copilot, Cursor's own bot, CodeRabbit) is the most common silent regression source — they confidently propose changes that contradict project conventions because they don't have the project context the human team has codified in skills/rules.

Workflow: WORKFLOW.md.

Non-negotiables

  1. Never auto-apply suggestions — every comment is a claim that must be verified against the actual code (Read), structural facts (codemap), authoritative project conventions (.agents/rules + skills), and toolchain signals (bun run typecheck, bun run check).
  2. Never reply "fixed!" without verifying — that's how subtle bugs land. Apply, run the project's checks, then reply.
  3. Never dismiss a comment without evidence — push-back is fine; evidence-free push-back wastes the reviewer's time.
  4. Categorize before acting — sort into ✅ correct / ❌ hallucinated / ⚠️ partial / 🕒 outdated / 💭 style. Action defaults per category below.
Verdict What it means Default action
✅ Correct The code does/says what the reviewer claims; their suggestion improves it. Apply + resolve thread.
⚠️ Partially correct Premise right, conclusion wrong (or vice versa). Apply salvageable part + reply explaining nuance; resolve only if reviewer agrees.
❌ Incorrect (hallucination) The code doesn't do what the reviewer claims, OR the reviewer cites a "best practice" that contradicts our actual rules / TS + library versions. Push back with evidence; leave unresolved (merge-gate exception in WORKFLOW).
🕒 Outdated The code already changed since the comment was posted. Point at fix commit + resolve.
💭 Style preference Not enforced by any lint rule or skill; subjective. Apply if cheap + resolve; otherwise defer to author.

Read the full file on GitHub · 58 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2d ago First seen · 58 lines · 98 tokens per session scan A 06e56f200433

Subscribe to this mod's changes

pr-comment-fact-check is a skill published in the GitHub repository stainless-code/codemap (8 stars, last pushed 7d ago), licensed MIT. It adds 98 tokens to every session and 1,659 once invoked, about $0.0005 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-31.

Related

Other skills, from other repositories