com um clique
create-issue-branch
// Creates a new git branch for a GitHub issue following naming conventions with issue number as prefix.
// Creates a new git branch for a GitHub issue following naming conventions with issue number as prefix.
Creates a new blog post for the Torrust website. Use when asked to write, add, create, or publish a new blog post or article.
Opens a GitHub Pull Request from the current branch, linking it to the related issue when the branch name starts with an issue number.
Creates a new Svelte UI component for the Torrust website. Use when asked to add, create, or build a new reusable UI component, widget, or UI element.
Deploys the Torrust website to GitHub Pages. Use when asked to deploy, publish, or release the site, or to set up the deployment workflow.
Runs the full quality check suite for the Torrust website. Use before committing or opening a PR to verify types, linting, and that the build succeeds.
Updates the contributors list on the Torrust website homepage. Use when asked to refresh, update, or sync the contributors list from the Torrust GitHub org.
| name | create-issue-branch |
| description | Creates a new git branch for a GitHub issue following naming conventions with issue number as prefix. |
Use this skill when asked to create a new git branch for a GitHub issue, start work on an issue, or check out a new feature/fix branch tied to an issue.
Branches must follow this pattern:
<issue-number>-<short-description>
<issue-number> — the GitHub issue number (integer, no leading zeros)<short-description> — kebab-case summary of the work (3–6 words, no punctuation)| Issue | Description | Branch name |
|---|---|---|
| #42 | Add dark mode toggle | 42-add-dark-mode-toggle |
| #101 | Header overlaps on mobile | 101-header-overlaps-on-mobile |
| #7 | Update contributor guide | 7-update-contributor-guide |
| #55 | Upgrade SvelteKit to v2 | 55-upgrade-sveltekit-v2 |
| #88 | Extract search utils | 88-extract-search-utils |
-) to separate words inside the description — never underscores or spaces.# in the branch name.Before creating the branch, confirm:
42)git checkout develop
git pull origin develop
The default base branch for this project is
develop(notmain).
git checkout -b <issue-number>-<short-description>
Example:
git checkout -b 42-add-dark-mode-toggle
git branch --show-current
The output should match the pattern exactly.
git push -u origin <branch-name>
Do not push an empty branch. Make at least one commit first.
Once on the branch, commits should follow Conventional Commits:
<type>(<scope>): <short summary>
Example:
feat(ui): add dark mode toggle to header
Reference the issue in the commit body or footer when relevant:
feat(ui): add dark mode toggle to header
Closes #42
develop basegit branch --show-current