git-workflow · akillness — Claude Code skill: what it does, how to install
A skill for safer local Git work: branch cleanup, commit edits, conflict handling, history recovery, and review-ready diffs.
npx skills add akillness/jeo-skills --skill git-workflow -a claude-codeWhat git-workflow does
git-workflow inspects the local repository situation and routes the task into one focused path: branch preparation, commit cleanup, syncing with a base branch, conflict handling, push safety, or recovery. It helps choose between merge and rebase, stage selected changes, and prepare a cleaner review diff.
Before risky operations, the skill checks the current branch, worktree, and recent history. Rewritten branches use git push --force-with-lease, while shared history is undone with git revert; recovery can use git reflog and a rescue branch. The skill is intended for a working Git CLI and local repository state, not hosted PR workflows, repository administration, or sprint planning.
What it helps with
- prepare a branch for review
- split changes into cleaner commits
- choose merge or rebase for a branch update
- resolve a local Git conflict
- recover a commit after reset or rebase
Example prompts for the agent
- Inspect my branch and tell me the safest next step before review.
- I ran
reset --hardby mistake; help me recover the missing commit. - I rebased this branch; prepare a safe push for the rewritten history.
How to install git-workflow
1Skills CLI (Vercel)
npx skills add akillness/jeo-skills --skill git-workflow -a claude-code2Manually: put the files in place
~/.claude/skills/git-workflow/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/git-workflow/
1Skills CLI (Vercel)
npx skills add akillness/jeo-skills --skill git-workflow -a codex2Manually: put the files in place
.agents/skills/git-workflow/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add akillness/jeo-skills --skill git-workflow -a cursor2Manually: put the files in place
.cursor/skills/git-workflow/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install akillness/jeo-skills git-workflow2Manually: put the files in place
.github/skills/git-workflow/SKILL.md1Skills CLI (Vercel)
npx skills add akillness/jeo-skills --skill git-workflow -a gemini-cli2Platform CLI
gemini skills install https://github.com/akillness/jeo-skills --path .agent-skills/git-workflowManually: put the files in place
.devin/skills/git-workflow/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add akillness/jeo-skills --skill git-workflow -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-workflow
How do I install git-workflow in Claude Code?
Run npx skills add akillness/jeo-skills --skill git-workflow -a claude-code, then check ~/.claude/skills/git-workflow/SKILL.md.
What does git-workflow do?
It routes local Git tasks involving branches, staging, commits, synchronization, conflicts, rewritten pushes, and recovery into a safer next step.
Does git-workflow require the Git CLI?
Yes. It is designed for cases where the Git CLI is available and the issue concerns local repository state.
Similar skills
All skills for Git and GitHub →git-workflow by other authors comes first.