git-workflow

Enforce branch-based Git workflows with PR reviews and protected merges.

1|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/dwoolworth/devteam --skill git-workflow-dwoolworth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-workflow
Source: https://github.com/dwoolworth/devteam/tree/main/templates/skills/dev/git-workflow
Command: npx skills add https://github.com/dwoolworth/devteam --skill git-workflow-dwoolworth

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Branch-based Git workflows help teams prevent direct commits to main, require feature branches, and enforce peer review before merging, reducing integration risk.

Core Features & Use Cases

  • Branch-based development: every change lives on a feature branch and goes through PR review.
  • Protected main and gatekeeping: CQ reviews and QA validation before merging.
  • Use Case: Applying consistent commit messages, branch naming, and PR templates to streamline collaboration across teams.

Quick Start

Clone the repository, create a feature branch from main, push changes, and open a PR to begin working.

Frequently Asked Questions about git-workflow

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

FAQPage Schema
How do I prevent direct commits to main and require a pull request for every change?

Enforcing a branch-based Git workflow prevents direct commits to main by requiring every change to live on a feature branch. This ensures all updates go through pull request review before merging, reducing integration risk.

What is a branch-based Git workflow and when do I need it?

A branch-based Git workflow requires developers to create feature branches for changes and open pull requests for merges. Teams need this process to enforce peer review, CQ reviews, and QA validation gatekeeping before integrating code.

How do I set up a Git workflow from cloning a repository to opening a pull request?

Set up the Git workflow by cloning the repository, creating a feature branch from main, committing changes, pushing to the remote, and opening a pull request. This enforces consistent commit messages, branch naming, and PR templates for team collaboration.

Can I apply consistent branch naming and PR templates across my software projects?

Yes, you can apply consistent commit messages, branch naming, and PR templates across teams. Applying a standardized branch-based workflow streamlines collaboration and ensures disciplined governance across your software development lifecycle.

Does this Git workflow support protected merges with code review and QA gatekeeping?

Yes, the Git workflow supports protected merges by enforcing CQ reviews and QA validation before integration. It maintains a protected main branch with strict gatekeeping across the development lifecycle to ensure code quality.

Why should I use feature branches instead of committing directly to the main branch?

You should use feature branches to prevent direct commits to main and ensure code reviews. Branch-based development reduces integration risk by requiring peer review, CQ reviews, and QA validation before any changes are merged.