본문으로 건너뛰기
cccskills
무료GitHub에 공개

my-pr-checker

Manage your own GitHub pull request by checking CI results, review comments, and unresolved threads. Triage feedback, make code fixes, reply to comments, resolve threads, and recheck until outstanding issues are cleared.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

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

실행 점수 미검증

설치 방법 보기

이럴 때 유용합니다

  • Check CI and review feedback on your own pull request
  • Triage bot and human comments and fix relevant issues
  • Resolve review threads after replying with an update
  • Recheck a pull request after pushing fixes

포함된 파일(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 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

bat-adhoc

무료

Design and run focused acceptance scenarios to check MCP tools through real agent CLIs such as Claude or Gemini. Review task completion, tool failures, and detailed run output, and compare branches when investigating a regression.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Validate MCP tool changes in a pull request
  • Check whether a tool regression occurs from an agent’s perspective
  • Run an end-to-end scenario with Claude or Gemini CLI
homeassistant-ai/ha-mcp5.4천2026년 10월 29일 업데이트

Compare MCP tool behavior in a target version with a released baseline. It selects relevant prebuilt scenarios, designs custom regression stories, runs them with agent CLIs, verifies outcomes, and reports behavior, tool usage, and cost trends.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Compare tool behavior between a release and a code change
  • Choose test stories that exercise modified MCP tools
  • Create regression scenarios for changed code paths
homeassistant-ai/ha-mcp5.4천2026년 10월 29일 업데이트

Review an external GitHub pull request for security concerns, test coverage, change size, and alignment with its linked issue or stated purpose. It summarizes findings and drafts a constructive review comment for you to approve before posting.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Review an external contribution before deciding whether it is ready to merge
  • Check whether a pull request has tests for its changed code
  • Assess whether a contributor’s changes match the linked issue
homeassistant-ai/ha-mcp5.4천2026년 10월 29일 업데이트

Finds authors of merged pull requests who are missing from a README contributors list, drafts concise descriptions of their work, and updates the list only after the user approves the proposed additions.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Find recent merged PR authors missing from the contributor list
  • Draft factual one-line summaries of contributors’ changes
  • Update a README after reviewing proposed additions
homeassistant-ai/ha-mcp5.4천2026년 10월 29일 업데이트

Analyze a GitHub issue by exploring related code, checking relevant external details, and assessing implementation complexity and architectural choices. The skill drafts a structured issue comment and recommends labels for maintainers to review.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Assessing the complexity of a GitHub issue
  • Planning implementation approaches
  • Preparing an issue analysis and labels
homeassistant-ai/ha-mcp5.4천2026년 10월 29일 업데이트

Take a GitHub issue through implementation in a worktree, tests, and a draft pull request. The skill then checks CI results and review threads, applies fixes, and repeats the review cycle until the pull request is ready for maintainer review.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Implementing a GitHub issue end to end
  • Creating a draft pull request from an issue
  • Resolving CI failures and review comments
homeassistant-ai/ha-mcp5.4천2026년 10월 29일 업데이트

homeassistant-ai의 스킬 모두 보기

이 스킬의 문제 신고