git-worktree SKILL.md skillB

git-worktree from mithunwijayasiri/dotclaude is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add mithunwijayasiri/dotclaude/git-worktree@git:20261009.aa46ea6

Pins git:20261009.aa46ea6 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
mithunwijayasiri/dotclaude
Path
skills/git-worktree/SKILL.md
Versions recorded
1
Latest version
git:20261009.aa46ea6, committed Oct 9, 2026
Size
7,284 bytes
Repository stars
4
License
MIT

Use when the user asks to create, enter/switch to, or remove a git worktree on Windows — makes it under `.claude/worktrees/` and provisions a shared node_modules (junction) and local `.env` so it runs without a reinstall. Windows + PowerShell only. Trigger on `/git-worktree`.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Git Worktree

Windows + PowerShell only. Worktrees live at `<repo>/.claude/worktrees/<name>`. Add `.claude/worktrees/` to the repo's `.gitignore` — Claude Code doesn't.

Scripts: `scripts/wt-create.ps1`, `scripts/wt-remove.ps1` (PowerShell 5.1+). Run as `powershell -NoProfile -File <skill dir>\scripts\<script>.ps1 ...`. Below, `$SKILL` = this skill's directory (e.g. `$HOME\.claude\skills\git-worktree`).

Commands: **create** (`/git-worktree feature-login`), **switch** (`/git-worktree switch`), **remove** (`/git-worktree remove`). Bare `/git-worktree` → switch.

## Hard rules

- Never `npm install` / `npm ci` in a worktree whose `node_modules` is a junction — mutates main repo's deps. Only the drift path (Create step 3, `npm ci` option) makes a real `node_modules` where installing is safe.
- Never delete a worktree directory while a `node_modules` junction is live. Unlink first (Remove step 3) — a recursive delete that follows the junction can eat main's `node_modules`.
- Removal always user-confirmed. Never automatic, never inferred from "PR raised" or "work done".
- Copy `.env`, never link it. A link → worktree edit silently rewrites the real secrets file.

## Create
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add mithunwijayasiri/dotclaude/git-worktree@sha256:87e1114f39a9a4a6

The line at the top of this page pins the label git:20261009.aa46ea6, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_pxsoo77xqa4i5i2a.svg)](https://markdownregistry.com/a/art_pxsoo77xqa4i5i2a)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Oct 9, 2026.

versioncommittedcommitsizeaudit
git:20261009.aa46ea6 latest2026-10-09 aa46ea6 7,284 BB view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No script tag (matched: <script)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (7284 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

mithunwijayasiri/dotclaude · 4 stars · license MIT · pushed 2026-11-03 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_pxsoo77xqa4i5i2a
GET https://markdownregistry.com/api/v1/resolve?ref=mithunwijayasiri/dotclaude/git-worktree
GET https://markdownregistry.com/api/v1/blob/87e1114f39a9a4a694ac5bc9c88bc63d3399820009fe67c8cb1997245b0c7402

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from mithunwijayasiri/dotclaude

CLAUDE.md CLAUDE.md file
mithunwijayasiri/dotclaude · CLAUDE.md
git:20261010.1ebf38d · audit A · 4 stars
ask-first SKILL.md skill
mithunwijayasiri/dotclaude · skills/ask-first/SKILL.md · Ask the user clarifying questions before acting, instead of filling gaps with guesses. Use when starting to implement a…
git:20261013.0e269cd · audit A · 4 stars
claude-project-rules SKILL.md skill
mithunwijayasiri/dotclaude · skills/claude-project-rules/SKILL.md · Author Claude Code rule files (.claude/rules/*.md). Use when asked to create, add, edit, or review a project or user…
git:20261026.b29f51d · audit A · 4 stars
compact-markdown SKILL.md skill
mithunwijayasiri/dotclaude · skills/compact-markdown/SKILL.md · Writing style for markdown files. Strips filler, writes telegraphic and content-only — docs are for AI agents, not…
git:20261010.1ebf38d · audit A · 4 stars
humanize SKILL.md skill
mithunwijayasiri/dotclaude · skills/deprecated/humanize/SKILL.md · Remove AI writing patterns from prose. Use when drafting, editing, or reviewing text to eliminate predictable AI tells.
git:20261004.03effb8 · audit A · 4 stars
pr-review SKILL.md skill
mithunwijayasiri/dotclaude · skills/deprecated/pr-review/SKILL.md · Review a PR, branch, commit, or uncommitted changes for correctness bugs, structural regressions, security and…
git:20261004.134b66b · audit A · 4 stars
empty-commit SKILL.md skill
mithunwijayasiri/dotclaude · skills/empty-commit/SKILL.md · Use when a CI pipeline failed on something unrelated to the code and the PR is blocked — pushes an empty commit to…
git:20261011.04bbb86 · audit A · 4 stars
git-merge SKILL.md skill
mithunwijayasiri/dotclaude · skills/git-merge/SKILL.md · Merge one branch (usually the default branch) into the current branch while preserving local unstaged changes…
git:20261011.04bbb86 · audit A · 4 stars
github-issue-creator SKILL.md skill
mithunwijayasiri/dotclaude · skills/github-issue-creator/SKILL.md · Create or edit GitHub issues from raw notes, error logs, voice dictation or screenshots, following the repo's issue…
git:20261026.436fdc9 · audit A · 4 stars
handoff-session SKILL.md skill
mithunwijayasiri/dotclaude · skills/handoff-session/SKILL.md · Use when the user wants to hand off, continue in a new session, or pass the current work to another agent. Compacts the…
git:20261026.65f3878 · audit A · 4 stars
html-landing-page SKILL.md skill
mithunwijayasiri/dotclaude · skills/html-landing-page/SKILL.md · Static landing pages — single/few-file HTML/CSS/JS for project sites, GitHub Pages, product one-pagers. Build…
git:20261010.1ebf38d · audit A · 4 stars
offload-task SKILL.md skill
mithunwijayasiri/dotclaude · skills/offload-task/SKILL.md · Write one stuck problem into a standalone markdown brief so a fresh session in any coding agent can attack it without…
git:20261026.65f3878 · audit A · 4 stars

Every file in mithunwijayasiri/dotclaude

Other files named git-worktree

git-worktree SKILL.md skill
davidondrej/skills · skills/agent-orchestration/git-worktree/SKILL.md · Use Git worktrees to isolate parallel coding tasks. Use when setting up a task checkout, working in a shared repo, or…
git:20261022.2908cbc · audit A · 4,250 stars
git-worktree SKILL.md skill
iliaal/ai-skills · skills/git-worktree/SKILL.md · Manage Git worktrees for isolated parallel development. Use when creating, listing, switching, or cleaning up git…
git:20261025.051b42b · audit A · 45 stars
git-worktree SKILL.md skill
j-star-films-studios/vibecode-protocol-suite · assets/.agent/skills/git-github-tools/git-worktree/SKILL.md · Manage git worktrees for parallel agent development. Create, sync, and remove isolated dev environments.
git:20260820.4dbe9e4 · audit A · 26 stars
git-worktree SKILL.md skill
jikig-ai/soleur · plugins/soleur/skills/git-worktree/SKILL.md · This skill should be used when managing Git worktrees for isolated parallel development. It handles creating, listing…
git:20261025.904a281 · audit B · 21 stars
git-worktree SKILL.md skill
andersonlimahw/lemon-ai-hub · plugins/git-expert/skills/git-worktree/SKILL.md · Manage multiple working trees for parallel branch development.
git:20260712.e55f142 · audit A · 17 stars
git-worktree SKILL.md skill
siva01c/claude-plugins · git-tools/skills/git-worktree/SKILL.md · Use this skill whenever a task involves running parallel work on a git repository without conflicts — e.g. "fix this…
git:20260612.89eb1c8 · audit A · 16 stars
git-worktree SKILL.md skill
wan-huiyan/agent-traffic-control · plugins/agent-traffic-control/skills/git-worktree/SKILL.md · Create, list, switch and clean up git worktrees — a second isolated checkout for parallel work or a pull request…
git:20260917.e5ca372 · audit A · 3 stars

Browse by kind, by grade B, or by owner.