validate-branch-name
БесплатноЗапускает вложенные скриптыНе проверенValidates that a branch name follows the {type}/{scope}-{short-title} convention, rejects forbidden prefixes (claude/, copilot/, openai/), and checks the type…
от lightspeedwp★ 20 звёзд на GitHubОб этом скилле
validate-branch-name
Validates a branch name follows {type}/{scope}-{short-title} format.
When to use this skill
Before any PR is created or updated, and whenever a branch name needs to be checked against this repository's branching convention (e.g. docs/BRANCHING_STRATEGY.md).
Input
{
branchName: string, // e.g. "feat/pr-agent-consolidation-portability"
config: object, // optional: override allowed types through config.allowed_types only
}
Behaviour
- Rejects branch names using a forbidden prefix (
claude/,copilot/,openai/). - Rejects a branch type not in the repository's approved-type list.
- Rejects a name that doesn't match
{type}/{scope}-{short-title}.
Output
{ valid: boolean, errors: string[] }
Usage
import { validateBranchName } from "./scripts/validate-branch-name.js";
const result = await validateBranchName({ branchName: "feat/my-feature" });
Установить validate-branch-name в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл validate-branch-name?
Validates that a branch name follows the {type}/{scope}-{short-title} convention, rejects forbidden prefixes (claude/, copilot/, openai/), and checks the type against the repository's canonical list. Use before creating or updating a PR, whenever a branch name needs checking against this repository's branching convention.
Как установить скилл validate-branch-name?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл validate-branch-name запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set 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…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic