git-workflow

Standardize Git workflows with branching, Conventional Commits, and PR rules.

Updated Sep 13, 2025
One-click install
npx skills add https://github.com/llmh333/employee_management_spring --skill git-workflow-llmh333
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-workflow
Source: https://github.com/llmh333/employee_management_spring/tree/main/.gemini/skills/git-workflow
Command: npx skills add https://github.com/llmh333/employee_management_spring --skill git-workflow-llmh333

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Git teams often waste time on inconsistent branching, unclear commit/PR practices, and avoidable merge conflicts that slow down delivery.

Core Features & Use Cases

  • Branching strategy guidance: Choose and apply GitHub Flow, trunk-based development, or GitFlow based on team size and release cadence, including clear rules for branch creation and integration.
  • Commit and PR conventions: Enforce Conventional Commits and structured PR titles/descriptions to improve readability, review quality, and changelog generation.
  • Merge, rebase, and conflict resolution playbooks: Know when to use merge vs rebase, when rebase is unsafe, and how to resolve conflicts using markers, mergetools, or ours/theirs.
  • Release management practices: Apply semantic versioning, tagging, and changelog generation using git history and tags.

Quick Start

Ask the AI to propose a branching, commit message, and PR template plan tailored to your team size and release cadence, then list exactly what to do for the next feature from creating the branch through merging into main.

Frequently Asked Questions about git-workflow

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

FAQPage Schema
What is the best way to choose a Git branching strategy for my team?

Git branching strategy selection depends on team size and release cadence, guiding the choice between GitHub Flow, trunk-based development, or GitFlow. Applying the correct strategy requires establishing clear rules for branch creation and protected main branch behavior to prevent confusing commit history.

How do I write Conventional Commits and structure pull requests for better reviews?

To write Conventional Commits, enforce structured commit messages and standardized PR titles and descriptions. This practice improves readability, review quality, and automates changelog generation by applying consistent semantic formatting across all collaborative Git workflows.

How do I resolve Git merge conflicts and decide between merge vs rebase?

Resolve Git merge conflicts using conflict markers, mergetools, or ours/theirs strategies, while deciding between merge vs rebase based on specific day-to-day development contexts. Knowing when rebase is unsafe is critical to maintaining a clean project history without losing work.

How do I apply semantic versioning and tagging for Git release management?

Apply semantic versioning and tagging for Git release management by generating changelogs directly from your git history and tags. This standardizes your release practices, ensuring safe shipping through consistent version tracking tied to your structured commit conventions.

When should I not use Git rebase in a collaborative workflow?

You should not use Git rebase in a collaborative workflow when it rewrites commits that other developers have already based their work on, as it creates divergent histories. Understanding when rebase is unsafe prevents recurring merge conflicts and project history issues.