install-worktree-rule — for Claude Code install-worktree-rule, catherding, community, for Claude Code, ide skills, $ARGUMENTS, version, install-worktree-rule v1.0.0, always-use-worktrees-and-prs.md, uninstall

v1.0.0

关于此技能

适用场景: Ideal for AI agents that need if $arguments is --version, respond with exactly:. 本地化技能摘要: ## Version Check If $ARGUMENTS is --version, respond with exactly: install-worktree-rule v1.0.0 Then stop. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

功能特性

If $ARGUMENTS is --version, respond with exactly:
install-worktree-rule v1.0.0
Otherwise, print install-worktree-rule v1.0.0 as the first line of output, then proceed.
⚠ This skill is running v1.0.0 but vA.B.C is installed. Restart the session to use the latest
Continue running — do not stop.

# 核心主题

mikefullerton mikefullerton
[0]
[0]
更新于: 4/20/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 10/11

This page remains useful for teams, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Quality floor passed for review
Review Score
10/11
Quality Score
51
Canonical Locale
en
Detected Body Locale
en

适用场景: Ideal for AI agents that need if $arguments is --version, respond with exactly:. 本地化技能摘要: ## Version Check If $ARGUMENTS is --version, respond with exactly: install-worktree-rule v1.0.0 Then stop. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

核心价值

推荐说明: install-worktree-rule helps agents if $arguments is --version, respond with exactly:. Version Check If $ARGUMENTS is --version, respond with exactly: install-worktree-rule v1.0.0 Then stop. This AI agent skill

适用 Agent 类型

适用场景: Ideal for AI agents that need if $arguments is --version, respond with exactly:.

赋予的主要能力 · install-worktree-rule

适用任务: Applying If $ARGUMENTS is --version, respond with exactly:
适用任务: Applying install-worktree-rule v1.0.0
适用任务: Applying Otherwise, print install-worktree-rule v1.0.0 as the first line of output, then proceed

! 使用限制与门槛

  • 限制说明: Continue running — do not stop.
  • 限制说明: Continue running — do not stop
  • 限制说明: Requires repository-specific context from the skill documentation

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

评审后的下一步

先决定动作,再继续看上游仓库材料

Killer-Skills 的主价值不应该停在“帮你打开仓库说明”,而是先帮你判断这项技能是否值得安装、是否应该回到可信集合复核,以及是否已经进入工作流落地阶段。

实验室 Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

常见问题与安装步骤

以下问题与步骤与页面结构化数据保持一致,便于搜索引擎理解页面内容。

? FAQ

install-worktree-rule 是什么?

适用场景: Ideal for AI agents that need if $arguments is --version, respond with exactly:. 本地化技能摘要: ## Version Check If $ARGUMENTS is --version, respond with exactly: install-worktree-rule v1.0.0 Then stop. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

如何安装 install-worktree-rule?

运行命令:npx killer-skills add mikefullerton/catherding/install-worktree-rule。支持 Cursor、Windsurf、VS Code、Claude Code 等 19+ IDE/Agent。

install-worktree-rule 适用于哪些场景?

典型场景包括:适用任务: Applying If $ARGUMENTS is --version, respond with exactly:、适用任务: Applying install-worktree-rule v1.0.0、适用任务: Applying Otherwise, print install-worktree-rule v1.0.0 as the first line of output, then proceed。

install-worktree-rule 支持哪些 IDE 或 Agent?

该技能兼容 Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer。可使用 Killer-Skills CLI 一条命令通用安装。

install-worktree-rule 有哪些限制?

限制说明: Continue running — do not stop.;限制说明: Continue running — do not stop;限制说明: Requires repository-specific context from the skill documentation。

安装步骤

  1. 1. 打开终端

    在你的项目目录中打开终端或命令行。

  2. 2. 执行安装命令

    运行:npx killer-skills add mikefullerton/catherding/install-worktree-rule。CLI 会自动识别 IDE 或 AI Agent 并完成配置。

  3. 3. 开始使用技能

    install-worktree-rule 已启用,可立即在当前项目中调用。

! 参考页模式

此页面仍可作为安装与查阅参考,但 Killer-Skills 不再把它视为主要可索引落地页。请优先阅读上方评审结论,再决定是否继续查看上游仓库说明。

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

install-worktree-rule

## Version Check If $ARGUMENTS is --version, respond with exactly: install-worktree-rule v1.0.0 Then stop. This AI agent skill supports Claude Code, Cursor

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

Version Check

If $ARGUMENTS is --version, respond with exactly:

install-worktree-rule v1.0.0

Then stop.

Otherwise, print install-worktree-rule v1.0.0 as the first line of output, then proceed.

Version check: Read ${CLAUDE_SKILL_DIR}/SKILL.md from disk and extract the version: field from frontmatter. Compare to this skill's version (1.0.0). If they differ, print:

⚠ This skill is running v1.0.0 but vA.B.C is installed. Restart the session to use the latest version.

Continue running — do not stop.


Install Worktree Rule

Installs the always-use-worktrees-and-prs.md rule into the current project's .claude/rules/ directory. This rule enforces a structured git workflow: every change goes through a worktree, a draft PR, incremental commits, and a squash merge.

Uninstall Mode

If $ARGUMENTS contains --uninstall:

  1. Check if .claude/rules/always-use-worktrees-and-prs.md exists.
  2. If it exists, delete it. Print:
    ✓ Removed .claude/rules/always-use-worktrees-and-prs.md
    
  3. If it does not exist, print:
    Nothing to remove — .claude/rules/always-use-worktrees-and-prs.md not found.
    
  4. Stop.

Install Mode (default)

Step 1: Check Prerequisites

  1. Verify the current directory is a git repository (check for .git/ or .git file).

    • If not, print ERROR: Not a git repository. and stop.
  2. Check if .claude/rules/always-use-worktrees-and-prs.md already exists.

    • If it exists, read it and compare to the bundled version at ${CLAUDE_SKILL_DIR}/references/always-use-worktrees-and-prs.md.
    • If identical, print Already installed and up to date. and stop.
    • If different, print Updating .claude/rules/always-use-worktrees-and-prs.md to latest version. and continue to Step 2.

Step 2: Install the Rule

  1. Create .claude/rules/ if it doesn't exist.
  2. Read the rule content from ${CLAUDE_SKILL_DIR}/references/always-use-worktrees-and-prs.md.
  3. Write it to .claude/rules/always-use-worktrees-and-prs.md.

Step 3: Verify and Report

  1. Confirm the file exists and is non-empty.
  2. Print:
    ✓ Installed .claude/rules/always-use-worktrees-and-prs.md
    
    This rule enforces:
      • All work in git worktrees (never commit to main directly)
      • Draft PR created before any code
      • Atomic commits pushed after each change
      • Squash merge and worktree cleanup
    
    To remove: /install-worktree-rule --uninstall
    

Error Handling

  • If the Write tool fails, print the error and stop.
  • If the directory creation fails, print the error and stop.

相关技能

寻找 install-worktree-rule 的替代方案 (Alternative) 或可搭配使用的同类 community Skill?探索以下相关开源技能。

查看全部

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

为prompts.chat的信息反馈系统生成可定制的插件小部件

149.6k
0
AI

flags

Logo of vercel
vercel

React 框架

138.4k
0
浏览器

pr-review

Logo of pytorch
pytorch

Python中具有强大GPU加速的张量和动态神经网络

98.6k
0
开发者工具