review-apply

A command that finds suggestion blocks in review comments on the current GitHub pull request and applies them to local files. A pull request is a proposed code change submitted for review.

In plain words
What is it for?
Use it to fetch inline review suggestions, apply unambiguous changes, and ask for clarification when suggestions overlap or no longer match the local files.
Why use it?
It reproduces GitHub's commit-suggestion action locally and avoids manually copying suggested code.

Command for Cursor

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 commands/ohah/react-native-mcp/review-apply
Clone the repo
git clone --depth 1 https://github.com/ohah/react-native-mcp

Made for: Cursor.

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 328 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.00000 $0.00328
Opus 5 $0.00000 $0.00164
Sonnet 5 $0.00000 $0.00066
Haiku 4.5 $0.00000 $0.00033

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

Security

Grade A, and why

review-apply 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.

.cursor/commands/review-apply.md · 37 lines

What it actually says

PR 리뷰 제안사항 로컬 적용 (review-apply)

현재 브랜치의 PR에서 suggestion 블록이 포함된 리뷰 댓글을 가져와 로컬 파일에 적용합니다. GitHub의 "Commit suggestion"을 로컬에서 재현합니다.

사용 시점

  • Cursor에서 이 명령을 실행합니다 (예: 명령 팔레트 → "review-apply" 또는 /review-apply).

실행 순서

  1. 현재 브랜치의 PR 찾기

    • PR이 없으면 "현재 브랜치에 PR이 없습니다"라고 알리고 중단합니다.
  2. 리뷰 댓글 가져오기

    gh api repos/ohah/react-native-mcp/pulls/<PR-번호>/comments
    
  3. suggestion 블록이 있는 댓글만 유지

    • body```suggestion이 포함된 댓글만 사용합니다.
  4. 모호한 경우 사용자에게 질문

    • 같은 파일의 같은 라인에 2개 이상의 제안이 있는 경우
    • 해당 라인의 현재 내용이 크게 변경된 경우
    • path의 파일이 로컬에 존재하지 않는 경우
  5. 로컬 파일에 제안 적용

  6. 적용 내용 요약

참고

  • 레포 루트에서 gh 인증된 상태로 실행합니다.
  • 인라인 리뷰 댓글만 사용합니다.
  • ```suggestion``` 안의 텍스트만 적용합니다.
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 · 37 lines · 0 tokens per session scan A 272cc8dcce70

Subscribe to this mod's changes

review-apply is a command published in the GitHub repository ohah/react-native-mcp (7 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 328 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.