Agent skill
pr-update
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.
Install this agent skill to your Project
npx add-skill https://github.com/rlcurrall/aide/tree/main/skills/pr-update
SKILL.md
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 |
--tag |
Add tag(s) to the PR (repeatable) |
--remove-tag |
Remove tag(s) from the PR (repeatable) |
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
# Add tags
aide pr update --tag bug --tag performance
# Remove tags
aide pr update --remove-tag "old-tag"
# Tag-only update (no other fields needed)
aide pr update --tag "new-tag"
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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
release
Create a new software release by bumping version numbers, committing changes, creating git tags, and pushing to remote. Use when creating a release, bumping versions, or publishing a new version.
ticket-attach
Manage Jira ticket attachments. Use when the user wants to list, upload, download, or delete attachments on a ticket.
pr-comments
Load PR comments and feedback for code review. Use when the user wants to see reviewer feedback, check for unresolved comments, understand what changes are requested, or review discussion on a PR.
pr-list
List pull requests from the repository. Use when the user wants to see open PRs, find PRs to review, check their own PRs, or browse PR history.
ticket-update
Update fields on an existing Jira ticket. Use when the user wants to modify a ticket's summary, description, assignee, priority, labels, or custom fields.
pr-create
Create a new pull request. Use when the user wants to open a PR, submit code for review, create a draft PR, or push changes for merge.
Didn't find tool you were looking for?