本文へ移動
cccskills
無料GitHub で公開日本語紹介

my-pr-checker

自分が作成したGitHub PRのCI、レビューコメント、未解決スレッドを確認し、指摘の修正から再チェックまで進めるスキルです。

原文原文の説明を見る

Manage your own GitHub pull requests — check CI status, inline review comments, PR-level comments, resolve review threads, fix issues, and iterate until all checks pass and threads are resolved. Use for managing your own PRs (not external contributions). Triggers on "check my PR", "check PR", "/my-pr-checker <number>".

homeassistant-ai/ha-mcpスター 5,352(GitHub 5,352 + cccskills 0)
連携ツールGitHub

実行スコア 未検証

インストール方法を見る

こんなときに便利

  • 自分のPRのCI状況を確認したいとき
  • レビュー指摘を整理して修正したいとき
  • 修正後にレビュー項目を解決したいとき
  • 再プッシュ後のCIを確認したいとき

日本語での紹介

できること

自分が作成したGitHub PRの状態を確認し、対応が必要な指摘を解消する作業を進めます。PRの概要とCI結果、行単位のレビューコメント、PR全体へのコメント、未解決のレビュー項目を集め、人の指摘を優先しながら、ボットの提案も妥当性を判断します。必要なコード修正を行って変更をプッシュし、コメントへの返信とスレッドの解決を行った後、CIとレビュー状態を再確認します。

こんなときに便利

自分のPRに届いたレビューを整理し、修正と返信をまとめて進めたいときに使えます。指摘を対応済みにした後、CIが通り未解決スレッドがなくなるまで状況を追いたい場合にも向いています。

使い方の例

  • 「自分のPR 123のCIとレビュー指摘を確認して」
  • 「未解決コメントを確認し、必要な修正を進めて」
  • 「修正後にレビューへの返信とCIの再確認をして」

注意点

対象は自分が作成したPRで、外部コントリビューターのPRレビューには使いません。GitHub CLIのghとGitHub APIを使います。PRを自動でマージしない手順です。リベース、PRの作り直し、コメント削除には個別の利用者承認が必要とされています。

この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。

含まれるファイル(1)

  • SKILL.md4.8 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

My PR Checker

Review and resolve all outstanding issues on PR #$ARGUMENTS in homeassistant-ai/ha-mcp.

Step 1: Full PR Assessment

# PR overview
gh pr view "$ARGUMENTS" --repo homeassistant-ai/ha-mcp \
  --json title,body,state,reviews,statusCheckRollup,headRefName,additions,deletions,changedFiles

# CI checks
gh pr checks "$ARGUMENTS" --repo homeassistant-ai/ha-mcp

# Inline review comments
gh api repos/homeassistant-ai/ha-mcp/pulls/"$ARGUMENTS"/comments \
  --jq '.[] | {id, path, line, author: .user.login, body}'

# PR-level comments
gh api repos/homeassistant-ai/ha-mcp/issues/"$ARGUMENTS"/comments \
  --jq '.[] | {id, author: .user.login, body}'

# Unresolved review threads
gh api graphql -F pr="$ARGUMENTS" -f query='query($pr: Int!) { repository(owner:"homeassistant-ai", name:"ha-mcp") { pullRequest(number:$pr) { reviewThreads(first:100) { nodes { id isResolved path line comments(first:1) { nodes { databaseId body author { login } } } } } } } }'

Step 2: Triage Comments

  • Human comments: highest priority
  • Bot comments (Copilot, Codex, CodeRabbit, etc.): treat as suggestions — assess whether they prevent a bug or improve maintainability; dismiss with explanation if not

Accept if: prevents a bug, improves clarity for future maintainers, aligns with project conventions, addresses security. Dismiss if: incorrect suggestion, reduces readability, conflicts with project patterns, already handled elsewhere.

Step 3: Fix Code Issues

gh pr checkout "$ARGUMENTS" --repo homeassistant-ai/ha-mcp
# make changes
git add <files>
git commit -m "fix: address review feedback - [description]"
git push

Fix unrelated test failures encountered (document in final summary).

After each push, if the scope changed, update the PR description:

gh pr edit "$ARGUMENTS" --repo homeassistant-ai/ha-mcp --body "..."

Step 4: Resolve Each Thread (both steps required)

# 1a. Reply on inline thread
gh api repos/homeassistant-ai/ha-mcp/pulls/"$ARGUMENTS"/comments/<COMMENT_ID>/replies \
  -f body="✅ Fixed in [commit]. [explanation]"
# or for dismissed:
gh api repos/homeassistant-ai/ha-mcp/pulls/"$ARGUMENTS"/comments/<COMMENT_ID>/replies \
  -f body="📝 Not addressing because [reason]."

