Branch name
branch_nameGenerate a convention-following git branch name from change type, ticket ID, and title, e.g., feat/ABC-123-add-login.
Instructions
Generate a convention-following git branch name from a change type, ticket id and title. Example: {type:'feat', id:'ABC-123', title:'Add login'} => feat/ABC-123-add-login.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Issue / ticket id, e.g. ABC-123. Case is preserved. | |
| type | Yes | Change type, used as the branch prefix (e.g. feat, fix, chore). | |
| title | Yes | Short human-readable title, e.g. 'Add login screen'. | |
| maxLength | No | Optional max length for the whole branch name (slug is truncated to fit). | |
| separator | No | Separator used inside the slug and between id and slug. | - |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| slug | Yes | ||
| type | Yes | ||
| branch | Yes |