スキル一覧に戻る
garymjr

gh-pr

by garymjr

dotfiles, etc...

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

SKILL.md


name: gh-pr description: GitHub PR creation, update, and review-comment response using gh CLI. Use when asked to create/open a PR, draft a PR body, view PRs/diffs/comments, or reply to PR feedback.

Gh Pr

Overview

Create/update GitHub PRs and respond to review comments using gh CLI with clean, repeatable steps.

Workflow Decision Tree

  • Create or update PR: user asks to open/create/draft PR or wants a PR body.
  • Inspect PR: user asks to view PR, diff, or status.
  • Reply to review comments: user asks to address PR feedback or comment threads.

Create or Update PR

  1. Preflight
  • Check branch and changes: git status, git diff, git log -1.
  • Confirm base branch and target repo if unclear.
  • Run smallest relevant test; note command and result.
  1. Draft PR body

Use a short, concise body that explains the changes.

  1. Create or update PR
  • If creating: use gh pr create with title/body from above.
  • If updating: gh pr edit <num> to adjust title/body.

Inspect PR

  • Active PR: gh pr view --json number,title --jq '"PR #\(.number): \(.title)"'.
  • Diff: gh pr diff <num>.
  • Status/checks: gh pr view <num>.

Reply to Review Comments

  1. Load comments
  • gh pr view <num> --comments.
  • If needed: gh api repos/:owner/:repo/pulls/<num>/comments --paginate.
  1. Respond
  • Cite fix with file/line: path:line.
  • Resolve threads only after fix lands.

Reporting

  • Include: files touched, tests run, risks/unknowns.
  • Keep short; bullet list ok.

スコア

総合スコア

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

レビュー

💬

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