본문으로 건너뛰기
cccskills
무료GitHub에 공개

pr-merge

Merge the current branch's PR after confirmation

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구GitHub
설치 방법 보기

포함된 파일(2)

  • SKILL.md2.0 KB
  • agents/openai.yaml43 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

pr-merge

Use this skill when the user asks to run the migrated command pr-merge or invokes $pr-merge.

Command Template

Merge PR

Merge the GitHub PR for the current branch. This is the ONLY authorized path to merge a PR.

Instructions

1. Find the PR

gh pr view --json number,url,title,state,mergeable,mergeStateStatus,reviewDecision,statusCheckRollup \
  --jq '{number, url, title, state, mergeable, mergeStateStatus, reviewDecision, checks: [.statusCheckRollup[]? | {name: .name, status: .status, conclusion: .conclusion}]}'

If no PR exists, stop: "No open PR found for branch $(git branch --show-current)."

2. Check Readiness

Report any blockers:

  • CI status: Are all checks passing? List any failures.
  • Review status: Is it approved, changes requested, or pending?
  • Merge conflicts: Is the branch mergeable?

If there are blockers, report them and stop. Do not proceed.

3. Confirm with User

Present the PR summary and ask for confirmation:

PR #<number>: <title>
CI: ✅ all passing (or ❌ N failing)
Reviews: ✅ approved (or ⚠️ pending / ❌ changes requested)
Conflicts: none (or ⚠️ has conflicts)

Merge method?

Use AskUserQuestion to let the user pick the merge method:

  • Squash merge — single commit on the target branch
  • Rebase merge — replay commits individually
  • Merge commit — traditional merge with merge commit
  • Cancel — abort without merging

4. Merge

gh pr merge <number> --<method> --delete-branch

Where <method> is squash, rebase, or merge based on the user's choice.

5. Report

✅ Merged PR #<number> via <method>
<pr_url>
Branch deleted: <branch>

6. Clean Up Local

git checkout main && git pull --prune

The --prune flag removes local remote-tracking refs for branches deleted on the remote (including the just-merged branch).

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

2ndbrain

무료

Quick-save the last assistant response as a verbatim note in the 2ndBrain Obsidian vault (~/2ndBrain/quick-notes/<year>/). Use when the user asks to quick-save/save the last response to 2ndBrain, or invokes $2ndbrain or /skill:2ndbrain.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

phatblat/dotfiles122026년 10월 20일 업데이트

Write commit messages under the agent-commits convention - a Conventional Commits fork with no chore catch-all, intent-only type tokens, facts in trailers, and legally-grounded AI provenance (Assisted-by, never Co-authored-by). Use when composing a commit in a repo whose commitlint.config.js extends agent-commits, when deciding between feat/fix/refactor/perf, or when recording AI participation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

phatblat/dotfiles122026년 10월 20일 업데이트

Coordinate multi-agent work through durable artifacts in git instead of chat. Use this whenever a task involves sending a message to another agent, agent mailboxes or handoffs, claiming work from a shared queue, notifying another agent or crew (OpenClaw, Grok Bot, Claude Code, Codex, Gas Town/Gas City workers) that work is ready, or whenever the user mentions the artifact bus, message bus, agent mail, beads mail, doorbells, or pings between agents — even if they don't say "bus" explicitly.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

phatblat/dotfiles122026년 10월 20일 업데이트

aven

무료

Use aven to find tasks, update status, and leave durable handoff context.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

phatblat/dotfiles122026년 10월 20일 업데이트

Plan, order and deliver a batch of backlog items (e.g. every High item) in a Conventional Docs repo, one decision, branch, worktree, draft PR, review and merge per item. Use when asked to work through the backlog, implement all items of a priority, or sequence several backlog items end to end.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

phatblat/dotfiles122026년 10월 20일 업데이트

boris

무료

Codex workflow tips from Boris Cherny and the Codex team. Use when setting up Codex or optimizing workflows: parallel sessions, worktrees, plan mode, AGENTS.md, skills, subagents, hooks, MCP, permissions, and sandboxing.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

phatblat/dotfiles122026년 10월 20일 업데이트

phatblat의 스킬 모두 보기

이 스킬의 문제 신고