ワンクリックで
github-pr
Draft and create pull requests using the repository's conventions and template
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Draft and create pull requests using the repository's conventions and template
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Write documentation consumed by LLM agents — AGENTS.md, skill files, .ai/ plans, and agent instructions
Write documentation for human readers — READMEs, design docs, protocol specs, ADRs, runbooks, and API guides
Iterate on Grafana dashboard JSON files. Use when the user wants to create, modify, or fix Grafana dashboards — including panel layout, queries, colors, variables, and styling.
Inspect local OpenCode session data safely with the `opencode db` command
Keep DESIGN.md and plan docs synchronized with implementation decisions across repositories
Apply a rigorous distributed-systems lens for design, debugging, and implementation
| name | github-pr |
| description | Draft and create pull requests using the repository's conventions and template |
Determine base branch
base branch is <branch> or use <branch> as the base.git symbolic-ref refs/remotes/origin/HEADgit rev-parse --verify refs/remotes/origin/maingit rev-parse --verify refs/remotes/origin/mastergit rev-parse --verify maingit rev-parse --verify masterInvalid base branch: <name>.Find PR template
.github/pull_request_template.md.github/PULL_REQUEST_TEMPLATE.md.github/PULL_REQUEST_TEMPLATE/*.md.github/pull_request_template/*.md## Summary, ## Testing, ## Risks.Analyze branch changes
head/tail (pipes break permission matching).30 commits for log context unless the prompt explicitly asks for a different count.
git branch --show-current
git diff --stat <base>...HEAD
git diff <base>...HEAD
git log --oneline -<N> HEAD
Draft PR
N/A.Construct command
gh pr create command using shell-safe quoting.--body-file - <<'EOF' to avoid brittle inline escaping.gh pr create --base "$BASE" --title "$TITLE" --body-file - <<'EOF'
<body>
EOF
BASE and TITLE with shell-safe quoting when they contain spaces or special characters.Present and confirm
Title:, Body:, the exact command, then Run this command?gh pr create, gh pr edit, gh pr merge, gh pr close, and any equivalent GitHub write action.