git-workflow
Installation
SKILL.md
Git Workflow
Apply these formats in every repository. An explicit user request or a documented repository convention (commitlint config, CONTRIBUTING.md, a pull request template, repository agent instructions) overrides them; the history of past branches and commits does not.
Ticket
A ticket is the issue-tracker item the change implements, in whatever tracker the team uses: FD-127 in Jira, ENG-42 in Linear, #42 in GitHub Issues. Use one when the user gave it, the current branch name contains it, or the task links to it. Otherwise there is no ticket: drop every ticket part from the formats below and continue. Never ask for a ticket or invent one.
- A key such as
FD-127orENG-42goes into the branch, the commit header, and the pull request title. Keep it uppercase; Jira links branches only by the uppercase key. - A GitHub issue number stays out of the branch and the commit; it goes only into Mainly closes.
Branch
<type>/<TICKET>-<slug>, or <type>/<slug> without a ticket.
<type>is the commit type of the planned change.<slug>is 2 to 5 lowercase kebab-case words naming the outcome:feat/FD-127-dashboard-tenant-search,fix/login-logout-same-domain.