Git workflows

From rnavarych/alpha-engineer · View interactive version

Git workflows is an AI agent skill from the GitHub repository rnavarych/alpha-engineer. Git workflows: trunk-based development vs GitFlow, Conventional Commits specification, PR templates, branch protection rules, merge strategies (squash vs merge vs rebase), interactive rebase for clean history, git bisect for debugging, monorepo patterns. Use when setting up team git workflow, writin

How to use this skill

Skill file

Git Workflows

When to Use This Skill

Core Principles

  1. Trunk-based development for speed — long-lived branches cause merge hell; merge to main daily
  2. Conventional Commits enable automation — feat:, fix:, chore: → automatic semantic versioning and changelogs
  3. Squash merge for feature branches — one commit per feature on main = clean, bisectable history
  4. Feature flags over long branches — merge incomplete code behind a flag; avoid 3-week branches
  5. Branch protection is non-negotiable — no direct push to main; required reviews and CI passing

References available

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.