An agentic skills framework & software development methodology that works.
Git workflow skill for Claude Code and compatible agents
This skill gives your agent Git workflow patterns for branching, commit conventions, pull requests, merge strategies, and CI/CD checks. It combines a skill package with commands, hooks, docs, and validation scripts so the workflow can be applied and tested consistently.
Builders who want Claude Code, Cursor, or Copilot to handle Git work with the same branching, commit, and PR patterns every time.
You can move from branch to merge with fewer workflow mistakes and less re-explaining.
What it does
Branching strategies
Covers Git Flow, GitHub Flow, trunk-based development, and release management patterns.
Commit conventions
Teaches Conventional Commits, atomic commit patterns, and semantic versioning mapping.
Pull request workflow
Includes PR review practices, merge strategies, conflict resolution, and review-thread handling.
CI/CD integration
Shows how to work with GitHub Actions, GitLab CI patterns, branch protection, and automated versioning.
Git hooks
Provides pre-commit and commit-message validation hook patterns.
Advanced Git operations
Covers interactive rebase, cherry-picking, stashing, and reflog recovery.
How to get it
- 1Add the Netresearch marketplace once, then browse and install skills
# Claude Code /plugin marketplace add netresearch/claude-code-marketplace /plugin install git-workflow@netresearch-claude-code-marketplace
- 2Since Claude Code 2.1.157 a plugin directory under your personal skills directory loadsβ¦
mkdir -p ~/.claude/skills git clone https://github.com/netresearch/git-workflow-skill.git \ ~/.claude/skills/git-workflow
- 3Install with any Agent Skills-compatible agent
npx skills add https://github.com/netresearch/git-workflow-skill --skill git-workflow
- 4Run
git clone https://github.com/netresearch/git-workflow-skill.git
- 5Run
composer require netresearch/git-workflow-skill
- 6Run
npm install --save-dev \ @netresearch/agent-skill-coordinator \ github:netresearch/git-workflow-skill
README
Git Workflow Skill
Expert patterns for Git version control workflows including branching strategies, commit conventions, collaborative workflows, and CI/CD integration.
π Compatibility
This is an Agent Skill following the open standard 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
- 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
Marketplace (Recommended)
Add the Netresearch marketplace once, then browse and install skills:
# Claude Code
/plugin marketplace add netresearch/claude-code-marketplace
/plugin install git-workflow@netresearch-claude-code-marketplace
Without a marketplace
Since Claude Code 2.1.157 a plugin directory under your personal skills directory loads on its own, including the hooks and commands this repo ships:
mkdir -p ~/.claude/skills
git clone https://github.com/netresearch/git-workflow-skill.git \
~/.claude/skills/git-workflow
It loads as git-workflow@skills-dir on the next session. Update with git -C ~/.claude/skills/git-workflow pull and start a new session; remove it by deleting the directory. This route has no claude plugin update.
npx (skills.sh)
Install with any Agent Skills-compatible agent:
npx skills add https://github.com/netresearch/git-workflow-skill --skill git-workflow
Limitation:
npx skillsinstallsSKILL.md-based skills only. This repo also shipshooks,commands, which it does not install β use the marketplace or the skills directory for those.
Download Release
Download the latest release and extract to your agent's skills directory.
Git Clone
git clone https://github.com/netresearch/git-workflow-skill.git
Composer (PHP Projects)
composer require netresearch/git-workflow-skill
Requires netresearch/composer-agent-skill-plugin.
npm (Node Projects)
npm install --save-dev \
@netresearch/agent-skill-coordinator \
github:netresearch/git-workflow-skill
Requires @netresearch/agent-skill-coordinator, which discovers the skill in node_modules and registers it in AGENTS.md via a postinstall hook. For pnpm, also allowlist the coordinator's postinstall:
{
"pnpm": {
"onlyBuiltDependencies": ["@netresearch/agent-skill-coordinator"]
}
}
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"
Commands
/pr-finish [PR]β drive a pull request to a fully-green, merged state: preflight the merge gate in one block, rebase, fix CI locally, reply to and resolve every review thread, update the title/description, and merge when green. Operates on the named PR or the current branch's PR.
Structure
git-workflow-skill/ # abbreviated β key files only
βββ skills/git-workflow/
β βββ SKILL.md # Skill metadata and core patterns
β βββ ... # checkpoints.yaml, evals/, hooks
β βββ references/
β βββ commit-conventions.md # Commit message standards
β βββ pull-request-workflow.md # PR and review processes
β βββ ci-cd-integration.md # CI watching, git mirrors
β βββ advanced-git.md # Advanced Git operations
βββ commands/
β βββ pr-finish.md # /pr-finish slash command
βββ scripts/
βββ verify-harness.sh # Harness verification script
Expertise Areas
Commit Conventions
- Conventional Commits standard
- Semantic versioning mapping (
feat/fix/etc.) - Signed commits + DCO sign-off
- Atomic commit patterns
Collaborative Workflows
- Default-branch check before PR/scripting operations
- Atomic commits, no squash unless asked
- Merge strategies, review-thread resolution, merge gate
- Conflict resolution patterns
CI/CD Integration
- Watching CI from the CLI (
gh pr checks,gh run watch) - Git mirror repository sync (
git push --mirrorgotchas)
Conventional Commits Format
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
Types:
feat: New feature (MINOR version bump)fix: Bug fix (PATCH version bump)docs: Documentation onlystyle: Code style (formatting, no logic change)refactor: Code refactoringperf: Performance improvementstest: Adding/updating testsbuild: Build system changesci: CI configuration changeschore: Maintenance tasksrevert: 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
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
# 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 <commit-hash>
# 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
- enterprise-readiness-skill: Git workflow is part of CI/CD maturity
- security-audit-skill: Git hooks for security checks
License
This project uses split licensing:
- Code (scripts, workflows, configs): MIT
- Content (skill definitions, documentation, references): CC-BY-SA-4.0
See the individual license files for full terms.
Credits
Developed and maintained by Netresearch DTT GmbH.
Made with β€οΈ for Open Source by Netresearch
Files in the repo
- .claude-plugin
- .github
- Build
- commands
- docs
- hooks
- scripts
- skills
- tests
- .envrc
- .gitignore
- .markdownlint-cli2.jsonc
- .pre-commit-config.yaml
- .spec-cleanup.yml.example
- .yamllint.yml
- AGENTS.md
- composer.json
- LICENSE-CC-BY-SA-4.0
- LICENSE-MIT
- package.json
- plugin.json
- README.md
- renovate.json
Discussion (0)
Ask about usage, or say what you built with itSign in to join the discussion.
No comments yet. Be the first to say what this is good for.
More skills

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.
Topic in, narrated explainer video out. A Claude Code / Codex skill that turns any topic into a black-canvas motion-graphics explainer video with TTS voiceover, subtitles and a chapter progress bar. Chinese or English; every frame drawn in code with Remotion.
Public repository for Agent Skills
Open-source AI job search: scan job portals, evaluate listings into a structured A-H report with a global 1-5 score, tailor your CV, track applications β runs locally in your AI coding CLI (Claude Code, Codex, OpenCode, Antigravityβ¦)

Production-grade engineering skills for AI coding agents.