Token导航 LogoToken导航TokenDH.com
研究检索只读clawhub未标认证来源可访问clear审计通过

git-workflows-progit 工作流程专业版

Agent Skill

git-workflows-pro 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

7,872

周安装

328

GitHub Stars

1

下载量

2,624
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install git-workflows-pro

简介

处理高级 git 工作流程和恢复任务。当用户需要交互式变基、提交清理、冲突解决、引用日志恢复等方面的帮助时使用

SKILL.md

name
git-workflows-pro
description
Handle advanced git workflows and recovery tasks. Use when the user needs help with interactive rebase, commit cleanup, conflict resolution, reflog recovery, cherry-pick, stash, worktree, bisect, submodule vs subtree decisions, sparse checkout, branch archaeology, or undoing dangerous history mistakes in real repositories.

Git Workflows

Use this skill for non-trivial git work where safety, history clarity, or repository structure matters more than a single command.

Keep the main thread focused on the user’s goal. Prefer the smallest safe sequence of git operations.

Core approach

Before suggesting commands, determine:

  1. the user’s goal
  2. whether history is already shared with others
  3. whether the task changes commits, refs, working tree, or repository structure
  4. whether recovery should be prepared first

If a step is destructive or hard to reverse, create a safety point first.

Default safety rules

  • Check git status before history edits.
  • Check the current branch and upstream before rebases, resets, or force-pushes.
  • Prefer non-destructive inspection first.
  • Prefer git switch and git restore over older mixed forms when clarity matters.
  • Create a recovery point before risky history surgery.
  • Avoid rewriting shared history unless the user explicitly wants that tradeoff.
  • When conflicts or recovery are involved, explain both the immediate fix and the rollback path.

Recovery-first moves

Use these patterns early when risk is high:

git status
git branch backup/$(date +%Y%m%d-%H%M%S)-preop

For history recovery, inspect before changing anything:

git reflog --date=local --decorate -n 30
git log --oneline --graph --decorate -n 30

Read references/recovery.md for reflog-based recovery, reset recovery, branch recovery, and force-push mistakes.

Common task families

History cleanup

Use for:

  • squashing fix commits
  • rewording commit messages
  • splitting a bad commit
  • dropping accidental commits
  • preparing a branch before merge

Prefer interactive rebase for local or not-yet-shared history.

Bug origin hunting

Use git bisect when the user knows a good state and a bad state and needs to find the introducing commit.

Parallel branch work

Use git worktree when the user needs two branches checked out at once, wants cleaner hotfix flow, or wants to avoid stashing.

Conflict handling

Resolve carefully when rebasing, merging, cherry-picking, or applying stashes. Preserve user intent, not just file merge success.

Repository archaeology

Use blame, pickaxe, grep, log graph, and path history when the user needs to answer:

  • who changed this
  • when did this break
  • where did this line come from
  • which commit removed this behavior

Repository shape changes

Use extra care for:

  • submodules
  • subtrees
  • sparse checkout
  • worktree pruning
  • branch renames
  • default-branch migration

Read references/advanced-patterns.md when the task involves repository topology rather than simple day-to-day commits.

Decision rules

Rebase vs merge

  • Prefer rebase for cleaning local feature-branch history.
  • Prefer merge when preserving shared branch history matters.
  • If the branch is already shared, explicitly call out the rewrite risk before rebasing.

Subtree vs submodule

  • Prefer subtree when the user wants simpler consumption and fewer contributor footguns.
  • Prefer submodule when the user truly needs a pinned external repository boundary.

Worktree vs stash

  • Prefer worktree for medium or long parallel work.
  • Prefer stash for short interruptions or tiny context switches.

Reset vs restore vs revert

  • Prefer restore for file-level undo.
  • Prefer reset for local history and index surgery.
  • Prefer revert for undoing commits that are already shared.

Operating style

When guiding the user:

  1. say what state to inspect first
  2. state the safest command sequence
  3. note whether history is being rewritten
  4. give the rollback path when risk is non-trivial

Keep command sets short. Do not dump every git option unless needed.

When to read references

  • Read references/recovery.md for reflog recovery, accidental reset, branch resurrection, detached HEAD recovery, or force-push mistakes.
  • Read references/history-surgery.md for interactive rebase, commit splitting, autosquash, cherry-pick cleanup, and safe force-push guidance.
  • Read references/advanced-patterns.md for worktree, bisect, subtree, submodule, sparse checkout, and repository-structure decisions.

Output template

When responding on a git workflow task, prefer this structure:

  • Goal:
  • Risk level:
  • Safe first check:
  • Recommended commands:
  • Rollback path:
  • Shared-history warning:

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

88.88%
按下载量换算2,332

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills