بنقرة واحدة
approve
Approve a pull request using gh pr review --approve
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Approve a pull request using gh pr review --approve
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Batch-triage open pull requests: list PRs with prs-awaiting-maintainer, review each with review-pr, then post-review-comments when there are merge-blocker findings, or create-scrap-issue for non-blocking findings and merge-pr when there are none. Use when the user wants to review and resolve a batch of PRs in one pass.
Clean up unnecessary local branches and prune stale remote-tracking branches
Clean git worktrees created by git-worktree-runner
Commit current changes, push to remote, and create or update a pull request. Use when the user wants to commit and create a PR, push changes and open a pull request, or ship their current work as a PR.
Analyze the differences between the current branch and origin/main, and summarize the current work progress
Prepare a new npm release: bump the version, open a release PR, and create a draft GitHub release. Publishing is automated by the Publish workflow once the release PR is merged into main.
| name | approve |
| description | Approve a pull request using gh pr review --approve |
Approve a pull request using gh pr review --approve.
$ARGUMENTS
Parse $ARGUMENTS to identify the PR to approve:
123, #123, https://github.com/owner/repo/pull/123gh pr view --json number,title,state
If the PR cannot be determined (e.g., no PR exists for the current branch, or the argument is ambiguous), ask the user to specify which PR to approve.
Before approving, confirm the PR details:
gh pr view <pr_number> --json number,title,state,author,baseRefName,headRefName,isDraft
Check:
OPENisDraft is false)If the PR is not open or is a draft, inform the user and stop.
Execute the approve command:
gh pr review <pr_number> --approve
Important: Only approve ONE PR at a time. If multiple PRs are somehow specified, ask the user which single PR to approve.
If you want to add a comment along with the approval, use the --body option:
gh pr review <pr_number> --approve --body "<approval_comment>"
After approving: