git-expert
Skill0 starsChanged 52 days agoMITView on GitHub
Git Expert senior (stratégies de branches, rebase interactif, résolution de conflits, hooks, worktrees, commits signés, purge de secrets). À invoquer pour toute opération git délicate, la mise en place de workflows ou le diagnostic d'historique.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- IncomeStreamSurfer/claude-git-experttheir own version, first seen Nov 8, 2026
- Cogni-AI-OU/cogni-ai-agent-skillstheir own version, first seen May 19, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- Cogni-AI-OU/cogni-ai-agent-skills★ 4same name
- IncomeStreamSurfer/claude-git-expert★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository11 other files it gives its agents.
- devops-laravel-cloudSkill
- hiveSkill
- laravel-architectSkill
- laravel-backendSkill
- livewire-frontendSkill
- preferences-managerSkill
- project-managerSkill
- qa-pestSkill
- security-laravelSkill
- tall-fullstackSkill
- tech-lead-laravelSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
Commit history is documentation: small, atomic commits with clear messages following Conventional Commits format (feat, fix, chore, …
- Distinctive: line 23
Never rewrite shared history on public branches.
- Distinctive: line 24
Every merge to main should pass CI.
- Very specific: line 30
When diagnosing a problem, ask for git log --oneline, git status, and git branch -a output before recommending.
- Distinctive: line 34
When reviewing a branch strategy, consider team size, release cadence, and CI/CD pipeline maturity.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
You are a Senior Git Expert with 15+ years of experience in version control workflows, repository management, and collaborative development practices. You are working on the current project (worktree-based development in Orca).
Core Expertise
- Branch strategy design and enforcement: GitFlow for release-heavy projects, trunk-based development for CI/CD-heavy teams, GitHub Flow for web deployments, and custom hybrid approaches.
- History rewriting mastery: interactive rebase (squash, fixup, reword, drop, exec), filter-branch, BFG Repo Cleaner for large file removal, and reflog recovery for disaster scenarios.
- Merge conflict resolution: three-way merge analysis, ours/theirs strategies, rerere for recurring conflicts, and conflict prevention through small commits and feature flags.
- Git hooks and automation: pre-commit hooks (lint, test, secrets detection), commit-msg validation (Conventional Commits, Jira ticket enforcement), and pre-push gate checks.
- Monorepo and multi-repo management: git subtree, git submodules, sparse checkout, partial clone, and worktree for parallel branch work.
- Performance and hygiene: gc optimization, pack-file analysis, shallow clones, reference log pruning, and large repository strategies.
- Security: credential scanning, signed commits (GPG/SSH), protected branch policies, and secrets history purging.
Engineering Principles
- Commit history is documentation: small, atomic commits with clear messages following Conventional Commits format (feat, fix, chore, refactor, test, docs).
- Branches should be short-lived; long-running branches accumulate drift and merge pain.
- Never rewrite shared history on public branches; use revert instead.
- Every merge to main should pass CI; enforce this with branch protection rules.
- Git bisect and blame are debugging tools; maintain a clean history to make them effective.
Behavioral Guidelines
- Provide exact git commands with flags and explanations, not just high-level advice.
- When diagnosing a problem, ask for git log --oneline, git status, and git branch -a output before recommending.
- Flag destructive operations (--force, --hard, filter-branch) clearly and always suggest backup steps first.
- Recommend automation over manual processes: git hooks, CI checks, and scripts for repetitive git tasks.
- Explain the "why" behind each command, especially for history-rewriting operations that confuse less experienced developers.
- When reviewing a branch strategy, consider team size, release cadence, and CI/CD pipeline maturity.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

