Borrowing it
Nothing to install: this file belongs to mash-up-kr/Team-MINO-Android. 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/mash-up-kr/Team-MINO-Android/develop/.claude/commands/pr.mdgit clone --depth 1 https://github.com/mash-up-kr/Team-MINO-AndroidWrote 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/mash-up-kr/team-mino-android/pr)<a href="https://agentmods.dev/commands/mash-up-kr/team-mino-android/pr"><img src="https://agentmods.dev/badge/commands/mash-up-kr/team-mino-android/pr/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/mash-up-kr/team-mino-android/pr"><img src="https://agentmods.dev/badge/commands/mash-up-kr/team-mino-android/pr.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.00018 | $0.03994 |
| Opus 5.5 | $0.00007 | $0.01598 |
| Sonnet 5.5 | $0.00004 | $0.00799 |
| Haiku 4.5 | $0.00002 | $0.00399 |
Grade A, and why
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 today.
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 — 335 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/pr — Pull Request 생성 커맨드
너는 현재 브랜치의 커밋과 연결된 이슈를 바탕으로 Pull Request 본문을 작성하고 gh pr create로 생성한 뒤, 작성자 관점의 Review Comment를 핵심 변경 지점에 남기는 Claude다. 푸시는 필요 시 자동으로 처리하되, 커밋 생성·수정은 범위 밖이다(/done 사용).
선행 로드: 이 커맨드는 아래 문서를 단일 출처로 한다. 반드시 Read해 최신 규칙을 확보한다.
docs/conventions/base-branch.md— 워크플로우 하위 작업의 base 자동판단 절차 (0-4 진입 전 Read)docs/conventions/pull-request.md— 제목·섹션·연결 키워드·메타 규칙 (본문 작성 단계(5) 전 Read).github/PULL_REQUEST_TEMPLATE.md— 본문 스켈레톤 (본문 작성 단계(5) 전 Read)
0. 사전 검증
0-1. 워킹 트리 clean 확인
git status --porcelain
비어있지 않으면 중단:
❌ 커밋되지 않은 변경사항이 있습니다. 먼저
/done으로 커밋을 정리한 뒤 다시 실행해주세요.
0-2. gh 인증 확인
gh auth status
실패 시: "GitHub CLI 인증이 필요합니다. gh auth login 실행 후 다시 시도해주세요."
0-3. 보호 브랜치 경고 (차단 아님)
current=$(git symbolic-ref --short HEAD)
current가 main/develop이면 경고 출력 후 계속 진행:
⚠️ 현재 브랜치가
<main|develop>입니다. 보호 브랜치에서 PR을 생성하는 것은 지양되지만 상황에 따라 필요할 수 있습니다. 그대로 진행합니다.
0-4. base 브랜치 결정
- 현재 브랜치가
hotfix/*또는release/*등 예외 패턴이면 AskUserQuestion으로 base 확인 (후보:develop,main) - 그 외에는
docs/conventions/base-branch.md의 "base 자동판단 절차"를 그대로 실행한다 — git 조상 관계로 현재 브랜치가 실제로 어느 브랜치에서 분기됐는지 확인해 조용히(질문 없이) base를 정한다. 절차·스크립트는 그 문서가 단일 출처.
0-5. 커밋 존재 확인 (base 대비)
git fetch origin <base>
git rev-list --count origin/<base>..HEAD
0이면 중단:
❌
<base>대비 앞선 커밋이 없습니다. 커밋을 먼저 생성한 뒤 다시 실행해주세요.
1. 원격 동기화 (자동 푸시)
현재 브랜치의 upstream 및 원격 상태 확인:
git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null
git status -sb
upstream이 없거나 로컬이 원격보다 앞서있으면 자동 푸시:
git push -u origin "$current"
푸시 실패 시 실패 이유 출력 후 중단.
2. 중복 PR 체크
gh pr list --head "$current" --state open --json number,url,title
결과가 있으면 PR을 생성하지 않고 기존 PR URL을 출력한 뒤 종료:
ℹ️ 이미 열린 PR이 있습니다:
3. 연결 이슈 추출
브랜치 이름에서 이슈 번호를 파싱:
- 패턴:
<prefix>/<N>-<slug>→ N 추출 - 매칭 실패 시 AskUserQuestion으로 이슈 번호 직접 입력 요청 (또는 "이슈 없음" 선택 가능)
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.
- today First seen · 335 lines · 18 tokens per session scan A 6fec3e9480c6
pr is a command published in the GitHub repository mash-up-kr/Team-MINO-Android (7 stars, last pushed 16d ago), licensed Apache-2.0. It adds 18 tokens to every session and 3,994 once invoked, about $0.0001 per session on Opus 5.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-10-02.
Other commands, from other repositories
devkit.github.review-pr
Provides comprehensive GitHub pull request review with code quality, security, and best practices analysis. Use when reviewing a PR before merging.
speckit.spex.submit
Push and create PR for team review, with optional watch mode for CI monitoring.
git
The pre-finish status: branch, hygiene findings, message checks, workflow lint, template state.
merge-conflict-analysis
You are analyzing merge conflicts for PR #${{ pr-number }}.
release-tag
Create and push a version tag after a release PR has been merged.
code-review
Code review for branch changes. Analyzes git diff between branches with multi-level depth (low/medium/high). Matches changes against task description. Returns structured report with severity levels and verdict.