Agent skill
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.
Install this agent skill to your Project
npx add-skill https://github.com/rlcurrall/aide/tree/main/skills/pr-create
SKILL.md
Create Pull Request
Create a new pull request from the current branch.
When to Use
- User says "create a PR" or "open a pull request"
- User wants to submit code for review
- User has finished changes and needs to merge
- User wants to create a draft PR for early feedback
How to Execute
Run:
aide pr create --title "Title" [options]
Flags
Supports both GitHub CLI and Azure CLI style flags:
| Flag (gh-style) | Short | Aliases (az-style) | Description |
|---|---|---|---|
--title |
-t |
- | PR title (required) |
--body |
-b |
--description |
PR description/body |
--head |
-H |
--source, -s, --source-branch |
Source/head branch (defaults to current branch) |
--base |
-B |
--target, --target-branch |
Target/base branch (defaults to main) |
--draft |
-d |
- | Create as draft PR |
--tag |
- | - | Add tag(s) to the PR (repeatable) |
Output Includes
- PR ID and URL
- Title and description
- Source and target branches
- Status (draft or active)
Best Practices
- Use descriptive titles that summarize the change
- Include ticket references in title (e.g., "PROJ-123: Add feature")
- Start as draft if work is incomplete
- Always include a meaningful description
Common Patterns
# Basic PR creation
aide pr create --title "Add user authentication"
# With description
aide pr create --title "PROJ-123: Add OAuth" --body "Implements OAuth 2.0 with PKCE flow"
# Draft PR for early feedback
aide pr create --title "WIP: Refactor auth module" --draft
# Targeting specific branch
aide pr create --title "Hotfix: Login bug" --base release/v2.0
# With tags
aide pr create --title "PROJ-123: Fix performance" --tag bug --tag performance
PR Management Workflow
- Prepare branch: Ensure all changes are committed and pushed
- Create PR: Use appropriate flags for title, description, target
- Draft mode: Use
--draftfor work-in-progress - Monitor: Use pr-comments skill to track feedback
- Publish: Use pr-update skill with
--publishwhen ready
Next Steps
After creating a PR:
- Share the PR URL with reviewers
- Use pr-comments skill to monitor feedback
- Use pr-update skill to publish draft when ready
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.
ticket-transition
Change a Jira ticket's workflow status. Use when the user wants to move a ticket to a different status, start work, complete a task, or change workflow state.
Didn't find tool you were looking for?