← 返回 Skills 市场
dougchambes

Git Helper

作者 dougchambers · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
215
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install legend-git-helper
功能描述
Git workflow automation for commits, pushes, rebases, status checks, and branch operations. Use when working with git repositories for: (1) Checking status,...
使用说明 (SKILL.md)

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 files
  • git add -A - Stage all changes
  • git 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 commits
  • git diff - Unstaged changes
  • git diff --staged - Staged changes
  • git diff HEAD~N - Changes over last N commits

Safety Rules

  1. Never force push without explicit user permission
  2. Always check status before any operation
  3. Confirm destructive actions (rebase, reset, hard, force push)
  4. Stay within workspace boundaries - respect user's file access rules
  5. 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
安全使用建议
This is an instruction-only Git workflow helper and appears internally consistent. It will direct the agent to run git commands in the user's repository (including potentially destructive commands like rebase, reset --hard, and force-push when explicitly allowed). Before using: (1) ensure the agent is allowed to operate in the target repo and will confirm destructive actions, (2) keep backups or create a safety branch for important work, and (3) avoid granting autonomous invocation over critical repositories unless you trust the agent's permissions and prompts. The lack of code or external installs reduces risk, but remember that any agent using this skill can modify your git history if you authorize it.
功能分析
Type: OpenClaw Skill Name: legend-git-helper Version: 1.0.0 The skill bundle provides standard Git workflow automation and documentation. It includes safety guidelines such as requiring user permission for destructive actions and staying within workspace boundaries, with no evidence of malicious intent, data exfiltration, or obfuscation across SKILL.md and references/workflows.md.
能力评估
Purpose & Capability
The name/description match the content: SKILL.md and the reference contain only git commands, commit conventions, workflows, and conflict-resolution guidance. There are no unrelated required binaries, environment variables, or external services.
Instruction Scope
Runtime instructions are limited to git operations (status, add, commit, push, pull, rebase, diff, etc.) and referencing the included workflows.md. The guidance explicitly includes safety rules (confirm destructive actions, stay within workspace boundaries). There are no directives to read unrelated files, exfiltrate data, or contact external endpoints.
Install Mechanism
No install spec and no code files — instruction-only. Nothing is written to disk and there are no download or third-party package installation steps.
Credentials
No environment variables, credentials, or config paths are requested. The operations described are standard git commands that do not require extra secrets beyond whatever the user's git/remote setup already uses.
Persistence & Privilege
always is false and the skill does not request persistent or cross-skill configuration. The skill can be invoked autonomously by the agent (platform default), but it does not ask for elevated privileges or to modify other skills.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install legend-git-helper
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /legend-git-helper 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Automates common git workflows with safety and consistency. - Supports status checks, staging, committing (with Conventional Commits), pushing/pulling, rebasing, branch operations, and viewing logs/diffs. - Enforces safety rules including confirmation before destructive actions and no force pushes without explicit permission. - Provides guidance on when to reference detailed documentation for advanced scenarios.
元数据
Slug legend-git-helper
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

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。

💬 留言讨论