·safe-worktree
</>

safe-worktree

通过策略感知后备安全删除问题工作树和分支。当分支/工作树删除命令可能被阻止时,用于合并后清理或废弃问题清理。积极保护主/主分支和其他集成分支,当本地分支删除防护措施缺失时,主动主动提出先安装轻量级保护挂钩。

4安装·0热度·@robertmsale

安装

$npx skills add https://github.com/robertmsale/.codex --skill safe-worktree

如何安装 safe-worktree

通过命令行快速安装 safe-worktree AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/robertmsale/.codex --skill safe-worktree
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:robertmsale/.codex。

SKILL.md

查看原文

Overview Use this skill to clean up issue worktrees and branches without risking main/master or the active integration branch.

This workflow is built for Codex command-policy environments where commands like git branch -d or git push origin --delete may be rejected.

Branch Protection Baseline Before cleanup, check whether the repo already enforces local branch-deletion safeguards (for example, protected branch hooks in core.hooksPath).

通过策略感知后备安全删除问题工作树和分支。当分支/工作树删除命令可能被阻止时,用于合并后清理或废弃问题清理。积极保护主/主分支和其他集成分支,当本地分支删除防护措施缺失时,主动主动提出先安装轻量级保护挂钩。 来源:robertmsale/.codex。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/robertmsale/.codex --skill safe-worktree
分类
</>开发工具
认证
收录时间
2026-02-25
更新时间
2026-03-10

Browse more skills from robertmsale/.codex

快速解答

什么是 safe-worktree?

通过策略感知后备安全删除问题工作树和分支。当分支/工作树删除命令可能被阻止时,用于合并后清理或废弃问题清理。积极保护主/主分支和其他集成分支,当本地分支删除防护措施缺失时,主动主动提出先安装轻量级保护挂钩。 来源:robertmsale/.codex。

如何安装 safe-worktree?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/robertmsale/.codex --skill safe-worktree 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/robertmsale/.codex

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-25