Development

Git Workflow

Git workflow best practices for teams and CI/CD pipelines. Covers Git Flow, GitHub Flow, Trunk-based development, Conventional Commits, pull request workflows, and GitHub Actions integration. By Netresearch.

Latest release v1.14.0

Install

Pick whichever fits your project — they all reach the same skill.

  1. Claude Code via this marketplace
    /plugin install git-workflow@netresearch-claude-code-marketplace
  2. npx any Agent Skills CLI
    npx skills add https://github.com/netresearch/git-workflow-skill --skill git-workflow

    Universal Agent Skills CLI from skills.sh — works across Claude Code, Cursor, GitHub Copilot, Codex, Gemini CLI and 30+ more agents.

  3. composer require PHP project, as a package
    composer require netresearch/git-workflow-skill

    Requires netresearch/composer-agent-skill-plugin — resolves Agent Skills as Composer dependencies in PHP projects, auto-discovers skills, generates AGENTS.md.

  4. composer skills:add PHP project, direct source
    composer skills:add github:netresearch/git-workflow-skill

    Provided by netresearch/composer-agent-skill-plugin — pins skill repos directly without going through Packagist, locks them in composer.skills.lock.

What you can do with it

  • Branching Strategies: Git Flow (feature/release/hotfix branches), GitHub Flow (simple feature branches), trunk-based development, release management patterns
  • Commit Conventions: Conventional Commits standard, semantic versioning integration, commit message best practices, atomic commit patterns
  • Collaborative Workflows: Pull request best practices, code review processes, merge strategies (merge, squash, rebase), conflict resolution patterns
  • CI/CD Integration: GitHub Actions workflows, GitLab CI patterns, branch protection rules, automated versioning
  • Git Hooks: Pre-commit hooks for linting and testing, commit message validation
  • Advanced Operations: Interactive rebase, cherry-picking, stashing, reflog recovery

What it expects in your project

Tags

  • development
  • devops