Git Helper
/install legend-git-helper
Git Helper
Handles all git operations through safe, consistent workflows.
Core Workflows
Status Check
Before any git operation, run git status to understand repository state.
Staging
git add \x3Cfile>- Stage specific filesgit add -A- Stage all changesgit add -p- Interactive staging (review hunks)
Committing
Use Conventional Commits format:
\x3Ctype>(\x3Cscope>): \x3Cdescription>
[optional body]
[optional footer]
Types: feat, fix, docs, style, refactor, test, chore
Scope: Optional, usually the component or area affected
Description: Imperative present tense ("add feature" not "added feature")
Push/Pull
git push- Push to remote (default: current branch)git pull --rebase- Fetch and rebase (preferred default)git pull- Fetch and merge (when merge history needed)
Rebasing
git rebase -i HEAD~N- Interactive rebase last N commits- Always confirm branch state before rebasing
- Never rebase shared/public branches without explicit permission
Log/Diff
git log --oneline -N- View last N commitsgit diff- Unstaged changesgit diff --staged- Staged changesgit diff HEAD~N- Changes over last N commits
Safety Rules
- Never force push without explicit user permission
- Always check status before any operation
- Confirm destructive actions (rebase, reset, hard, force push)
- Stay within workspace boundaries - respect user's file access rules
- Pull before push when working with shared branches
When to Read references/workflows.md
Load this reference file when:
- User needs detailed Conventional Commits specification
- Complex rebase/merge scenarios require guidance
- Branch strategy consultation needed
- Conflict resolution guidance required
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install legend-git-helper - 安装完成后,直接呼叫该 Skill 的名称或使用
/legend-git-helper触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Git Helper 是什么?
Git workflow automation for commits, pushes, rebases, status checks, and branch operations. Use when working with git repositories for: (1) Checking status,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 215 次。
如何安装 Git Helper?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install legend-git-helper」即可一键安装,无需额外配置。
Git Helper 是免费的吗?
是的,Git Helper 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Git Helper 支持哪些平台?
Git Helper 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Git Helper?
由 dougchambers(@dougchambes)开发并维护,当前版本 v1.0.0。