new-branch
Add a new git branch based on the description provided by the user
от architects-toolkit★ 36 звёзд на GitHub
Установить new-branch в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
New Branch Creation Workflow
Prerequisites
The user should provide a description of the purpose of the new branch. If no description is provided, ask for it and stop the skill.
Check that the current branch is main. If not, switch to main before continuing.
Branch Naming Convention
Use the following pattern for branch names:
prefix/X.Y.Z-descriptive-title
Where:
prefix: Type of change (see available prefixes below)X.Y.Z: Target version for the changesdescriptive-title: 1-3 words describing the branch purpose (kebab-case)
Available Prefixes
feature: New functionalitybugfix: Bug fixeshotfix: Bugs that need to be fixed urgently in productiondocs: Documentation changesrefactor: Code changes that neither fix bugs nor add featurestest: Adding missing tests or correcting testschore: Build process or auxiliary tool changesci: CI/CD configuration changesperf: Performance improvementsstyle: Code style changes (formatting, etc.)
Determining the Target Version
Check Current Base Version:
- Read the
<SolutionVersion>entry inSolution.propsto determine the current BASE VERSION (e.g.,0.4.0-alpha). - Do not derive the current BASE VERSION from
CHANGELOG.md; always base on the<SolutionVersion>inSolution.props.
- Read the
Check Previous Release Version:
- Read the
CHANGELOG.md. - The first section should be [Unreleased], listing all changes for the current development.
- The second section should be the Previous Release. Extract the PREVIOUS RELEASE VERSION (e.g. "## [0.3.6-alpha] - 2025-07-20" → "0.3.6-alpha").
- Read the
Determining Current Development Status
Compare the CURRENT BASE VERSION and the PREVIOUS RELEASE VERSION to identify the release level being developed in
main. Compare only numbers, skip suffixes. The result can be a PATCH release (0.0.X), a MINOR release (0.X.0), MAJOR release (X.0.0) or NONE (all digits remain equal, version unchanged,0.0.0).Determining New Branch Release Level
Identify the logical release level for the suggested changes in the new branch, based on the description provided by the user. It can be:
- Patch (
0.0.X): for bug fixes, documentation updates, tests, refactors, and CI changes). - Minor (
0.X.0): for new backward-compatible features. - Major (
X.0.0): for breaking changes.
- Patch (
Determine Target Version
Compare the Required release level (step 4) vs. Current Development Status (step 3). If they match, keep the BASE VERSION as the TARGET VERSION. If they do not match, set the TARGET VERSION in the new branch's name by increasing the patch, minor or major number.
Workflow Steps
Ensure there are no changes pending to commit. Stop the execution if so and ask the user to commit them.
Ensure the current branch is
mainand synced with remote.git checkout main git pull origin main
Create a new local branch from
main. Replace prefix, X.Y.Z, and descriptive-title as appropriate. Ask for confirmation if you doubt.git checkout -b prefix/X.Y.Z-descriptive-title
Tell the user that the new branch was created, and explain why you chose the target version number.
Stop here, do not implement any change in files.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
read - 02
exec - 03
grep - 04
ask_user_question
FAQ
Что делает скилл new-branch?
Add a new git branch based on the description provided by the user
Как установить скилл new-branch?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл new-branch запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…