use-git-worktree SKILL.md skillA
use-git-worktree from etr/groundwork is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add etr/groundwork/use-git-worktree@git:20260912.480a145Pins git:20260912.480a145 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- etr/groundwork
- Path
skills/use-git-worktree/SKILL.md- Versions recorded
- 4
- Latest version
- git:20260912.480a145, committed Sep 12, 2026
- First version recorded
- Feb 2, 2026
- Size
- 7,556 bytes
- Repository stars
- 45
- License
- MIT
This skill should be used when starting feature work that needs isolation from current workspace - creates isolated git worktrees with smart directory selection and safety verification.
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 Management Create and manage isolated git worktrees for task execution with automatic project setup and merge handling. ## Overview Git worktrees provide complete isolation for task work: - Changes don't affect main workspace until merge - Can switch between tasks without stashing - Clean baseline for each task - Safe to experiment ## Workflow ### Step 1: Determine Worktree Directory Find or create the worktree directory using this priority order: 1. **Check for existing directory:** ```bash # Preferred (hidden, less clutter) ls -d .worktrees 2>/dev/null # Alternative ls -d worktrees 2>/dev/null ``` 2. **Check CLAUDE.md for directive:** ```markdown worktree-dir: path/to/worktrees ``` 3. **Check README.md for configuration:** Look for worktree or development setup instructions. 4. **Ask user if not found:** > "Where should I create worktrees for isolated task work? > 1. `.worktrees/` (Recommended - hidden, less clutter) > 2. `worktrees/` > 3. Custom location" ### Step 2: Verify Directory is Gitignored **Critical:** Ensure the worktree directory won't be committed. ```bash git check-ignore -q <worktree-dir> ``` …
Read the whole file at its exact version.
How to install
mdr add etr/groundwork/use-git-worktree@sha256:40344f95c03bafdbThe line at the top of this page pins the label git:20260912.480a145, 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.
[](https://markdownregistry.com/a/art_jleoj4opl6grftxl)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Feb 2, 2026 and Sep 12, 2026, about one every 74 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260912.480a145 latest | 2026-09-12 | 480a145 | 7,556 B | A | view · diff |
| git:20260213.d12d3f2 | 2026-02-13 | d12d3f2 | 5,990 B | A | view · diff |
| git:20260204.56002b6 | 2026-02-04 | 56002b6 | 5,968 B | A | view · diff |
| git:20260202.564bfd7 | 2026-02-02 | 564bfd7 | 5,946 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (7556 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
- pass: No script tag
Source
etr/groundwork · 45 stars · license MIT · pushed 2026-10-30 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_jleoj4opl6grftxl GET https://markdownregistry.com/api/v1/resolve?ref=etr/groundwork/use-git-worktree GET https://markdownregistry.com/api/v1/blob/40344f95c03bafdb61c0833ca513225c7c173c96e9521e3594c09a40b9ff704f
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.