generate_pr_title
Creates a pull request title based on branch info. Automatically uses ticket numbers or branch prefixes, or accepts a custom summary.
Instructions
Generate a PR title based on branch info.
Prefix behavior:
If ticket found in branch name, uses ticket as prefix
If no ticket but branch has prefix (task/, bug/, etc.), uses that
If no summary is provided, extracts one from the branch name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoPath | No | Path to the git repository. IMPORTANT: Always pass the user's current project/workspace directory. | |
| summary | No | Summary for the PR title (if not provided, will extract from branch) |