Skip to content

Create pr

create pr - Create pull request with AI-generated description

Creates a pull request for the current workspace branch with an AI-generated title and description based on all commits in the branch.

This command: 1. Validates the workspace is ready for PR 2. Pushes the branch to origin if needed 3. Analyzes all commits to generate PR title and description 4. Creates the pull request using GitHub CLI

Requires GitHub CLI (gh) to be installed and authenticated.

Flags

Flag Description
--target (default: main) Target branch for the pull request
--title Custom PR title (description still AI-generated)
-d, --debug (default: false) Enable debug mode for AI generation

Notes

Expected Output:

  • PR created on GitHub
  • PR URL printed to stdout
  • AI-generated title and description based on commits

Examples

create pr
create pr --target=develop
create pr --title "Add authentication feature"
create pr --debug

See Also


Tutorials | How-to Guides | Explanation | Reference

You are here: Reference — information-oriented technical descriptions of the system.