foundation-git-workflow

Implement GitHub Flow or Trunk-Based Development with pull request workflows.

73|16|Updated Nov 14, 2025
One-click install
npx skills add https://github.com/vasilyu1983/AI-Agents-public --skill foundation-git-workflow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: foundation-git-workflow
Source: https://github.com/vasilyu1983/AI-Agents-public/tree/main/frameworks/claude-code-kit/initial-setup/skills/foundation-git-workflow
Command: npx skills add https://github.com/vasilyu1983/AI-Agents-public --skill foundation-git-workflow

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

Inefficient Git workflows, messy commit histories, and slow code reviews hinder team productivity and code quality. This Skill provides modern Git collaboration patterns for high-performing engineering teams.

Core Features & Use Cases

  • Optimized Branching Strategies: Implement GitHub Flow or Trunk-Based Development for continuous deployment and faster iteration.
  • Effective PR Workflows: Master pull request best practices, including size guidelines, review etiquette, and automated quality gates.
  • Clean History & Automation: Use conventional commits for automated changelogs, interactive rebase for clean history, and set up CI/CD checks for quality enforcement.

Quick Start

Use the foundation-git-workflow skill to recommend a branching strategy for my 5-person team aiming for continuous deployment, and provide a PR template.

Frequently Asked Questions about foundation-git-workflow

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

FAQPage Schema
How do I set up an efficient Git branching strategy for my team?

A Git branching strategy defines how your team creates, names, and merges branches to enable parallel work and continuous deployment. GitHub Flow uses feature branches with pull requests for review; Trunk-Based Development keeps most work on main with short-lived branches. Choose based on your deployment frequency and team size.

What are conventional commits and why should I use them?

Conventional commits follow a structured format (type: description) for commit messages, enabling automated changelog generation and clearer history. They standardize how teams document changes, making it easier to understand what changed and why across your repository.

How do I keep a clean Git history with interactive rebase?

Interactive rebase lets you reorder, squash, or edit commits before merging to main, creating a linear, readable history. This removes intermediate debugging commits and organizes related changes logically, improving code review clarity and rollback precision.

What should a pull request template include for code review?

A PR template standardizes what reviewers see: a summary of changes, the problem solved, testing approach, and links to related issues. This reduces review time, ensures quality gates are checked, and aligns the team on expectations for size, scope, and documentation.

Can I automate code quality checks in my Git workflow?

Yes, CI/CD checks integrated into pull requests automatically run tests, linters, and security scans before merge. This enforces quality gates, prevents broken code from reaching main, and gives teams confidence in deployment readiness.