pr-completion | Skill Performance & Reviews | TopRankSkills

TopRank Skills

Home / Skills / tools / pr-completion

pr-completion

maintained by kamushadenes

star 0 account_tree 0 verified_user MIT License
bolt View GitHub

name: pr-completion description: Ensure PR checks pass and conflicts are resolved before completing tasks. Use after creating a PR, when marking tasks as done, or when completing work that resulted in a PR.

PR Completion Workflow

Before marking a task as done after creating a PR, verify:

  1. All PR checks pass
  2. No merge conflicts exist

Check PR Status

# View PR checks
gh pr checks

# View PR status (includes mergeable state)
gh pr view --json state,mergeable,mergeStateStatus

Wait for Checks

If checks are pending:

# Wait for checks to complete (blocking)
gh pr checks --watch

If checks fail:

  1. Read check logs: gh pr checks --json name,state,conclusion
  2. Fix failing checks
  3. Push fixes
  4. Re-verify with gh pr checks --watch

Resolve Conflicts

If PR has conflicts (mergeable: CONFLICTING):

# Update branch from base
gh pr update-branch

# Or rebase locally
git fetch origin
git rebase origin/main
# Resolve conflicts
git add .
git rebase --continue
git push --force-with-lease

Completion Checklist

Before set_task_status --status=done:

  • gh pr checks shows all checks passing
  • gh pr view --json mergeable shows MERGEABLE

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!

Skill Details

GitHub Stars 0
GitHub Forks 0
Created Jan 2026
Last Updated 5 months ago
tools tools git workflows

Related Skills

pr

pr

MoonshotAI
star 6.1k
chevron_right
feature-dev
chevron_right
drafting-pr
chevron_right
creating-pr
chevron_right
checking-docs
chevron_right

Build your own?

Join 12,000+ developers contributing to the Claude ecosystem.