원클릭으로
pr
Create a pull request for the current branch using `gh`.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Create a pull request for the current branch using `gh`.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Check and fix milestones on PRs and their associated issues. Sets PR milestones based on the branch they merged into, and issue milestones based on the smallest version with a merged fix. Triggers on: check milestones, fix milestones, /check-milestones.
Delete local branches whose PRs have been merged upstream. Checks GitHub PR status for each branch. Triggers on: clean branches, delete merged branches, prune branches, branch cleanup.
Force-push a branch and all its downstream branches to origin. Auto-detects the downstream tree and skips branches already up-to-date. Triggers on: force push downstream, push chain, push all branches.
Implement review feedback on a PR. Checks out the branch, applies reviewer-requested changes, runs preflight, commits, and pushes. Triggers on: impl-review, implement review, implement review feedback, address review comments.
Re-run failed GitHub Actions CI jobs for a PR. Detects failure type (build vs test) and reruns only failed jobs. Triggers on: make ci green, retry ci, rerun ci, fix ci, re-run failed jobs, retrigger ci.
Run all preflight checks (format, lint, build, tests) to make sure the current work is ready for review. Auto-detects project type.
| name | pr |
| description | Create a pull request for the current branch using `gh`. |
Create a pull request for the current branch using gh.
git branch --show-currentgit log main..HEAD --oneline 2>/dev/null || git log master..HEAD --onelinegit diff main...HEAD --stat 2>/dev/null || git diff master...HEAD --statREPO=$(gh repo view --json nameWithOwner -q .nameWithOwner)
BASE=$(git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@refs/remotes/origin/@@' || echo "main")
Use $REPO for all gh commands. Use $BASE wherever a base branch is needed.
gh pr list --repo $REPO --state merged --limit 5 --json title,body
Check for a PR template:
cat .github/PULL_REQUEST_TEMPLATE.md 2>/dev/null || cat .github/pull_request_template.md 2>/dev/null || echo "NO_TEMPLATE"
If a template exists, fill it out with the relevant information from the changes. If no template exists, write a brief, factual body.
Run git push -u origin HEAD.
Use gh pr create --repo $REPO with:
Fixes #<number> or Closes #<number>).Keep the description concise. Just state what was done. No filler.
CRITICAL: Ensure no Co-Authored-By lines appear anywhere in the commits
or PR body. Sole authorship policy — no AI attribution.
Print the PR URL for the user.