name: pr description: Create a concise pull request with conventional commit title, summary, and labels disable-model-invocation: true allowed-tools: Bash, Read, Grep
Create PR
Create a concise pull request using the following template:
Title - in the format <type>(optional scope): <Title> where the title focuses on the "why" behind the change, not a description of what was changed
Summary - one or two sentences on why this change exists (the motivation/problem).
Changes - A short bullet list of what changed, only enough to orient a reviewer.
Also add labels depending on the branch. Labels available are feat, fix and chore. Assign the PR to me. The title should be in sentence case.
Steps
-
Derive type from branch prefix
-
Read the current branch name (
git branch --show-current) -
Extract the prefix before
/and use it as the<type>in the PR title — do NOT omit or guess it -
Valid types:
Type When to Use featNew features or enhancements fixRegular bug fixes choreMaintenance or cleanup
-
-
Write PR description
- Summarize changes clearly and concisely
- Include context and motivation when it makes sense
- Do NOT include Co-Authored-By or any agent attribution in the PR description
-
Set up PR
- Create PR using
gh pr createwith title in format<type>(optional scope): <Title> - Examples:
feat: Add custom analysis skills,fix(extraction): Handle null confidence values,chore: Drop unused column - Add appropriate labels (feature, bug or chore)
- Assign the PR to me
- Create PR using