What it does
This skill helps with local Git tasks, from checking repository status to committing, pushing, creating worktrees, syncing with a base branch, and using rebase, squash, or fixup. It follows the commit message style already present in the log and groups changes by purpose. For history questions, it uses tools such as blame, bisect, log -S, log -G, and reflog, and supports findings with the relevant commit, subject, and file.
When it helps
Use it when you want to commit work and push a branch, create a worktree for another task, sync a branch with its base, or find when a piece of code was added and who wrote it. Work on GitHub itself, including pull requests, checks, issues, and merges, belongs to the github skill.
Example requests
- “Review my changes and commit them by feature.”
- “Create a worktree for this task.”
- “Find the first commit that added this string.”
Notes
Changes such as commits, pushes, rebases, resets, stashes, and deletions are made when requested or required by a workflow already underway. Before reset --hard or clean, the skill checks repository status because these commands can remove uncommitted work. Use the github skill for GitHub operations.
This overview was written by AI (OpenAI Codex) from the public SKILL.md. Check the original below for the exact behavior.