Back to Skills

create-feature-branch

Create properly named feature branch from development with remote tracking, following WescoBar naming conventions and git best practices

6stars3forksUpdated 3/1/2026

Security Assessment

Safe(100/100)
Security Score100/100

About create-feature-branch

The create-feature-branch skill automates the process of creating a properly named feature branch from the development branch while ensuring remote tracking is correctly configured. It addresses common issues in collaborative Git workflows, such as inconsistent branch naming, outdated base branches, and missing upstream configuration. By enforcing WescoBar naming conventions and synchronizing with the latest development state before branch creation, this skill helps maintain repository hygiene and reduces integration conflicts later in the development lifecycle.

The skill validates required inputs, ensuring the issue number is present and numeric before proceeding. It generates a branch name using the required format `feature/issue-<NUMBER>-<short-description>`, optionally deriving a kebab-case description from a provided issue title. It checks for existing local and remote branches to prevent accidental duplication and provides options for handling conflicts, including checking out, renaming, or recreating branches. Before creating a new branch, it synchronizes the local development branch with the remote repository to ensure an up-to-date base. Finally, it creates the feature branch, pushes it to the remote repository, and configures upstream tracking for seamless future pulls and pushes.

This skill is intended for developers working within WescoBar workflows, particularly during Conductor workflow Phase 2, Step 1 (Branch Setup). It is useful when starting new feature implementation, picking up a GitHub issue, or initiating structured feature development. Teams that rely on consistent Git practices, issue-linked branch naming, and remote tracking will benefit from the standardized and repeatable setup process this skill provides.

FAQ

What input is required to create a feature branch?

An issue number is required and must be numeric. An issue title is optional and can be used to automatically generate a short kebab-case description for the branch name.

What happens if the branch already exists locally or remotely?

If the branch exists locally, you are given options to check it out, rename it, or delete and recreate it. If it exists on the remote, the skill fetches and checks out the remote branch with tracking.

Does this skill ensure the development branch is up to date?

Yes. Before creating a new feature branch, it checks out the development branch and pulls the latest changes from the remote repository.

Is upstream tracking configured automatically?

Yes. After creating the feature branch, it pushes the branch to the remote repository using upstream tracking so future Git operations work seamlessly.

Are there naming restrictions for the branch description?

Yes. The branch must start with `feature/`, include `issue-<NUMBER>`, use kebab-case formatting, and keep the description concise and under 40 characters.

Install create-feature-branch

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill