Skip to content
Development
Command

/approve-pr

Approve a pull request after verifying it meets quality standards.

From plugin
rohitg00-claude-code-toolkit
2.5k199 skills138 agents199 commands
Install
$ npx -y skills add rohitg00/awesome-claude-code-toolkit --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/approve-pr

Context preview

What this command does when you run it.

Approve a pull request after verifying it meets quality standards.

Command definition

approve-pr.md
name: approve-pr
description: Approve a pull request after verifying it meets quality standards.

Approve a pull request after verifying it meets quality standards.

Steps

1. Fetch PR details and verify it has been reviewed: `gh pr view <number>`. 2. Run the approval checklist:

  • [ ] PR description is clear and explains the motivation.
  • [ ] All CI checks are passing: `gh pr checks <number>`.
  • [ ] Tests are included for new functionality.
  • [ ] No secrets or credentials in the diff.
  • [ ] No critical code review findings unresolved.
  • [ ] Branch is up to date with base.

3. If all checks pass, submit approval:

  • `gh pr review <number> --approve --body "<summary>"`.

4. If checks fail, report which items need attention. 5. Optionally enable auto-merge if configured:

  • `gh pr merge <number> --auto --squash`.

Format

PR #<number>: <title>

Checklist:
  [x] Description clear
  [x] CI passing
  [x] Tests included
  [x] No secrets
  [x] No critical issues
  [x] Branch up to date

Status: Approved
Review comment: <summary of assessment>

Rules

  • Never approve without reviewing the full diff.
  • Verify CI checks are passing at the time of approval.
  • If the PR has outstanding review comments, ensure they are resolved.
  • Add a brief summary of what was reviewed in the approval comment.
  • Do not approve PRs that increase test failures or reduce coverage significantly.
Read more
Ships withrohitg00-claude-code-toolkit

The most comprehensive toolkit for Claude Code -- 135 agents, 35 curated skills (+400,000 via SkillKit), 42 commands, 176+ plugins, 20 hooks, 15 rules, 7 templates, 15 MCP configs, 26 companion apps, 53 ecosystem entries, and more.

Get the whole plugin