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
Base branch to compare against. If not specified, auto-detects from repository or uses config default.
Create the PR on GitHub after generation
Create as a draft PR
Show preview before creating the PR
Include specific ticket/issue for context
Skip fetching ticket/issue context
Do not copy the PR description to clipboard
Ignore PR template, use default format
Skip including diff context in the AI prompt
Ignore custom PR prompt file (
.devdaily-pr-prompt.md)Interactive mode for selecting labels, reviewers, and assignees
Skip auto-saving a snapshot to the journal
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