Borrowing it
Nothing to install: this file belongs to ohah/electron-mcp-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/ohah/electron-mcp-server/main/.cursor/commands/review.mdgit clone --depth 1 https://github.com/ohah/electron-mcp-serverWrote 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.
[](https://agentmods.dev/commands/ohah/electron-mcp-server/review)<a href="https://agentmods.dev/commands/ohah/electron-mcp-server/review"><img src="https://agentmods.dev/badge/commands/ohah/electron-mcp-server/review/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.
<a href="https://agentmods.dev/commands/ohah/electron-mcp-server/review"><img src="https://agentmods.dev/badge/commands/ohah/electron-mcp-server/review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01606 |
| Opus 5.5 | $0.00000 | $0.00642 |
| Sonnet 5.5 | $0.00000 | $0.00321 |
| Haiku 4.5 | $0.00000 | $0.00161 |
Grade A, and why
review 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.
How it starts
The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Pull Request 리뷰 (AI 리뷰 + 요약·인라인 제안)
현재 브랜치의 PR을 가져와 AI가 코드·설명을 리뷰한 뒤, 요약 리뷰(본문) 와 라인별 제안(인라인 코멘트) 를 PR에 올린다.
- 요약 리뷰: PR 목적·설명과 변경 일치 여부, 잘된 점, 개선 제안(버그·엣지케이스·성능·테스트), 테스트 관점을 담은 리뷰 본문을 한글로 작성한다.
- 라인별 제안: 구체적인 코드 수정이 필요한 곳에는 해당 파일·라인에 인라인 코멘트를 달고, 가능하면
```suggestion ```블록을 넣어 작성자가 GitHub에서 "Commit suggestion"으로 적용할 수 있게 한다.
이 레포의 gh 계정 (ohah 전용)
이 레포(ohah/electron-mcp-server)는 리뷰 제출에 ohah GitHub 계정을 쓴다.
- 제출 전:
gh api user -q .login으로 현재 사용자 확인. 결과가ohah가 아니면gh auth switch --hostname github.com --user ohah실행하고 이전 로그인을 기억한다 (예:PREV_GH_USER=<그 값>). - 제출 후: ohah로 바꿨다면
gh auth switch --hostname github.com --user <PREV_GH_USER>로 이전 계정을 복원해 전역 gh 설정이 바뀌지 않게 한다.
작업 순서
-
브랜치·gh 계정 (이 레포 / ohah 전용)
- 레포 루트에서 실행. 리뷰 대상은 현재 브랜치의 PR이다.
- 현재 gh 사용자 확인:
gh api user -q .login. ohah가 아니면gh auth switch --hostname github.com --user ohah실행하고 이전 로그인을 저장해 나중에 복원.
-
현재 브랜치의 PR 찾기
- PR이 없으면 "현재 브랜치에 해당하는 PR이 없습니다"라고 하고 중단.
gh pr view --json number,title,body,url,additions,deletions,changedFiles- 실패 시(PR 없음):
gh pr list --head $(git branch --show-current)로 확인.
-
PR 상세·diff 수집
- PR 메타·본문:
gh pr view - 변경 파일:
gh pr diff --name-only - 전체 diff:
gh pr diff - 위 내용으로 리뷰용 맥락을 만든다.
- PR 메타·본문:
-
AI 리뷰 작성 (요약 + 라인 제안)
- 요약 본문 (한글):
- 목적·설명: PR 목적·설명이 실제 변경과 맞는가?
- 잘된 점: 구조, 네이밍, 컨벤션, 일관성.
- 개선 제안: 버그·엣지케이스·성능·테스트 등.
- 라인별 제안: 수정이 필요한 곳마다 인라인 코멘트 준비:
- path: 레포 루트 기준 상대 경로 (예:
src/mcp-server.ts) - line: diff 새 버전(우측) 기준 라인 번호.
- side:
"RIGHT" - body: 짧은 설명; 구체적인 코드 수정이면
```suggestion ```블록을 넣어 GitHub "Commit suggestion"이 되게 한다.
- path: 레포 루트 기준 상대 경로 (예:
- 요약 본문 (한글):
-
리뷰 제출 (인라인 제안이 있으면 요약+인라인을 한 번에)
- 5-a. 인라인 제안이 하나 이상 있을 때
body와 comments 배열을 모두 포함한 한 번의 리뷰로 제출.
- body: 4단계에서 쓴 요약 (잘된 점, 개선 요약, 테스트 관점).
- comments: 제안마다 하나씩, 예:
- path: 레포 루트 기준 경로
- line: 새(우측) 버전 기준 라인 번호. 실제 파일과 맞는지 확인.
- side:
"RIGHT" - body: 짧은 설명 + (해당 시)
```suggestion…```블록.
- 예시 페이로드 파일 (
review-payload.json):{ "commit_id": "<headRefOid>", "event": "COMMENT", "body": "## AI 리뷰\n\n### 잘된 점\n- ...\n\n### 개선 제안\n- ...\n\n### 테스트\n- ...", "comments": [ { "path": "src/mcp-server.ts", "line": 42, "side": "RIGHT", "body": "연결 해제 시 트랜스포트 정리를 권장합니다.\n\n```suggestion\n transport.close();\n```" } ] } - 명령:
gh pr view --json headRefOid -q .headRefOid # commit_id로 사용 gh api repos/ohah/electron-mcp-server/pulls/$(gh pr view --json number -q .number)/reviews --input review-payload.json - 제출 후
review-payload.json은 삭제해도 됨.
- 5-a. 인라인 제안이 하나 이상 있을 때
body와 comments 배열을 모두 포함한 한 번의 리뷰로 제출.
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.
- 2mo ago First seen · 99 lines · 0 tokens per session scan A 75a20a297bc8
review is a command published in the GitHub repository ohah/electron-mcp-server (4 stars, last pushed 7mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,606 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.
Other commands, from other repositories
refactor
Systematic code refactoring with smart scope detection.
review-branch
Review the current branch's diff against base by dispatching atomic-reviewer. No orchestration loop, no spec required — pre-flight before /commit pr or /commit merge.
init
Install the formatters this repository needs, with every command visible before it runs.
spec-trace-requirements
You are verifying that implementation changes trace back to specification requirements.
merge-conflict-analysis
You are analyzing merge conflicts for PR #${{ pr-number }}.
boot
Start a new PromptKit prompt assembly session (alias for /bootstrap).