react-native-mcp: Command for Claude Code

.cursor/commands/commit.md

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

A commit command with project-specific rules for branch creation, message format, checks, and post-commit notes.

In plain words
What is it for?
Use it to create focused commits with Korean messages, run the required Bun formatting and lint commands, and write an uncommitted summary afterward.
Why use it?
It reduces inconsistent commit messages and helps ensure formatting and lint checks happen before changes are committed.

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/commit.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 commit

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/ohah/react-native-mcp/commit"><img src="https://agentmods.dev/badge/commands/ohah/react-native-mcp/commit.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 514 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.00514
Opus 5.5 $0.00000 $0.00206
Sonnet 5.5 $0.00000 $0.00103
Haiku 4.5 $0.00000 $0.00051

Measured 2mo ago against content hash e74100b54a45, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

commit 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 2mo 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/commit.md · 59 lines

What it actually says

프로젝트 규칙에 따라 변경사항 커밋

커밋 생성·제안 시 AGENTS.MD의 커밋 규칙을 적용한다.

메시지 형식

<type>(<scope>): <subject>

<body>

<footer>
  • Type (필수): feat | fix | refactor | test | docs | chore | style
  • Scope (선택): server | react-native | docs | scripts | config
  • Subject (필수): 한국어, 명령형, 50자 이하, 마침표 없음
  • Body (선택): 한국어, 72자마다 줄바꿈, 무엇을·왜 변경했는지 설명
  • Footer (선택): Breaking changes, Issue 번호

원칙

  1. 커밋당 단일 목적
  2. 관련 없는 변경은 별도 커밋으로 분리
  3. 각 커밋은 독립적으로 의미 있어야 함
  4. 작고 논리적인 단위로 커밋

커밋 전 (필수)

도구 버전은 mise로 관리 (.mise.toml). mise exec --로 프로젝트 bun 사용.

  1. 브랜치 먼저 생성 — 새 작업 시 git checkout -b <branch>로 브랜치 생성 후 해당 브랜치에서 커밋.
  2. mise exec -- bun run format 실행
  3. mise exec -- bun run lint 실행
  4. 변경 파일 스테이징 후 커밋

커밋 후 (필수)

커밋 후 요약용 MD 파일 작성 (이 파일은 커밋하지 않음).

  • 제목: 브랜치명 또는 커밋 주제
  • 작업 내용: 목표, 변경사항, 결과를 산문체로 작성

예시

feat(server): MCP 서버 및 도구 지원 추가

- MCP 프로토콜 기반 서버 구현
- 여러 도구(Tool) 등록 및 실행 지원
fix(react-native): WebSocket 재연결 처리 수정

- 연결 끊김 시 재연결 로직 수정
- 지수 백오프 적용
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. 2mo ago First seen · 59 lines · 0 tokens per session scan A e74100b54a45

Subscribe to this mod's changes

commit 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 514 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.