Pull Request の変更内容を包括的にレビューし、GitHub に直接コメントを投稿します。
Analyzes pull request changes and posts comprehensive code review comments directly to GitHub.
/plugin marketplace add shiiman/claude-code-plugins/plugin install shiiman-git@shiiman-claude-code-pluginsPull Request の変更内容を包括的にレビューし、GitHub に直接コメントを投稿します。 コード品質、設計、可読性の観点から改善提案を行います。
# PR の詳細を取得
gh pr view {pr番号} --json title,body,additions,deletions,changedFiles,files
# PR の差分を取得
gh pr diff {pr番号}
# PR のコメントを取得
gh api repos/{owner}/{repo}/pulls/{pr番号}/comments
# PR 全体にレビューを投稿(approve / comment / request-changes)
gh pr review {pr番号} --comment --body "レビュー内容"
# 特定の行にコメントを投稿
gh api repos/{owner}/{repo}/pulls/{pr番号}/comments \
-f body="コメント内容" \
-f commit_id="{sha}" \
-f path="ファイルパス" \
-F line={行番号}
| 観点 | 評価 | コメント |
|---|---|---|
| 設計 | ⭐⭐⭐ | 適切な責務分離 |
| 可読性 | ⭐⭐ | 一部コメント追加推奨 |
| テスト | ⭐⭐⭐⭐ | 十分なカバレッジ |
data → userResponse)# 現在のブランチの PR をレビュー
この PR をレビューして
# 特定の PR をレビュー
PR #123 をレビューして
Use this agent when analyzing conversation transcripts to find behaviors worth preventing with hooks. Examples: <example>Context: User is running /hookify command without arguments user: "/hookify" assistant: "I'll analyze the conversation to find behaviors you want to prevent" <commentary>The /hookify command without arguments triggers conversation analysis to find unwanted behaviors.</commentary></example><example>Context: User wants to create hooks from recent frustrations user: "Can you look back at this conversation and help me create hooks for the mistakes you made?" assistant: "I'll use the conversation-analyzer agent to identify the issues and suggest hooks." <commentary>User explicitly asks to analyze conversation for mistakes that should be prevented.</commentary></example>