Skill / SKILL.md

Git Workflow

JayRHa/agent-skills

Guides safe, professional Git usage — branching strategies, atomic clean commits, conventional commit messages, interactive rebase (squash/fixup/reword/reorder), merge vs rebase decisions, conflict resolution, and recovery of lost work via reflog. Use this skill when the user asks to create or clean up a branch, write or amend commits, squash or reorder history, rebase onto main, resolve merge conflicts, undo a bad commit/merge/reset, recover deleted commits or branches, find lost work, fix a detached HEAD, force-push safely, or generally "clean up my git history" before opening a PR.
2 views 15 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Guides safe, professional Git usage — branching strategies, atomic clean commits, conventional commit messages, interactive rebase (squash/fixup/reword/reorder), merge vs rebase decisions, conflict resolution, and recovery of lost work via reflog. Use this skill when the user asks to create or clean up a branch, write or amend commits, squash or reorder history, rebase onto main, resolve merge conflicts, undo a bad commit/merge/reset, recover deleted commits or branches, find lost work, fix a detached HEAD, force-push safely, or generally "clean up my git history" before opening a PR.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/JayRHa/agent-skills' skill-source

Use the complete skill-source/git-workflow directory with your client’s skill installer.

Source directory git-workflow

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
54f8bcacea7d0095cbdf010b05fb2daac94a1a3e667d70996ab263d487ae56e5
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills