Create pull request
Creates pull requests with title, description, and branch configuration options.
/plugin marketplace add rlcurrall/aide/plugin install aide@aide-marketplaceCreate a new pull request from the current branch.
/aide:pr-create --title "Title" - Create PR with title (uses current branch as head, default base branch)
/aide:pr-create -t "Title" -b "Description" - Create PR with title and body (gh-style short flags)
/aide:pr-create --title "Title" --base main - Create PR targeting specific base branch
/aide:pr-create --title "Title" --body "Details" - Create PR with body/description
/aide:pr-create --title "Title" --draft - Create PR as draft
/aide:pr-create --head feature/xyz --base develop --title "Title" - Specify both head and base branches (gh-style)
/aide:pr-create --source feature/xyz --target develop --title "Title" - Specify both branches (az-style, aliases)
Run the following command with the provided arguments:
aide pr create $ARGUMENTS
Flags follow GitHub CLI (gh) conventions with Azure CLI (az) compatibility aliases.
| 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 |
Displays the created PR details including:
After creating a PR:
/aide:pr <pr-id> to monitor feedback/aide:pr-update <pr-id> --publish when ready to publish a draft/pr-create> 不再推荐:请优先使用 `/pr-create-smart` 生成高质量的 PR 描述草稿,然后使用 gh/GUI 创建 PR。本命令属于“端到端自动创建 PR(保留模板、自动打标签、创建 Draft)”的旧方案,仅为兼容保留。
/pr-createCreates Pull Requests automatically by analyzing your Git changes for a smoother workflow.
/pr-create> 不再推薦:請優先使用 `/pr-create-smart` 生成高質量的 PR 描述草稿,然後使用 gh/GUI 創建 PR。本命令属于“端到端自動創建 PR(保留模板、自動打標簽、創建 Draft)”的旧方案,仅為兼容保留。