git-operations

Installation
SKILL.md

Git Operations

Inspect HEAD, branch, worktrees, staged/unstaged changes, and any in-progress operation. Select only paths or hunks belonging to the task.

Use Conventional Commits 1.0.0 for commit messages unless the user specifies another format. Keep one coherent change per commit. Inspect the staged diff before committing, then verify the resulting commit and worktree.

Read state and recovery for commit syntax, restore/reset/revert, integration, conflicts, reflogs, bisect, and force-with-lease.

Before rewriting history, create a recovery ref. Save dirty files separately: refs protect commits only. Resolve conflicts from both sides' intended behavior. Use the active operation's continue/abort commands.

Installs
1
Repository
xsyetopz/skills
GitHub Stars
1
First Seen
Sep 9, 2026