From git-workflow
Provides expert Git workflow patterns for branching strategies, conventional commits, PR creation/review/merge, CI/CD integration, and git hook setup.
How this skill is triggered — by the user, by Claude, or both
Slash command
/git-workflow:git-workflowThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Expert patterns for Git: branching, commits, collaboration, CI/CD.
checkpoints.yamlevals/evals.jsonreferences/advanced-git.mdreferences/branching-strategies.mdreferences/ci-cd-integration.mdreferences/claude-code-hooks.mdreferences/code-quality-tools.mdreferences/commit-conventions.mdreferences/git-hooks-setup.mdreferences/github-releases.mdreferences/merge-gate-watcher.mdreferences/pull-request-workflow.mdreferences/spec-cleanup.mdscripts/spec-cleanup-guard.shscripts/verify-git-workflow.shExpert patterns for Git: branching, commits, collaboration, CI/CD.
references/pull-request-workflow.md.~/.claude/skills/, ~/.claude/plugins/cache/, **/.bare/**) — always the repo worktree, verified by pwd.--force-with-lease — never plain --force.add → commit → fetch → rebase → push. Dirty tree aborts rebase.See references/pull-request-workflow.md for merge-gate and atomic-commit patterns.
Load references on demand:
| Reference | Content Triggers |
|---|---|
references/branching-strategies.md | Branching model, Git Flow, GitHub Flow, trunk-based, branch protection |
references/commit-conventions.md | Commit messages, conventional commits, DCO sign-off, semantic versioning, commitlint |
references/pull-request-workflow.md | PR create/review/merge, thread resolution, merge strategies, CODEOWNERS, signed commits + rebase |
references/ci-cd-integration.md | GitHub Actions, GitLab CI, semantic release, deployment |
references/advanced-git.md | Rebase, cherry-pick, bisect, stash, worktrees, reflog, submodules, recovery |
references/github-releases.md | Release management, immutable releases, --latest=false, multi-branch |
references/git-hooks-setup.md | Hook frameworks, detection, recommended hooks per stage |
references/claude-code-hooks.md | Claude Code settings.json hooks — merge gate, cache-path rejection, auto-lint |
references/code-quality-tools.md | shellcheck, shfmt, git-absorb, difftastic |
references/merge-gate-watcher.md | Merge-driver loop, hard/soft check taxonomy, rerun stale-SHA, review-bot rounds |
references/spec-cleanup.md | Keep planning artifacts off the base branch; guard + capture-to-ADR |
<type>[scope]: <description>
Types: feat (MINOR), fix (PATCH), docs, style, refactor, perf, test, build, ci, chore, revert
Breaking change: Add ! after type or BREAKING CHANGE: in footer.
feature/TICKET-123-description
fix/TICKET-456-bug-name
release/1.2.0
hotfix/1.2.1-security-patch
Detect hooks before first commit:
ls lefthook.yml .lefthook.yml captainhook.json .pre-commit-config.yaml .husky/pre-commit 2>/dev/null || echo "No hooks"
Install: lefthook install | composer install | npm install | pre-commit install
--latest=false from non-default branches.git pull BEFORE gh release create.Before merging: threads resolved, CI green (incl. annotations), rebased, signed. Rebase-only + signed: git merge --ff-only.
./scripts/verify-git-workflow.sh /path/to/repository
Contributing: https://github.com/netresearch/git-workflow-skill
npx claudepluginhub netresearch/claude-code-marketplace --plugin git-workflowGuides teams in choosing a branching strategy (trunk-based, GitHub Flow, Git Flow, GitLab Flow), defining commit conventions (Conventional Commits), setting up PR workflows, managing releases, and establishing git standards.
Guides Git workflow including conventional commits, PR formatting, and gated CI process. Use for commits, branches, rebasing, and conflict resolution.
Guides Git branching strategies (GitHub Flow, trunk-based, GitFlow), commit conventions, merge vs rebase, conflict resolution, and collaborative development best practices.