# 1b. PR-level summary comment (when there are multiple inline threads)
gh pr review "$ARGUMENTS" --repo homeassistant-ai/ha-mcp \
  --comment --body "✅ Addressed review feedback in [commit]. [summary]"

# 2. Resolve thread via GraphQL
gh api graphql -f query='mutation($threadId: ID!) { resolveReviewThread(input: {threadId: $threadId}) { thread { id isResolved } } }' \
  -f threadId="<PRRT_...>"

Why: Unresolved threads block merging even after approval.

Step 5: Wait and Re-check

gh pr checks "$ARGUMENTS" --repo homeassistant-ai/ha-mcp --watch

Repeat Steps 1–5 until:

  • All CI checks green ✅
  • All review threads resolved ✅
  • No new blocking comments ✅

Step 6: Final Report

If improvements were identified during review, default to fix-in-place per AGENTS.md § Boy Scout Rule — Handling Discovered Improvements. Only add to the PR description's ## Future improvements section if the user has explicitly confirmed the work is out of scope. Never self-bucket findings there.

Post a summary comment:

gh pr comment "$ARGUMENTS" --repo homeassistant-ai/ha-mcp --body "## PR Assessment Summary

✅ **Status**: Ready for review/merge

**Choices Made:**
- [key decisions when resolving issues]

**Problems Encountered:**
- [issues faced and how resolved]
- [unrelated test failures fixed, if any]
"

Special Operations

Use these when needed. Re-creating the PR (which closes it) and deleting a comment each need the user's approval for that exact action first:

  • Rebase: gh pr checkout "$ARGUMENTS" && git rebase master && git push --force-with-lease
  • Re-create PR: gh pr close "$ARGUMENTS" --repo homeassistant-ai/ha-mcp then gh pr create --draft … with the same branch
  • Delete comment: gh api -X DELETE repos/homeassistant-ai/ha-mcp/issues/comments/<id>
  • Update title: gh pr edit "$ARGUMENTS" --repo homeassistant-ai/ha-mcp --title "new title"

Rules

  • NEVER merge automatically unless explicitly asked
  • Be conservative dismissing feedback — when in doubt, ask the user
  • If CI keeps failing on the same issue after 3 attempts, report the blocker rather than looping

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

bat-adhoc

無料概要あり

実際のAIエージェントからMCPツールを操作する受け入れテストを組み立て、実行結果や失敗内容を確認し、必要に応じてブランチ間の動作を比較するスキルです。

  • PRのMCPツール変更を検証したいとき
  • エージェント視点で回帰を調べたいとき
  • ClaudeやGeminiで一連の動作を試したいとき
homeassistant-ai/ha-mcp5,3522026年10月29日 更新

bat-story-eval

無料概要あり

MCPツールの変更前後を、既存と独自のストーリーで複数のエージェントから検証し、実行結果やツール選択、コストの差を比較するスキルです。

  • リリース版と変更中の動作を比較したいとき
  • 変更箇所に合うテストストーリーを選びたいとき
  • 未カバーの回帰シナリオを作りたいとき
homeassistant-ai/ha-mcp5,3522026年10月29日 更新

contrib-pr-review

無料概要あり

外部からのGitHub PRを安全性、テスト状況、変更規模、目的との整合性から確認し、レビュー結果と投稿前のコメント案をまとめるスキルです。

  • 外部コントリビューターのPRをレビューしたいとき
  • 変更コードのテスト状況を確認したいとき
  • PRと関連Issueの整合性を見たいとき
homeassistant-ai/ha-mcp5,3522026年10月29日 更新

contributors-update

無料概要あり

READMEの貢献者一覧を確認し、更新以降にマージされたPRから未掲載の執筆者を探して、承認後に追加するスキルです。

  • PR執筆者の掲載漏れを探したいとき
  • 貢献者一覧の追加案を作りたいとき
  • READMEの貢献者欄を更新したいとき
homeassistant-ai/ha-mcp5,3522026年10月29日 更新

issue-analysis

無料概要あり

GitHub Issueに関連するコードを調べ、実装の選択肢や難易度、設計上の影響を整理して、ラベルと分析コメント案を作成します。

  • Issueの難易度を実装前に把握したいとき
  • 実装方針の選択肢を比較したいとき
  • Issueの分析コメント案を作成したいとき
homeassistant-ai/ha-mcp5,3522026年10月29日 更新

issue-to-pr-resolver

無料概要あり

GitHubのIssueを起点に、作業ブランチで実装とテストを行い、Draft PRの作成からCI失敗やレビューコメントの解消まで進めます。

  • GitHub Issueを実装からPRまで進めたいとき
  • IssueからDraft PRを作成したいとき
  • CI失敗やレビューコメントを解消したいとき
homeassistant-ai/ha-mcp5,3522026年10月29日 更新

homeassistant-ai のスキルをすべて見る

このスキルの問題を報告する