スキル一覧に戻る
Kurogoma4D

pr-review-check

by Kurogoma4D

1🍴 0📅 2026年1月18日
GitHubで見るManusで実行

SKILL.md


name: pr-review-check description: Check Pull Request on current branch, and obtain unresolved review comments. gh command is required. Use this when user instructed with PR review comment PR レビューコメント etc. allowed-tools: Read, Bash(cat:), Bash(gh:), Bash(jq:*)

Get Unresolved Review Comments for Current Branch's PR

# Save query to a temp file
cat > /tmp/query.graphql << 'EOF'
query($owner: String!, $repo: String!, $number: Int!) {
  repository(owner: $owner, name: $repo) {
    pullRequest(number: $number) {
      reviewThreads(first: 100) {
        nodes {
          isResolved
          comments(first: 10) {
            nodes {
              body
              author { login }
              path
              line
            }
          }
        }
      }
    }
  }
}
EOF

# Execute
gh api graphql \
  -f query="$(cat /tmp/query.graphql)" \
  -f owner="$(gh repo view --json owner --jq '.owner.login')" \
  -f repo="$(gh repo view --json name --jq '.name')" \
  -F number="$(gh pr view --json number --jq '.number')" \
  | jq '.data.repository.pullRequest.reviewThreads.nodes | map(select(.isResolved == false))'

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です