mcp-server-langgraph: Command for Claude Code

.claude/commands/review-pr.md

review-pr is a command for Claude Code from vishnu2kmohan/mcp-server-langgraph. It costs 16 tokens per session (1,803 once invoked), scanned A, original, MIT.

A pull-request review checklist for examining proposed code changes before they are merged.

In plain words
What is it for?
Use it when reviewing a pull request: fetch the changes, inspect the diff and commits, then check readability, types, tests, and architecture.
Why use it?
It gives reviewers a consistent way to check code quality, tests, design, and project conventions instead of relying on memory.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is vishnu2kmohan/mcp-server-langgraph's own configuration. It tells Claude Code how to work on mcp-server-langgraph 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 mcp-server-langgraph configures →

Reuse

Borrowing it

Nothing to install: this file belongs to vishnu2kmohan/mcp-server-langgraph. 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/vishnu2kmohan/mcp-server-langgraph/main/.claude/commands/review-pr.md
Clone the repo
git clone --depth 1 https://github.com/vishnu2kmohan/mcp-server-langgraph

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/vishnu2kmohan/mcp-server-langgraph/review-pr.svg)](https://agentmods.dev/commands/vishnu2kmohan/mcp-server-langgraph/review-pr)
Your own site
<a href="https://agentmods.dev/commands/vishnu2kmohan/mcp-server-langgraph/review-pr"><img src="https://agentmods.dev/badge/commands/vishnu2kmohan/mcp-server-langgraph/review-pr.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 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,803 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.00016 $0.01803
Opus 5 $0.00008 $0.00901
Sonnet 5 $0.00003 $0.00361
Haiku 4.5 $0.00002 $0.00180

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

Security

Grade A, and why

review-pr 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 7d 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/review-pr.md · 328 lines

How it starts

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

Review Pull Request

Comprehensive PR review checklist to ensure code quality, testing, and best practices.

Usage

/review-pr

Pre-Review Setup

1. Fetch PR Code

# Using gh CLI
gh pr checkout <PR_NUMBER>

# Or manual checkout
git fetch origin pull/<PR_NUMBER>/head:pr-<PR_NUMBER>
git checkout pr-<PR_NUMBER>

2. Understand Changes

# View files changed
git diff main...HEAD --stat

# View detailed diff
git diff main...HEAD

# View commits in PR
git log main..HEAD --oneline

Review Checklist

Code Quality

Readability
  • Code is self-explanatory (minimal comments needed)
  • Variable/function names are descriptive
  • Functions are small and focused (< 50 lines ideally)
  • No deeply nested conditionals (< 4 levels)
  • Consistent with existing code style
Design
  • Follows SOLID principles
  • No code duplication (DRY)
  • Proper separation of concerns
  • Uses appropriate design patterns
  • Follows existing architectural patterns (check ADRs)
Type Safety
  • All functions have type hints
  • Type hints are accurate and helpful
  • No unnecessary Any types
  • Proper handling of Optional types
  • MyPy passes (or errors documented)

Testing

Test Coverage
  • New code has tests (TDD followed)
  • Tests cover happy path
  • Tests cover edge cases
  • Tests cover error scenarios
  • Coverage ≥ 80% for new code
Test Quality
  • Tests are independent (no shared state)
  • Tests are deterministic (not flaky)
  • Test names are descriptive (test_X_when_Y_then_Z format)
  • Proper use of fixtures
  • No test code duplication
Test Execution
# Run all tests
make test-all-quality

# Run with coverage
pytest --cov=src --cov-report=term-missing tests/

# Check for flaky tests
pytest tests/ --count=5

Security

  • No hardcoded credentials or secrets
  • Input validation implemented
  • SQL injection prevention (parameterized queries)
  • XSS prevention (proper output encoding)
  • Command injection prevention
  • Path traversal prevention
  • Authentication checks on protected endpoints
  • Authorization checks (OpenFGA)
  • Rate limiting considered (if public endpoint)
  • Secrets in environment variables or Infisical

Read the full file on GitHub · 328 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. 7d ago First seen · 328 lines · 16 tokens per session scan A 5a951e6c4103

Subscribe to this mod's changes

review-pr is a command published in the GitHub repository vishnu2kmohan/mcp-server-langgraph (4 stars, last pushed 7d ago), licensed MIT. It adds 16 tokens to every session and 1,803 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-31.