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.
Install
Choose a supported route below. Package contents, agent registration and runtime dependencies can differ between installers.
-
Claude Code via this marketplace /plugin install git-workflow@netresearch-claude-code-marketplaceFirst add the marketplace once in Claude Code:
/plugin marketplace add netresearch/claude-code-marketplace. Then install the selected plugin. For setup and installation scopes, seeClaude Code plugin setupA plugin can include several skills and additional components. -
npx interactive skill selection npx skills add https://github.com/netresearch/git-workflow-skillRequires Node.js 22.20+. Run from the target project, then choose the source skills and agents in the installer. Uses the skills CLI from
skills.shInstalls skill instructions. Extra plugin hooks, commands and external runtime tools are not installed by this route. -
composer require PHP project, as a package composer require netresearch/git-workflow-skillAllow the Composer skill installer to activate and approve skill registration when prompted. Requires
netresearch/composer-agent-skill-pluginDiscovers trusted skill packages and registers their instructions in AGENTS.md. Runtime tools may need separate setup. -
composer skills:add PHP project, direct source composer skills:add netresearch/git-workflow-skillInstall and activate netresearch/composer-agent-skill-plugin first; approve the selected source's skill registration. Provided by
netresearch/composer-agent-skill-pluginPins source repositories without a Packagist package and records them incomposer.skills.lock. Runtime dependencies remain separate.
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 you get back
- Branch, commit, hook or pull-request workflow changes, with review and CI status evidence for the requested Git task.
What it expects in your project
Check the source README for current examples, requirements and limitations. Open full README