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

v1.0.0

À propos de ce Skill

Scenario recommande : Ideal for AI agents that need if $arguments is --version, respond with exactly:. Resume localise : ## 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.

Fonctionnalités

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.

# Core Topics

mikefullerton mikefullerton
[0]
[0]
Updated: 4/15/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 10/11

This page remains useful for operators, 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

Scenario recommande : Ideal for AI agents that need if $arguments is --version, respond with exactly:. Resume localise : ## 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.

Pourquoi utiliser cette compétence

Recommandation : 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

Meilleur pour

Scenario recommande : Ideal for AI agents that need if $arguments is --version, respond with exactly:.

Cas d'utilisation exploitables for install-worktree-rule

Cas d'usage : Applying If $ARGUMENTS is --version, respond with exactly:
Cas d'usage : Applying install-worktree-rule v1.0.0
Cas d'usage : Applying Otherwise, print install-worktree-rule v1.0.0 as the first line of output, then proceed

! Sécurité et Limitations

  • Limitation : Continue running — do not stop.
  • Limitation : Continue running — do not stop
  • Limitation : 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.

After The Review

Decide The Next Action Before You Keep Reading Repository Material

Killer-Skills should not stop at opening repository instructions. It should help you decide whether to install this skill, when to cross-check against trusted collections, and when to move into workflow rollout.

Labs 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 & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is install-worktree-rule?

Scenario recommande : Ideal for AI agents that need if $arguments is --version, respond with exactly:. Resume localise : ## 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.

How do I install install-worktree-rule?

Run the command: npx killer-skills add mikefullerton/cat-herding/install-worktree-rule. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for install-worktree-rule?

Key use cases include: Cas d'usage : Applying If $ARGUMENTS is --version, respond with exactly:, Cas d'usage : Applying install-worktree-rule v1.0.0, Cas d'usage : Applying Otherwise, print install-worktree-rule v1.0.0 as the first line of output, then proceed.

Which IDEs are compatible with install-worktree-rule?

This skill is compatible with 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. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for install-worktree-rule?

Limitation : Continue running — do not stop.. Limitation : Continue running — do not stop. Limitation : Requires repository-specific context from the skill documentation.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add mikefullerton/cat-herding/install-worktree-rule. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use install-worktree-rule immediately in the current project.

! Reference-Only Mode

This page remains useful for installation and reference, but Killer-Skills no longer treats it as a primary indexable landing page. Read the review above before relying on the upstream repository instructions.

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.

Compétences associées

Looking for an alternative to install-worktree-rule or another community skill for your workflow? Explore these related open-source skills.

Voir tout

openclaw-release-maintainer

Logo of openclaw
openclaw

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

widget-generator

Logo of f
f

Générez des plugins de widgets personnalisables pour le système de flux prompts.chat

flags

Logo of vercel
vercel

Le Cadre de Réaction

138.4k
0
Navigateur

pr-review

Logo of pytorch
pytorch

Tenseurs et réseaux neuronaux dynamiques en Python avec une forte accélération GPU

98.6k
0
Développeur