Agent skill

pr-update

Update an existing pull request's description or metadata

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/pr-update

SKILL.md

PR Update

The Orchestrator drives this workflow. Update an existing PR's title, description, labels, or other metadata.

Prerequisites: PR already exists and is open.


Process

  1. Identify the PR to update (by number or current branch)
  2. Determine what needs updating:
    • Title
    • Description/body
    • Labels
    • Target branch
  3. Compose the updated content
  4. Present changes for approval

Output

markdown
## Context Anchors

- **PR:** #<pr-number> - <title>
- **Issue:** #<issue-number>

## Proposed Updates

| Field   | Current         | New         |
| ------- | --------------- | ----------- |
| <field> | <current value> | <new value> |

## Next Step

Awaiting approval to update PR.

**Approval Required:** Yes

⛔ CHECKPOINT

STOP. Do not proceed until human approves the proposed changes.

  1. Execute the update via forge operations
  2. Report the result

Error Handling

Error Recovery
PR not found Verify PR number or branch
PR already closed Cannot update closed PRs
Permission denied Check repository access

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results