git-workflows

Define Git workflows for branching, commits, reviews, and release management.

9|2|Updated Dec 5, 2025
One-click install
npx skills add https://github.com/Zate/cc-plugins --skill git-workflows
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-workflows
Source: https://github.com/Zate/cc-plugins/tree/main/plugins/devloop/skills/git-workflows
Command: npx skills add https://github.com/Zate/cc-plugins --skill git-workflows

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Inconsistent Git practices can lead to messy history, merge conflicts, and inefficient team collaboration. This Skill provides clear guidance to establish and maintain effective Git workflows.

Core Features & Use Cases

  • Branching Strategies: Guidance on Git Flow, GitHub Flow, and Trunk-Based Development to choose the best approach for your team.
  • Commit Conventions: Implement Conventional Commits for clear, semantic commit messages that aid in versioning and changelog generation.
  • Pull Request Process: Best practices for PR checklists, descriptive descriptions, and effective code review.
  • Merge Strategies: Understand when to use merge commits, squash merges, or rebase merges for a clean history.
  • Use Case: Establish a new team's Git workflow, write a clean commit message, or effectively review a pull request.

Quick Start

Explain the GitHub Flow branching strategy and its benefits for continuous deployment.

Frequently Asked Questions about git-workflows

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

FAQPage Schema
How do I establish a Git workflow for my development team?

A Git workflow defines standardized practices for branching, commits, and pull requests. Choose between Git Flow for complex releases, GitHub Flow for continuous deployment, or Trunk-Based Development for rapid iteration. Each strategy includes branch naming conventions, commit message standards, and code review processes tailored to your team's release cadence and collaboration needs.

What's the best way to write commit messages that work with CI/CD?

Conventional Commits provide semantic structure: type(scope): description. This format enables automated versioning, changelog generation, and CI/CD pipeline triggering. Examples: `feat(auth): add login validation` or `fix(api): resolve timeout issue`. Consistency across commits makes history readable and integrates seamlessly with semantic versioning tools.

How do I conduct effective code reviews in pull requests?

Effective PR reviews combine clear descriptions, checklists, and structured feedback. Include context in PR descriptions, reference related issues, and use checklists for testing and documentation. Reviewers should verify code quality, test coverage, and alignment with branch strategy before merging, ensuring code review serves both quality gates and knowledge sharing.

When should I use merge commits versus squash or rebase merges?

Merge commits preserve full history and work well for long-lived branches; squash merges clean up feature branch commits into one logical unit; rebase merges linearize history for simpler tracking. Your choice depends on workflow type: Git Flow typically uses merge commits, GitHub Flow often uses squash merges, and Trunk-Based Development favors rebasing for a clean main branch.

Do Git workflows differ for small teams versus large organizations?

Workflows scale with team size and release frequency. Small teams often use GitHub Flow for simplicity; larger organizations adopt Git Flow to manage multiple release versions. Trunk-Based Development suits any size but requires strong CI/CD and testing discipline. Choose based on release complexity, team structure, and deployment frequency rather than size alone.

How do I handle hotfixes without disrupting ongoing development?

Git Flow and GitHub Flow both support hotfix branches. Create a hotfix branch from your release/production branch, apply the critical fix, merge back to production and main development branch, and tag the release. This isolation prevents incomplete features from reaching production while ensuring the fix deploys independently.