git-feature-start

Create and push a remote-tracked feature branch from main.

Updated Feb 15, 2026
One-click install
npx skills add https://github.com/glhewett/public-skills --skill git-feature-start
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-feature-start
Source: https://github.com/glhewett/public-skills/tree/main/git-feature-start
Command: npx skills add https://github.com/glhewett/public-skills --skill git-feature-start

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes friction around starting new feature branches by automating the checks and git operations needed to create a clean, tracked feature branch from main.

Core Features & Use Cases

  • Argument validation: Ensures a feature name is provided and prints usage guidance if missing.
  • Workspace safety checks: Detects uncommitted changes and advises committing or stashing before proceeding.
  • Branch creation workflow: Updates main from the remote, creates feature/<name>, pushes the branch, and sets upstream tracking.
  • Use Case: A developer about to begin focused work can quickly create a remote-tracked feature branch without manually running multiple git commands.

Quick Start

Run the git-feature-start skill with a single argument such as payment-refactor to create and push a new feature branch from main.

Frequently Asked Questions about git-feature-start

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create and push a new git feature branch from main?

To create and push a git feature branch, the skill validates uncommitted changes, updates main from the remote, creates feature/<name>, pushes it, and sets upstream tracking for a clean baseline.

What is the best way to standardize feature branch startup procedures in git?

Standardizing feature branch startup involves automating workspace safety checks for uncommitted changes and running sequential git commands to update main, create feature/<name>, and set upstream tracking.

Can I create a remote-tracked feature branch if I have uncommitted changes?

You cannot create a remote-tracked feature branch with uncommitted changes safely. The skill detects uncommitted changes and advises committing or stashing before proceeding to ensure a clean baseline.

Does this branch creation workflow require a specific feature name argument?

Yes, branch creation requires a specific feature name argument. The skill performs argument validation and prints usage guidance if the feature name is missing before attempting to create the branch.

Why does my feature branch workflow need upstream tracking set automatically?

Setting upstream tracking automatically links your local feature branch to the remote repository, allowing you to push and pull changes without specifying remote names during focused development work.

Is automated feature branch creation suitable for small development teams?

Automated feature branch creation is suitable for individual contributors and small teams using git-based development workflows, ensuring focused work starts from a clean, updated main baseline.