19 skills · 8 categories
Claude Code skills for Git
Git skills for atomic commits with messages that explain why, clean history, bisecting regressions, worktrees for parallel Claude sessions, monorepos and pull requests reviewers can approve quickly.
Start with these
- 1
Git Worktree Parallelism
Several Claude sessions, one repo, zero collisions
Lets you run two to four Claude Code sessions at once without them trampling each other. Claude splits work into tasks with disjoint file scopes, creates a worktree and branch per task, makes each checkout runnable with its own env file, port and database, hands every session a written contract, then rebases and merges in a planned order and removes everything afterwards only with your confirmation.
- 2
Git History Surgery
Rewrite history with a backup ref and a tree diff
Claude treats every history rewrite as surgery: backup branch first, clean tree, the right tool for the goal, and a tree diff against the backup to prove nothing was lost. It squashes, splits, reorders, and moves commits, resolves rebase conflicts with zdiff3 context, recovers work from the reflog, and asks before any force push or reset on a branch others use.
- 3
Git Hooks Automation
Fast commit hooks backed by the same checks in CI
Claude chooses one hook framework for the repo (pre-commit, lefthook or husky with lint-staged), splits checks between commit, push and CI so commits stay fast, and pins every hook version. Fixes are re-staged without touching unstaged work, gitleaks blocks secrets before they reach history, hooks install themselves, and CI runs the same checks so --no-verify bypasses nothing.
All 19 Git skills
Grouped by category. Each card opens the full playbook, example prompts and install commands.
Claude Code Mastery 3
Git Worktree Parallelism
Several Claude sessions, one repo, zero collisions
Lets you run two to four Claude Code sessions at once without them trampling each other. Claude splits work into tasks with disjoint file scopes, creates a worktree and branch per task, makes each checkout runnable with its own env file, port and database, hands every session a written contract, then rebases and merges in a planned order and removes everything afterwards only with your confirmation.
Plugin Marketplace Publisher
Ship your skills, agents and hooks as one install
Packages a scattered set of skills, subagents, hooks and MCP servers into one versioned plugin and publishes it through a git-hosted marketplace. Claude fixes the layout mistakes that stop components loading, rewrites paths for the plugin cache, validates manifests with a bundled checker, proves the install works in a clean session, and commits the settings that prompt teammates to install it.
Status Line Scripts
Context, cost and branch at a glance, under 50 ms
Claude builds a status line from the documented stdin contract instead of guessing field names, treats every optional field as possibly absent, caches git calls per session so the bar stays fast, and pipe-tests full, empty and malformed payloads before registering it. Ships a stdlib Python status line with a color-coded context bar, cost and 5-hour limit you can adapt.
Engineering Workflow 8
Git History Surgery
Rewrite history with a backup ref and a tree diff
Claude treats every history rewrite as surgery: backup branch first, clean tree, the right tool for the goal, and a tree diff against the backup to prove nothing was lost. It squashes, splits, reorders, and moves commits, resolves rebase conflicts with zdiff3 context, recovers work from the reflog, and asks before any force push or reset on a branch others use.
Code Archaeology
Learn why code exists before you delete it
Claude finds the commit that actually introduced a behavior, not the last formatter run, using blame that ignores whitespace and moves plus pickaxe and line-range history. It reads the PR discussion, linked issues and ADRs, quotes the original reason, checks whether that reason still holds against today's code, dependencies and data, and ends with a provenance note and a recommendation backed by evidence.
Code Search
Find every usage, and prove you found them all
Claude picks the right search tool for the question, from ripgrep with types, globs and word boundaries to ast-grep for call shapes, git grep for history and LSP for type-aware references. It searches every spelling, includes config, templates, SQL and infra, follows re-exports and dynamic access, cross-checks counts, and reports results with file and line evidence plus an explanation of false positives.
Commit Craft
Commits that bisect cleanly and explain why
Turns a messy working tree into a short series of atomic commits: refactors before features, tests alongside the behavior they cover, and Conventional Commits headers whose bodies explain the reason, not the diff. Claude stages hunk by hunk, tests the staged snapshot, folds review corrections in with fixup commits, and can lint every message in a range with a bundled script.
Release Management
Version numbers that tell consumers the truth
Claude derives the next version from the actual changes rather than gut feel, cuts annotated tags that CI builds and publishes from, and picks fitting automation such as release-please, semantic-release, Changesets or git-cliff. Release branches and hotfixes follow a fix-on-main-then-cherry-pick flow, and every push or publish waits for your confirmation behind a pre- and post-release checklist.
Systematic Debugging
Root causes, not lucky patches
Stops Claude from guessing at fixes. It reproduces the failure first, narrows the search with git bisect or input reduction, tests ranked hypotheses one variable at a time, and only then changes code. Every fix ends with a regression test that fails without it and a short root-cause note you can paste into the PR.
Codebase Onboarding
From git clone to a verified map in one session
Instead of summarizing files at random, Claude classifies the repo, runs a bundled map script for languages, manifests, CI and entry points, proves the build and test commands work, and traces one real flow from handler to database with file and line references. The result is a one-page architecture note with run instructions, a module map, hotspots, and open questions.
Code Review
Findings ranked by severity, minus the nitpicks
Gives Claude a two-pass review method for teammates' diffs: first design and correctness traced with concrete adversarial inputs, then a sweep for auth gaps, injection, races, unsafe migrations, N+1 queries, and weak tests. Findings are verified before posting, labeled blocker through nit, carry a file and line plus a fix, and end with a verdict that states what was not reviewed.
Security 1
Automation & Tooling 3
Git Hooks Automation
Fast commit hooks backed by the same checks in CI
Claude chooses one hook framework for the repo (pre-commit, lefthook or husky with lint-staged), splits checks between commit, push and CI so commits stay fast, and pins every hook version. Fixes are re-staged without touching unstaged work, gitleaks blocks secrets before they reach history, hooks install themselves, and CI runs the same checks so --no-verify bypasses nothing.
Dotfiles Management
One command to a working machine, zero secrets in git
Claude builds a chezmoi (or Stow or yadm) repo where machine differences live in templates and prompted data, secrets come from 1Password, Bitwarden or age encryption at apply time, and run_onchange scripts reinstall packages when the Brewfile changes. Every apply is previewed with a diff, the repo is secret-scanned before pushing, and a fresh container proves the one-line bootstrap.
Terminal Productivity
A fast shell where everything is a few keys away
Claude measures shell startup before changing anything, profiles slow plugins, and builds a lean setup: shared deduplicated history, fzf pickers for files, history and branches, zoxide jumps, tmux sessions that survive disconnects, and a minimal starship prompt. Aliases come from your most-repeated commands, and secrets stay out of rc files and history.
Install
Every Git skill in one command
Installs into ~/.claude/skills/. Add --project after -- to install into the current repository.
curl -fsSL https://claudeskills.page/install.sh | sh -s -- git-worktree-parallelism git-history-surgery git-hooks-automation code-archaeology code-search commit-craft release-management changelog-release-notes systematic-debugging dotfiles-management codebase-onboarding code-review plugin-marketplace-publisher statusline-scripts jupyter-notebooks mlops-tracking secrets-management service-boundaries terminal-productivity Git skills FAQ
What is the best Claude Code skill for Git?
Start with Git Worktree Parallelism: Several Claude sessions, one repo, zero collisions. Then add Git History Surgery and Git Hooks Automation, which cover the next most common Git requests.
How do I install all 19 Git skills at once?
Pass every name to the installer in one command: curl -fsSL https://claudeskills.page/install.sh | sh -s -- git-worktree-parallelism git-history-surgery git-hooks-automation code-archaeology code-search commit-craft release-management changelog-release-notes systematic-debugging dotfiles-management codebase-onboarding code-review plugin-marketplace-publisher statusline-scripts jupyter-notebooks mlops-tracking secrets-management service-boundaries terminal-productivity. Add --project to install them into the current repository's .claude/skills/ folder so your team gets them too.
Do these Git skills work outside Claude Code?
Yes. Each skill uses only the portable Agent Skills frontmatter, so the same folder works on claude.ai, through the Claude API and in the Agent SDK. Skills that run bundled scripts need an environment with code execution.