react-native-mcp: Command for Claude Code

.cursor/commands/review-apply.md

review-apply is a command for Claude Code, Cursor from ohah/react-native-mcp. It costs 0 tokens per session (328 once invoked), scanned A, original, MIT.

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 Claude CodeCursor

Written for Cursor and Claude Code: installed under .cursor/, but also a Claude Code command (commands/*.md).

This is ohah/react-native-mcp's own configuration. It tells Claude Code and Cursor how to work on react-native-mcp 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 react-native-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ohah/react-native-mcp. 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/ohah/react-native-mcp/main/.cursor/commands/review-apply.md
Clone the repo
git clone --depth 1 https://github.com/ohah/react-native-mcp

Made for: Claude Code, Cursor.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/ohah/react-native-mcp/review-apply/github.svg)](https://agentmods.dev/commands/ohah/react-native-mcp/review-apply)
Your own site
<a href="https://agentmods.dev/commands/ohah/react-native-mcp/review-apply"><img src="https://agentmods.dev/badge/commands/ohah/react-native-mcp/review-apply/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 review-apply

Your own site · 80×15
<a href="https://agentmods.dev/commands/ohah/react-native-mcp/review-apply"><img src="https://agentmods.dev/badge/commands/ohah/react-native-mcp/review-apply.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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. 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.00000 $0.00328
Opus 5.5 $0.00000 $0.00131
Sonnet 5.5 $0.00000 $0.00066
Haiku 4.5 $0.00000 $0.00033

Measured 1mo ago against content hash 272cc8dcce70, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 7mo 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.