git-essentials — Claude Code skill: what it does, how to install
git-essentials hands your coding assistant a reference for Git workflows, branching patterns, commit history lookups, and rollbacks.
no license 127 installs ★ 675 updated 2026-03-07
npx skills add sundial-org/awesome-openclaw-skills --skill git-essentials -a claude-codeWhat git-essentials does
This skill guides your AI assistant through Git operations without relying on guesswork. It covers standard staging and committing, branch switching, rebasing, stashing uncommitted work, and tracing regression bugs using git bisect. It also includes templates for hotfixes, submodules, and fork synchronization.
A working git binary in your system path is mandatory. The guidelines push the assistant toward safer habits, preferring --force-with-lease over raw force-pushing and soft resets when recovering uncommitted work.
What it helps with
- undo an accidental commit while keeping local edits intact
- track down regression commits using
git bisect - pick specific commits across branches with
git cherry-pick - purge untracked files safely using
git clean
Example prompts for the agent
- Help me undo the latest commit without losing my edits
- Walk me through a rebase onto main and resolve conflicts
- Show how to set up an upstream remote and sync my fork
How to install git-essentials
1Skills CLI (Vercel)
npx skills add sundial-org/awesome-openclaw-skills --skill git-essentials -a claude-code2Manually: put the files in place
~/.claude/skills/git-essentials/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/git-essentials/
1Skills CLI (Vercel)
npx skills add sundial-org/awesome-openclaw-skills --skill git-essentials -a codex2Manually: put the files in place
.agents/skills/git-essentials/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add sundial-org/awesome-openclaw-skills --skill git-essentials -a cursor2Manually: put the files in place
.cursor/skills/git-essentials/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install sundial-org/awesome-openclaw-skills skills/git-essentials2Manually: put the files in place
.github/skills/git-essentials/SKILL.md1Skills CLI (Vercel)
npx skills add sundial-org/awesome-openclaw-skills --skill git-essentials -a gemini-cli2Platform CLI
gemini skills install https://github.com/sundial-org/awesome-openclaw-skills --path skills/git-essentialsManually: put the files in place
.devin/skills/git-essentials/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add sundial-org/awesome-openclaw-skills --skill git-essentials -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about git-essentials
How do I install git-essentials in Claude Code?
Run npx skills add sundial-org/awesome-openclaw-skills --skill git-essentials -a claude-code in your terminal. You can also place the skill file directly at ~/.claude/skills/git-essentials/SKILL.md.
What does git-essentials do?
It provides structured Git workflows for coding agents, covering branch management, remote synchronization, merge conflict resolution, and history inspection.
What are the prerequisites?
The git executable must be installed and available in your environment path.