feat(commit-commands): support Conventional Branch naming in /commit-push-pr#74722
Open
k0mpreni wants to merge 1 commit into
Open
feat(commit-commands): support Conventional Branch naming in /commit-push-pr#74722k0mpreni wants to merge 1 commit into
k0mpreni wants to merge 1 commit into
Conversation
Add an optional `conventional` argument to `/commit-push-pr` that names the new branch per https://conventionalbranch.org/ (`<type>/<description>`, with type inferred from the diff). Default behavior is unchanged. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This was referenced Jul 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
conventionalargument to/commit-push-prthat names the new branch per the Conventional Branch 1.0.0 spec:<type>/<description>withtype(feature,bugfix,hotfix,release,chore,docs,test) inferred from the diff./commit-push-prwith no args) is unchanged — still<custom-prefix>/<generated-name>.Test plan
/commit-push-pron a branch offmainwith staged changes — branch name matches previous default behavior./commit-push-pr conventionalon a bug fix — branch is namedbugfix/<slug>./commit-push-pr conventionalon a new feature — branch is namedfeature/<slug>./commit-push-pr conventionalon a docs-only or chore change — branch is nameddocs/<slug>orchore/<slug>respectively.🤖 Generated with Claude Code