원클릭으로
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.