Agent Skills: Update Pull Request

Update an existing pull request. Use when the user wants to modify PR title, description, publish a draft, convert to draft, abandon, or reactivate a PR.

UncategorizedID: rlcurrall/aide/pr-update

Install this agent skill to your local

pnpm dlx add-skill https://github.com/rlcurrall/aide/tree/HEAD/skills/pr-update

Skill Files

Browse the full folder contents for pr-update.

Download Skill

Loading file tree…

skills/pr-update/SKILL.md

Skill Metadata

Name
pr-update
Description
Update an existing pull request. Use when the user wants to modify PR title, description, publish a draft, convert to draft, abandon, or reactivate a PR.

Update Pull Request

Update an existing pull request's title, description, or status.

When to Use

  • User wants to update PR title or description
  • User wants to publish a draft PR
  • User wants to convert PR back to draft
  • User wants to abandon or reactivate a PR

How to Execute

Run:

aide pr update [--pr <id>] [options]

Flags

| Flag | Description | |-----------------|---------------------------------| | --pr | PR ID (auto-detected if omitted)| | --title | Update PR title | | --description | Update PR description | | --target | Change target/base branch | | --draft | Convert to draft PR | | --publish | Publish draft PR (make active) | | --abandon | Abandon the PR | | --activate | Reactivate an abandoned PR |

Output Includes

  1. PR ID and URL
  2. Updated title and description
  3. Current status
  4. Confirmation of changes made

Common Patterns

# Update title (auto-detect PR from branch)
aide pr update --title "PROJ-123: Improved auth flow"

# Update specific PR's description
aide pr update --pr 24094 --description "Updated implementation notes"

# Publish draft when ready for review
aide pr update --pr 24094 --publish

# Convert back to draft if more work needed
aide pr update --pr 24094 --draft

# Abandon PR
aide pr update --pr 24094 --abandon

# Reactivate abandoned PR
aide pr update --pr 24094 --activate

PR Lifecycle Management

| Status | Action | Use Case | |-------------|----------------------|---------------------------------------| | Draft | --publish | Ready for review | | Active | --draft | Need more work before review | | Active | --abandon | Close without merging | | Abandoned | --activate | Reopen previously abandoned PR |

Best Practices

  • Update description as implementation evolves
  • Publish drafts only when truly ready for review
  • Use abandon instead of deleting to preserve history
  • Keep title synchronized with actual changes

Next Steps

After updating a PR:

  • Use pr-comments skill to check for new feedback
  • Use pr-view skill to verify changes