← 返回 Skills 市场
zlc000190

Using Git Worktrees

作者 zlc000190 · GitHub ↗ · v0.1.0
cross-platform ⚠ suspicious
2736
总下载
0
收藏
77
当前安装
1
版本数
在 OpenClaw 中安装
/install using-git-worktrees
功能描述
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification
安全使用建议
Install only if you want agents to create and prepare git worktrees automatically. For untrusted or sensitive repositories, tell the agent to ask before editing .gitignore, creating commits, installing dependencies, building, or running tests.
功能分析
Type: OpenClaw Skill Name: using-git-worktrees Version: 0.1.0 The skill is classified as suspicious due to its broad permissions and automatic execution of high-impact actions. Specifically, the agent is instructed to automatically modify the project's `.gitignore` file and commit the changes if a worktree directory is not ignored, which is a significant modification to the version control system. Additionally, the skill automatically executes dependency installation, build, and test commands (e.g., `npm install`, `pip install -r requirements.txt`, `cargo build`, `npm test`) based on detected project files. While these actions are plausibly needed for setting up a development environment, they involve executing arbitrary code from potentially untrusted project dependencies without explicit user confirmation for each step, posing a supply chain risk. These instructions are found in `SKILL.md`.
能力评估
Purpose & Capability
The core purpose of creating isolated git worktrees is coherent, and the .gitignore check, setup, and baseline tests fit a development-workspace workflow.
Instruction Scope
SKILL.md instructs the agent to add to .gitignore, commit that change, run dependency installs/builds, and run tests automatically; these are disclosed but lack a clear user confirmation gate.
Install Mechanism
The package contains only SKILL.md with no bundled executable scripts, installers, hidden files, or install-time code.
Credentials
Auto-running npm, pip, poetry, cargo, go, and test commands can execute project or dependency code and perform network/filesystem changes, which is high-impact for untrusted repositories.
Persistence & Privilege
The skill creates persistent local git state, including branches/worktrees and potentially an automatic .gitignore commit; there is no credential access, background worker, exfiltration, or destructive behavior.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install using-git-worktrees
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /using-git-worktrees 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release: 使用 Git 工作树
元数据
Slug using-git-worktrees
版本 0.1.0
许可证
累计安装 78
当前安装数 77
历史版本数 1
常见问题

Using Git Worktrees 是什么?

Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2736 次。

如何安装 Using Git Worktrees?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install using-git-worktrees」即可一键安装,无需额外配置。

Using Git Worktrees 是免费的吗?

是的,Using Git Worktrees 完全免费(开源免费),可自由下载、安装和使用。

Using Git Worktrees 支持哪些平台?

Using Git Worktrees 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Using Git Worktrees?

由 zlc000190(@zlc000190)开发并维护,当前版本 v0.1.0。

💬 留言讨论