Adds a Create new branch (custom) command to Azure Repos and to work items.
It opens a small dialog that builds the branch name for you and refuses to
create one that doesn't match the convention.
The convention
7152-clu-import-scaling-fix {workItemId}-{kebab-description}
7119m-optimum-quoter-overlap trailing "m" = branched from main
The m suffix is ticked automatically when you pick main as the source
branch, so hotfix branches are self-describing.
Where it shows up
Surface
What's prefilled
Repos → Branches → branch menu
source branch and repository
Work item context menu (backlogs, boards, queries)
work item id + description from its title
Work item form toolbar
same
Start from a work item and the id and description are already in place — you
usually just press Create.
What it prevents
Branches with no work item id
Uppercase, spaces, and punctuation in names
Names over 60 characters — flagged rather than silently truncated
Double hyphens and other invalid ref forms
The generated name is previewed live, and Create stays disabled until it's
valid.
Notes
The naming rules are currently fixed, not configurable. If you need a different
pattern, the logic is one small module (src/branchName.ts) and the extension
is MIT licensed — fork it.
Requires permission to read work items and write to repositories in the
organization where it's installed.