Description
Generates comprehensive pull request descriptions by analyzing commits, changed files, and linked tickets on your current branch. Supports PR templates and custom team guidelines. Aliases:p, pull
Usage
Options
string
Base branch to compare against. If not specified, auto-detects from repository or uses config default.
boolean
Create the PR on GitHub after generation
boolean
Create as a draft PR
boolean
Show preview before creating the PR
string
Include specific ticket/issue for context
boolean
Skip fetching ticket/issue context
boolean
Do not copy the PR description to clipboard
boolean
Ignore PR template, use default format
boolean
Skip including diff context in the AI prompt
boolean
Ignore custom PR prompt file (
.devdaily-pr-prompt.md)boolean
Interactive mode for selecting labels, reviewers, and assignees
boolean
Skip auto-saving a snapshot to the journal
boolean
Show debug information including prompts and raw AI input
Examples
Generate PR description
Generate and create PR
Create draft PR with preview
Interactive mode with labels and reviewers
Specify base branch
Include specific ticket
Skip template, use AI-only
PR Templates
DevDaily automatically detects PR templates in these locations:.github/pull_request_template.md.github/PULL_REQUEST_TEMPLATE.mddocs/pull_request_template.mdPULL_REQUEST_TEMPLATE.md
Custom PR Guidelines
Create a.devdaily-pr-prompt.md file in your repository root to customize how the AI generates PR descriptions:
Output
The PR description includes:- Auto-generated title based on commits
- Summary of changes
- Ticket links and context
- Testing notes
- Breaking changes (if any)
- List of modified files
Interactive Mode
When using--interactive, you can select:
- Labels - Choose from repository labels
- Reviewers - Select team members to review
- Assignees - Assign the PR to specific people
Configuration
Relevant config settings:pr.defaultBase- Default base branchpr.includeDiff- Include code diff in AI contextpr.maxDiffLines- Maximum diff lines to send (default: 200)git.defaultBranch- Fallback base branch
Requirements
- Must be run inside a git repository
- Must be on a feature branch (not the base branch)
- Requires GitHub Copilot CLI
- Optional:
ghCLI for creating PRs on GitHub