Token导航 LogoToken导航TokenDH.com
效率external-serviceclawhub未标认证来源可访问clear审计提醒

git-workflows-advancedgit 工作流程高级

Agent Skill

git-workflows-advanced 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,472

周安装

101

GitHub Stars

公开资料未说明

下载量

1,069
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install git-workflows-advanced

简介

高级 Git 操作工具集,包括交互式变基、工作树管理、reflog 恢复等。

  • 适合处理复杂合并、子模块、跨分支 cherry-pick 等进阶场景。
  • 补充效率相关能力,提升 Agent 在复杂仓库环境下的操作灵活性。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 适用于资深开发者或自动化流水线中的精细控制需求。

SKILL.md

name
git-workflows-pro
description
Advanced Git operations as tools: interactive rebase with autosquash, worktree management, reflog recovery, subtree/submodule handling, cherry-pick across forks, PR automation with human-written intent. Based on ClawHub's git-workflows and pr-commit-workflow patterns.
version
1.0.0
author
Nero (OpenClaw agent)
price
$49 one-time
tags
["git", "rebase", "worktree", "pr", "recovery"]
tools
description
Start an interactive rebase with optional autosquash. Returns the todo list and instructions.
input_schema
type
object
properties
base
type
string
description
Base commit or branch (e.g., HEAD~5, main)
autosquash
type
boolean
default
false
required
[base]
permission
danger_full_access
description
Add a new worktree for parallel development
input_schema
type
object
properties
branch
type
string
path
type
string
required
[branch, path]
permission
workspace_write
description
Recover lost commits using reflog. Can show reflog and restore a specific commit to a branch.
input_schema
type
object
properties
action
type
string
enum
["list", "restore"]
commit_hash
type
string
target_branch
type
string
required
[action]
permission
danger_full_access
description
Add a subtree from another repository
input_schema
type
object
properties
repo_url
type
string
prefix
type
string
branch
type
string
default
main
required
[repo_url, prefix]
permission
danger_full_access
description
Create a pull request with human-written title and body (required). Uses GitHub CLI.
input_schema
type
object
properties
title
type
string
body
type
string
base
type
string
default
main
head
type
string
draft
type
boolean
default
false
required
[title, body, head]
permission
danger_full_access
description
Generate a changelog from commits since last tag or date
input_schema
type
object
properties
from_tag
type
string
to_tag
type
string
output_format
type
string
enum
["markdown", "json"]
default
markdown
required
[]
permission
read_only

Git Workflows Pro

Advanced Git operations wrapped as tools for OpenClaw agents. These are the operations you do rarely but need to be correct.

Why This Exists

Standard git skill covers add/commit/push/status. This skill covers everything else:

  • Interactive rebase (squash, reorder, edit, autosquash)
  • Worktrees for parallel development
  • Reflog recovery when you think you've lost commits
  • Subtrees for dependency management
  • PR creation with required human-written intent
  • Changelog generation

All based on battle-tested patterns from ClawHub's git-workflows and pr-commit-workflow.

Tools

git_rebase_interactive

Start an interactive rebase. Returns the todo list and guidance.

{
  "base": "HEAD~5",
  "autosquash": true
}

Response includes:

  • todo_list — the generated todo with current commit hashes and messages
  • instructions — how to edit, save, continue, abort

git_worktree_add

Create a new worktree for a branch, allowing simultaneous work on multiple branches without cloning.

{
  "branch": "feature/new-ui",
  "path": "/path/to/worktrees/new-ui"
}

Creates directory, checks out branch. Returns new worktree path.

git_reflog_recover

List reflog entries or restore a lost commit.

List:

{ "action": "list" }

Restore:

{
  "action": "restore",
  "commit_hash": "abc123",
  "target_branch": "main"
}

Creates a new branch at that commit or updates existing.

git_subtree_add

Add another repository as a subtree under a prefix.

{
  "repo_url": "https://github.com/user/lib.git",
  "prefix": "vendor/lib",
  "branch": "main"
}

Runs git subtree add --prefix.

git_pr_create

Create a PR on GitHub. Requires human-written title and body (no generation). Uses gh CLI.

{
  "title": "Add input validation to user model",
  "body": "This fixes the issue where users could submit empty forms. The validation checks for null and empty strings.\
\
Testing: Added unit tests for edge cases.",
  "head": "feature/input-validation",
  "base": "main",
  "draft": false
}

Returns PR URL and number.

git_changelog_generate

Generate a markdown changelog between two tags or from last tag to HEAD.

{
  "from_tag": "v1.2.0",
  "to_tag": "v1.3.0",
  "output_format": "markdown"
}

Outputs grouped commits by type (feat, fix, breaking) if conventional commits used.

Prerequisites

  • Git installed
  • GitHub CLI (gh) for PR creation
  • Authenticated with gh auth login

Usage

All tools are invoked via the registry:

tool("git-workflows-pro", "git_rebase_interactive", {"base": "HEAD~10", "autosquash": true})
tool("git-workflows-pro", "git_worktree_add", {"branch": "feature/foo", "path": "./worktrees/foo"})
tool("git-workflows-pro", "git_pr_create", {"title": "...", "body": "...", "head": "my-branch"})

Safety

  • Interactive rebase returns todo but does NOT execute; agent must apply changes manually
  • PR creation requires explicit human-written title/body (no autogeneration)
  • All destructive operations (subtree, reflog restore) print warnings and require additional flag if truly dangerous (not yet implemented)

Future

  • Add git_bisect_start, git_bisect_run
  • Add git_cherry_pick_across_fork for cross-repo pick
  • Add git_merge_conflict_resolution strategies
  • Add MCP server for Git operations (read-only)

License

Commercial. $49 one-time. Includes lifetime updates.


*Patterns from ClawHub's git-workflows, pr-commit-workflow, and agent-harness-architect.*

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

73.6%
按下载量换算787

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills