PHPackages                             netresearch/agent-git-workflow - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. netresearch/agent-git-workflow

ActiveAi-agent-skill[Utility &amp; Helpers](/categories/utility)

netresearch/agent-git-workflow
==============================

Netresearch AI skill for Git branching strategies, Conventional Commits and CI/CD pipelines

v1.12.0(1mo ago)912↓33.3%2[2 issues](https://github.com/netresearch/git-workflow-skill/issues)(MIT AND CC-BY-SA-4.0)ShellCI passing

Since Dec 16Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/netresearch/git-workflow-skill)[ Packagist](https://packagist.org/packages/netresearch/agent-git-workflow)[ RSS](/packages/netresearch-agent-git-workflow/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (25)Used By (0)

Git Workflow Skill
==================

[](#git-workflow-skill)

Expert patterns for Git version control workflows including branching strategies, commit conventions, collaborative workflows, and CI/CD integration.

🔌 Compatibility
---------------

[](#-compatibility)

This is an **Agent Skill** following the [open standard](https://agentskills.io) originally developed by Anthropic and released for cross-platform use.

**Supported Platforms:**

- ✅ Claude Code (Anthropic)
- ✅ Cursor
- ✅ GitHub Copilot
- ✅ Other skills-compatible AI agents

> Skills are portable packages of procedural knowledge that work across any AI agent supporting the Agent Skills specification.

Features
--------

[](#features)

- **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

Installation
------------

[](#installation)

### Marketplace (Recommended)

[](#marketplace-recommended)

Add the [Netresearch marketplace](https://github.com/netresearch/claude-code-marketplace) once, then browse and install skills:

```
# Claude Code
/plugin marketplace add netresearch/claude-code-marketplace
```

### npx ([skills.sh](https://skills.sh))

[](#npx-skillssh)

Install with any [Agent Skills](https://agentskills.io)-compatible agent:

```
npx skills add https://github.com/netresearch/git-workflow-skill --skill git-workflow
```

### Download Release

[](#download-release)

Download the [latest release](https://github.com/netresearch/git-workflow-skill/releases/latest) and extract to your agent's skills directory.

### Git Clone

[](#git-clone)

```
git clone https://github.com/netresearch/git-workflow-skill.git
```

### Composer (PHP Projects)

[](#composer-php-projects)

```
composer require netresearch/git-workflow-skill
```

Requires [netresearch/composer-agent-skill-plugin](https://github.com/netresearch/composer-agent-skill-plugin).

Usage
-----

[](#usage)

This skill is automatically triggered when:

- Establishing branching strategies (Git Flow, GitHub Flow, Trunk-based)
- Implementing Conventional Commits for semantic versioning
- Configuring pull request workflows
- Integrating Git with CI/CD systems
- Setting up Git hooks for quality gates
- Resolving merge conflicts
- Configuring branch protection rules

Example queries:

- "Set up Git Flow workflow"
- "Configure conventional commits with semantic versioning"
- "Create GitHub Actions workflow for CI/CD"
- "Set up pre-commit hooks for linting"
- "Configure branch protection rules"
- "Implement pull request review process"

Structure
---------

[](#structure)

```
git-workflow-skill/
├── SKILL.md                              # Skill metadata and core patterns
├── references/
│   ├── branching-strategies.md           # Branch management patterns
│   ├── commit-conventions.md             # Commit message standards
│   ├── pull-request-workflow.md          # PR and review processes
│   ├── ci-cd-integration.md              # Automation patterns
│   └── advanced-git.md                   # Advanced Git operations
└── scripts/
    └── verify-git-workflow.sh            # Verification script

```

Expertise Areas
---------------

[](#expertise-areas)

### Branching Strategies

[](#branching-strategies)

- Git Flow (feature/release/hotfix branches)
- GitHub Flow (simple feature branches)
- Trunk-based development
- Release management patterns

### Commit Conventions

[](#commit-conventions)

- Conventional Commits standard
- Semantic versioning integration
- Commit message best practices
- Atomic commit patterns

### Collaborative Workflows

[](#collaborative-workflows)

- Pull request best practices
- Code review processes
- Merge strategies (merge, squash, rebase)
- Conflict resolution patterns

### CI/CD Integration

[](#cicd-integration)

- GitHub Actions workflows
- GitLab CI patterns
- Branch protection rules
- Automated versioning

Conventional Commits Format
---------------------------

[](#conventional-commits-format)

```
[optional scope]:

[optional body]

[optional footer(s)]

```

**Types:**

- `feat`: New feature (MINOR version bump)
- `fix`: Bug fix (PATCH version bump)
- `docs`: Documentation only
- `style`: Code style (formatting, no logic change)
- `refactor`: Code refactoring
- `perf`: Performance improvements
- `test`: Adding/updating tests
- `build`: Build system changes
- `ci`: CI configuration changes
- `chore`: Maintenance tasks
- `revert`: Reverting changes

**Breaking Changes:**

```
feat!: remove deprecated API endpoints

BREAKING CHANGE: The /api/v1/users endpoint has been removed.
Use /api/v2/users instead.

```

Quick Reference
---------------

[](#quick-reference)

### Daily Workflow

[](#daily-workflow)

```
# Start of day
git checkout main && git pull
git checkout -b feature/my-feature

# During development
git add -p                    # Stage hunks interactively
git commit -m "feat: ..."     # Commit with conventional message

# Ready for review
git push -u origin HEAD
gh pr create

# After merge
git checkout main && git pull
git branch -d feature/my-feature
```

### Emergency Fixes

[](#emergency-fixes)

```
# Undo last commit (keep changes)
git reset --soft HEAD~1

# Undo last commit (discard changes)
git reset --hard HEAD~1

# Revert a specific commit
git revert

# Fix last commit message
git commit --amend -m "new message"

# Fix last commit (add forgotten file)
git add forgotten-file.txt
git commit --amend --no-edit
```

Related Skills
--------------

[](#related-skills)

- **enterprise-readiness-skill**: Git workflow is part of CI/CD maturity
- **security-audit-skill**: Git hooks for security checks

License
-------

[](#license)

This project uses split licensing:

- **Code** (scripts, workflows, configs): [MIT](LICENSE-MIT)
- **Content** (skill definitions, documentation, references): [CC-BY-SA-4.0](LICENSE-CC-BY-SA-4.0)

See the individual license files for full terms.

Credits
-------

[](#credits)

Developed and maintained by [Netresearch DTT GmbH](https://www.netresearch.de/).

---

**Made with ❤️ for Open Source by [Netresearch](https://www.netresearch.de/)**

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance86

Actively maintained with recent releases

Popularity15

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 99.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~5 days

Total

22

Last Release

47d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/acffee6a64e18f21593794b335dd8786001148f7df89fd8372a54d3dd09d91a4?d=identicon)[netresearch](/maintainers/netresearch)

---

Top Contributors

[![CybotTM](https://avatars.githubusercontent.com/u/326348?v=4)](https://github.com/CybotTM "CybotTM (106 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (1 commits)")

---

Tags

agent-skillsai-agentopen-standard

### Embed Badge

![Health badge](/badges/netresearch-agent-git-workflow/health.svg)

```
[![Health](https://phpackages.com/badges/netresearch-agent-git-workflow/health.svg)](https://phpackages.com/packages/netresearch-agent-git-workflow)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
