name: git-helper description: Assists with git operations, such as checking branch status, creating commits, stashing changes, resolving conflicts, or analyzing git history. allowed-tools: bash
Git Helper Skill
Use this skill to help users manage their Git repositories.
Common Operations
- Status & Changes:
git statusto see current state.git difforgit diff --cachedto see exact line changes.
- Committing:
git add <files>to stage.- Write clear and descriptive commit messages following conventional commits standard.
- Branching:
git checkout -b <branch>to create a new branch.git branch -ato list all branches.
- History:
git log --oneline --graph --decorate -n 10for a compact history view.
- Conflict Resolution:
- Use
git statusto identify conflicting files. - Ask the user how they wish to resolve the conflict before editing the files.
- Use
Safeguards
NEVER run git push, git reset --hard, or git clean -fd without EXPLICIT user confirmation via the notify_user tool.