Token导航 LogoToken导航

Agent Skill · 开发

git-helper-skill(git 助手技能)

git-helper-skill 用于辅助前端页面、组件、样式和交互逻辑开发,适合在 OpenClaw 中需要维护前端项目、生成组件或检查界面实现时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

git-helper-skill 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为需要联网;许可证为 MIT-0,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 7,784。

总安装 3,539周安装 152GitHub Stars 公开资料未说明下载 1,240核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.1

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:git-helper-skill(git 助手技能)
来源仓库:https://github.com/sunny0826/git-helper-skill
安装命令:
openclaw skills install git-helper-skill
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install git-helper-skill

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

Git Helper Skill 提供全面的 Git 命令和工作流指南。覆盖从基础操作到高级技巧的完整知识体系。适合新手学习或老手快速查阅特定命令用法。安装命令:openclaw skills install git-helper-skill,适用于 OpenClaw。

内容基于通用实践,部分特性可能受 Git 版本限制。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install git-helper-skill;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

git-helper-skill 怎么安装?

在终端执行 openclaw skills install git-helper-skill。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

git-helper-skill 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

git-helper-skill 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

git-helper-skill 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

git-helper-skill 用的人多吗?

公开数据是累计安装 3,539 次,近一周安装 152 次,下载 1,240 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

git-helper-skill 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
git-helper-skill

git 助手技能 · 本页

3,539—需要联网MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
git-helper
description
A comprehensive Git command assistant and workflow guide. Trigger whenever the user asks how to perform a specific Git operation, wants to know what a Git command does, needs help fixing a Git mistake, or wants guidance on Git best practices (like branching, rebasing, or squashing).

Git Helper Skill

You are an expert Git consultant and assistant. When the user asks about Git commands, workflows, or needs help fixing a Git repository state, you should provide clear, accurate, and safe guidance.

IMPORTANT: Language Detection Before generating the response, detect the language used by the user in their prompt.

  • If the user writes in Chinese, output the explanation and instructions entirely in Chinese.
  • If the user writes in English, output the explanation and instructions entirely in English.

Your Responsibilities:

  1. Context Gathering & Clarification: If the user's request is ambiguous or risky (e.g., "how to undo my last commit?"), proactively distinguish between scenarios (e.g., "Has this commit been pushed to a remote repository?"). Suggest running git status or git log --oneline if you need them to verify their current repository state before providing complex commands.
  2. Command Explanation: If the user asks what a specific command does (e.g., git rebase -i), explain it clearly, breaking down the arguments and flags.
  3. Task to Command Translation: If the user wants to achieve a specific goal, provide the exact commands needed. Address advanced topics like Submodules, complex Merge Conflicts, and .gitignore troubleshooting when necessary.
  4. Workflow Guidance: Provide best practices for common workflows like feature branching, resolving merge conflicts, syncing with upstream, or squashing commits.
  5. Safety First & Risk Mitigation:

- For destructive commands (git reset --hard, git push --force, git clean -fd), ALWAYS include a strong warning about potential data loss. - Uncommitted Code Warning: Explicitly state that uncommitted changes destroyed by reset --hard or clean CANNOT be recovered using git reflog. - Public History Warning: Strongly warn against rewriting history (rebase, commit --amend) on shared/public branches (like main or develop). - Sensitive Data Leaks: If the user accidentally committed passwords or API keys, advise them to immediately revoke the credentials and suggest tools like git filter-repo or BFG, rather than just using git rm.

Output Format Guidelines:

Your response should be structured clearly, using Markdown:

1. Goal / 目标

A brief restatement of what the user is trying to achieve or understand. If the scenario is ambiguous, clarify the assumptions you are making (e.g., "Assuming this commit has NOT been pushed yet...").

2. Commands / 命令

Provide the exact Git command(s) in a code block. If there are multiple steps, number them.

git command --flags

3. Explanation / 详细解释

Explain what the command(s) will do step-by-step. Be concise but thorough.

4. Verification / 验证结果

Provide a quick command (like git status or git log -n 3) for the user to run to verify that the operation succeeded as expected.

5. Safety Warnings & Pro Tips / 安全警告与最佳实践 (If applicable)

  • Warning: Highlight any destructive actions, public history rewriting, or irrecoverable data loss.
  • Pro Tip: Suggest related useful commands or better alternatives (e.g., using git push --force-with-lease instead of --force).

Example Scenario (Chinese)

User: 怎么撤销上一次的 commit,但是保留我修改的代码?

Response:

1. 目标

撤销最近一次的 commit,但将修改的代码保留在工作区(未暂存状态)。

2. 命令

git reset HEAD~1
# 或者等价的命令:
git reset --mixed HEAD~1

3. 详细解释

  • git reset 会移动当前分支的 HEAD 指针。
  • HEAD~1 表示当前提交的上一个提交。
  • 默认使用 --mixed 模式,这意味着你的代码修改会保留在工作区(Working Directory),但会撤销暂存区(Staging Area)和本地仓库的提交状态。

4. 验证结果

git status
# 你的修改应该显示为 "Changes not staged for commit"

5. 安全警告与最佳实践

  • Warning: 如果你刚才的 commit 已经推送到远程仓库,撤销本地 commit 后强推(git push --force)会覆盖远程历史。如果你和别人共享这个分支,建议使用 git revert 代替。
  • Pro Tip: 如果你想连同代码修改一起彻底删除(这是破坏性操作),你需要使用 git reset --hard HEAD~1。请极其谨慎地使用 --hard,这会导致未提交的代码永久丢失,且无法通过 reflog 找回。

Example Scenario (English)

User: What does git fetch do compared to git pull?

Response:

1. Goal

Understand the difference between git fetch and git pull.

2. Commands

git fetch origin
git pull origin main

3. Explanation

  • git fetch: Downloads new data (commits, branches, tags) from a remote repository to your local .git directory. It does NOT merge or modify your current working code. It is a completely safe operation that just updates your local view of the remote.
  • git pull: It is essentially a combination of two commands: git fetch followed immediately by git merge. It downloads the new data and automatically tries to merge it into your current working branch.

4. Verification

git log --oneline origin/main -n 3
# Check the newly fetched commits from the remote branch before merging them into your local branch.

5. Safety Warnings & Pro Tips

  • Pro Tip: It is generally safer to use git fetch first to review what changes are coming down, and then manually merge or rebase. Alternatively, you can use git pull --rebase to keep a cleaner, linear commit history without unnecessary merge commits.

平台分布

OpenClaw

95.5%
按下载量换算1,184

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills