git-branch-management

Create and sync feature branches with pre-flight safety checks.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/leandro-br-dev/charhub --skill git-branch-management
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-branch-management
Source: https://github.com/leandro-br-dev/charhub/tree/main/docs/agents/coder/skills/orchestration/git-branch-management
Command: npx skills add https://github.com/leandro-br-dev/charhub --skill git-branch-management

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Safely manage feature branches while keeping the main branch up to date.

Core Features & Use Cases

  • Safe branch creation from main
  • Pre-flight checks before git operations
  • Branch syncing main into feature to stay current
  • Mandatory use of git-safety-officer before risky operations

Quick Start

Create a new feature branch from main and ensure main is up to date using the safety officer as mandated.

Frequently Asked Questions about git-branch-management

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

FAQPage Schema
How do I safely create a git feature branch from main?

To safely create a git feature branch, this Skill runs pre-flight checks to ensure your main branch is up to date before branching off. It enforces safety checks and coordinates guardrails to prevent data loss during branch creation.

What is the best way to sync main into my current feature branch?

The best way to sync main into a feature branch is using this Skill's branch syncing feature, which coordinates guardrails to keep your feature branch current. It enforces safety checks to prevent data loss during the git synchronization process.

How does the git-safety-officer requirement work with branch management?

The git-safety-officer requirement mandates using safety checks before executing risky git operations like merging ongoing work. This Skill coordinates these guardrails to prevent data loss and ensure safe branch management during feature development.

Can I merge ongoing work into main without losing data?

Yes, you can merge ongoing work without losing data by using this Skill's enforced safety checks and guardrails. It requires the git-safety-officer for risky operations to prevent data loss while keeping the main branch up to date.

What pre-flight checks are needed before starting new git features?

Pre-flight checks needed before starting new features include verifying the main branch is up to date and enforcing safety guardrails. This Skill coordinates these checks to prevent data loss during branch creation and merging.