원클릭으로
review-pr-local
Reviews a PR from the main repository without a worktree. Use for lightweight PR review.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Reviews a PR from the main repository without a worktree. Use for lightweight PR review.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Implements a task from spec/tasks in a git worktree following TDD. Use when working on a specific task by keyword.
Analyzes ROADMAP and implements tasks in parallel using worktrees and subagents. Use when starting implementation work.
Cleans up completed phases in ROADMAP, moving relevant info to specs or docs.
Implements a task locally (without worktree) following TDD with IPC status reporting. Use when working on a task in an existing branch.
Creates a new task file from template. Use when adding a new task to the project.
Merges an approved PR and performs post-merge cleanup. Use after PR is approved.
| name | review-pr-local |
| description | Reviews a PR from the main repository without a worktree. Use for lightweight PR review. |
PR $ARGUMENTS をレビューします。
gh pr view $ARGUMENTS --json title,body,headRefName,baseRefName,additions,deletions,files
gh pr diff $ARGUMENTS
PR のブランチ名やタイトルから対応するタスクファイルを特定し、spec を読む:
ls spec/tasks/*.md spec/tasks/completed/*.md
# 該当タスクファイルを読む
gh pr checks $ARGUMENTS
CI が失敗していれば報告。
以下の 全ての 観点でレビュー:
any や unsafe cast がないか指摘事項がある場合は PR に comment として投稿。
ファイルの特定行への指摘:
gh api repos/{owner}/{repo}/pulls/$ARGUMENTS/comments \
--method POST \
-f body="指摘内容" \
-f path="src/path/to/file.ts" \
-f commit_id="$(gh pr view $ARGUMENTS --json headRefOid -q .headRefOid)" \
-f line=42 \
-f side="RIGHT"
全体所見:
gh pr comment $ARGUMENTS --body "..."
注意: 同一アカウントでは approve/request-changes は使用不可。gh pr comment のみ使用する。
## Review Summary
[1-2 sentence summary]
## Spec Compliance
- ...
## Findings
### Critical (must fix)
- [ ] file:line - 説明
### Improvement (should fix)
- [ ] file:line - 説明
### Minor (still fix)
- [ ] file:line - 説明
## Verdict
LGTM / NEEDS_CHANGES
レビュー結果の最後に、必ず以下の形式のマーカーを出力すること。 これは hook による機械的検証に使用される。省略不可。
<!-- REVIEW_RESULT:{"verdict":"LGTM","findings_count":0} -->
または:
<!-- REVIEW_RESULT:{"verdict":"NEEDS_CHANGES","findings_count":3} -->
ルール:
findings_count: Critical + Improvement + Minor の合計数findings_count > 0 なら verdict は必ず NEEDS_CHANGESfindings_count == 0 の場合のみ verdict は LGTM重要:
NEEDS_CHANGESLGTM