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
- PR ID and URL
- Updated title and description
- Current status
- 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