Command Palette

Search for a command to run...

Назад к скиллам
скилл № 54781

bip-comment-check

Fact-check a PR review or comment against the actual code, docs, and tests

БесплатноБез исполняемых скриптов
matsenот matsen★ 35 звёзд на GitHub

Установить bip-comment-check в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

/bip-comment-check

Fact-check a PR review, comment, or pasted review text against the actual code. Reviews often contain false claims about missing code, broken imports, or incorrect logic. This skill verifies each claim by reading the relevant files.

Usage

/bip-comment-check [PR number or URL]
/bip-comment-check          # uses current branch's PR

Also works when the user pastes review text directly into the conversation.

Core Principle

Read the code before evaluating any claim. Never accept a reviewer's assertion at face value. Every factual claim must be verified against the actual source on the PR branch.

Workflow

Step 1: Gather the review claims

Determine the source of claims to check:

  1. If review text was pasted into the conversation, use that directly.
  2. If a PR number/URL is given, fetch review comments:
    gh pr view <N> --json reviews,comments
    gh api repos/{owner}/{repo}/pulls/<N>/comments
    

Note: reviews contains top-level review bodies; inline code comments (attached to specific lines) come from the /pulls/<N>/comments endpoint. Fetch both to get the full picture. 3. If no argument, detect the current branch's PR:

gh pr view --json number,reviews,comments

Step 2: Switch to the PR branch

Ensure you're reading the code that the review is actually about:

git fetch origin
git checkout origin/<pr-branch>

If checking out would be disruptive (e.g., you're in a worktree or mid-session), you can read individual files non-destructively:

git show origin/<pr-branch>:path/to/file.py

Step 3: Identify checkable claims

Parse the review into discrete, falsifiable claims. Focus on:

  • "File X is missing / not updated" — verify the file exists and contains what's expected
  • "Line N does Y" — read the actual line
  • "Import / attribute will fail" — check the actual module
  • "Code at line N has bug Z" — read surrounding context and evaluate
  • "Test doesn't cover X" — read the test
  • "Pattern A should be pattern B" — check if the code already uses pattern B
  • "This is fragile / breaks when..." — evaluate whether the failure scenario is actually possible given the math or data invariants
  • "Variable/dict is indexed by position N" — check actual data structure (list vs dict, positional vs keyed)

Skip subjective style preferences that have no factual component.

Step 4: Verify each claim against the code

For each claim, read the relevant source files. Use dedicated tools:

  • Read to examine specific files and line numbers
  • Grep to find patterns across the codebase
  • Glob to check file existence

Also read project documentation that may explain design decisions:

  • docs/ directory for mathematical foundations or design docs
  • AGENTS.md/CLAUDE.md or README.md for project conventions
  • Docstrings and comments in the code itself
  • Test files that exercise the disputed code

Run tests if claims involve broken imports or runtime errors:

python -c "from module import thing"   # quick import check
pytest tests/relevant_test.py -x       # run specific tests

When a claim involves mathematical correctness:

  • Read the docs that explain the math
  • Trace the actual tensor operations
  • Check whether stated invariants actually hold by construction (not "by coincidence")

Step 5: Classify each claim

For each claim, assign a verdict:

Verdict Meaning
FALSE The claim is factually wrong. The code already does what the reviewer says is missing, or the stated failure doesn't occur.
TRUE The claim is correct and actionable.
PARTIALLY TRUE The observation is real but the severity, cause, or fix is wrong.
SUBJECTIVE Style/taste preference with no factual basis to verify.
WORTH A COMMENT Not a bug, but a clarifying comment in the code would prevent future confusion.

Step 6: Report

Apply PROSE-DISCIPLINE.md (bipartite repo root) when writing the verdict, and EVIDENCE-DISCIPLINE.md to every number it rests on.

Present findings as a numbered list matching the original review's numbering. For each claim:

  1. State the verdict (bold)
  2. Quote the key assertion from the review
  3. Cite the evidence — specific file:line references showing what the code actually does
  4. If FALSE, explain what the reviewer likely misread or missed
  5. If TRUE, note whether the suggested fix is appropriate

Example output format

### 1. "model_types.py not updated" — FALSE

The reviewer claims ModelType._VT variants are missing from model_types.py.
Actual: model_types.py:35-48 contains all 10 _VT members. All tests pass.
The reviewer likely looked at an earlier revision or a partial diff.

### 2. "Extra forcing condition needs comment" — WORTH A COMMENT

The observation is correct: variable_tips_model.py:106 adds
`| (nd_dep[:, :, 3] == 1)` which isn't in
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

  1. 01Agent
  2. 02Bash
  3. 03Read
  4. 04Glob
  5. 05Grep
  6. 06Edit

FAQ

Что делает скилл bip-comment-check?

Fact-check a PR review or comment against the actual code, docs, and tests

Как установить скилл bip-comment-check?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл bip-comment-check запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить bip-comment-check с