GH PR Runner
Apps & Automationgh-pr-runnerGH PR Runner is an Agent Skill for apps & automation published in the discus0434/nook repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
`gh` CLI を用いたブランチ作成、PR 作成、レビュー確認、コメント返信、マージの流れを簡潔に再利用するガイド。
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/discus0434/nook/blob/HEAD/.codex/skills/gh-pr-runner/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/gh-pr-runner, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
gh PR Flow
トリガ
- 変更を PR にまとめるとき
- レビュー指摘に対応するとき
Quickstart
- ブランチ作成:
git checkout -b <branch> - 差分確認:
git status,git diff - 検証:
make post-change - PR 作成:
gh pr create --title "..." --body "..." - レビュー確認:
gh pr view/gh pr view --web - コメント返信:
gh pr comment <PR#> --body "..." - マージ:
gh pr merge --squash
ベストプラクティス
- PR 本文には目的、主要変更点、テスト結果、既知の注意点を書く
- 中規模以上の変更なら
specs/の技術仕様書要約も添える - force push や amend はリポジトリ方針と合意がある場合のみ行う