git-workflows

Guide Git branching, commit conventions, and pull request workflows.

14|3|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/rnavarych/alpha-engineer --skill git-workflows-rnavarych
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-workflows
Source: https://github.com/rnavarych/alpha-engineer/tree/main/plugins/billy-milligan/skills/shared/git-workflows
Command: npx skills add https://github.com/rnavarych/alpha-engineer --skill git-workflows-rnavarych

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines your team's Git practices, ensuring consistent commit messages, efficient branching strategies, and robust code integration, preventing merge conflicts and improving code quality.

Core Features & Use Cases

  • Branching Strategies: Choose between Trunk-Based Development and GitFlow based on your team's needs.
  • Conventional Commits: Enforce a standardized commit message format for automated changelogs and semantic versioning.
  • PR Process: Set up branch protection rules and understand merge strategies (squash vs. merge vs. rebase).
  • Debugging: Utilize git bisect for efficient regression identification.
  • Use Case: When setting up a new project, use this Skill to define the team's Git workflow, including commit message standards and branch protection rules for the main branch.

Quick Start

Use the git-workflows skill to explain the benefits of trunk-based development over GitFlow.

Frequently Asked Questions about git-workflows

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

FAQPage Schema
What is the difference between trunk-based development and GitFlow for team workflows?

Trunk-based development uses short-lived branches merged frequently to a main branch, while GitFlow employs distinct feature, release, and hotfix branches for structured releases. Choosing between them depends on your team's deployment cadence and need for parallel development isolation.

How do I write conventional commits for automated changelogs?

Conventional commits enforce a standardized commit message format using types like feat, fix, and chore to structure history. This specification enables automated changelog generation and semantic versioning by parsing the commit prefixes directly from your Git history.

Should I use squash, merge, or rebase when integrating pull requests?

Squash merges condense commits into one for a clean history, standard merges preserve complete branch context, and rebase replays commits linearly. Your pull request merge strategy choice depends on whether you prioritize linear history or preserving granular commit context.

How do I set up branch protection rules for the main branch?

Branch protection rules restrict direct pushes to the main branch, requiring pull request reviews and status checks before integration. Setting up these rules enforces team Git workflows by ensuring code quality validation and peer review before any changes merge.

Can I use git bisect to identify regressions in my commit history?

Git bisect performs a binary search through your commit history to pinpoint the exact change that introduced a regression. Utilizing git bisect efficiently identifies defective commits by systematically checking out intermediate versions until the problematic code change is isolated.

When should I not use GitFlow for my project's branching strategy?

GitFlow should be avoided when your team practices continuous deployment or favors frequent integrations, as its multi-branch structure creates merge overhead. For rapid release cycles, trunk-based development is generally preferred over GitFlow to prevent merge conflicts and integration bottlenecks.