Approve pr

From vultisig/vultisig-windows · View interactive version

Approve pr is an AI agent skill from the GitHub repository vultisig/vultisig-windows. Approve and merge a GitHub PR. Use when you want to approve and merge the current branch's PR, or a specific PR number.

How to use this skill

Skill file

Approve and Merge PR

Usage

/approve-pr — approves and merges the PR for the current branch

/approve-pr 123 — approves and merges PR #123

Workflow

1. Resolve PR Number

If a PR number was passed as argument, use it. Otherwise:

gh pr view --json number --jq '.number'

2. Check PR Status

gh pr view <number> --json title,state,mergeable,statusCheckRollup,reviews

3. Approve

gh pr review <number> --approve

4. Merge (squash by default)

gh pr merge <number> --squash --auto

Use --auto so it merges once all required checks pass. If the PR is already mergeable now, it merges immediately.

5. Confirm

Print the PR URL and confirm it was approved and queued for merge.

Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.