using-git-worktrees SKILL.md skillB
using-git-worktrees from alexei-led/cc-thingz is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add alexei-led/cc-thingz/using-git-worktrees@git:20261005.978bacaPins git:20261005.978baca in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 16 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- alexei-led/cc-thingz
- Path
src/skills/using-git-worktrees/SKILL.md- Versions recorded
- 8
- Latest version
- git:20261005.978baca, committed Oct 5, 2026
- First version recorded
- May 17, 2026
- Size
- 3,246 bytes
- Repository stars
- 38
- License
- MIT
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 Worktrees A worktree gives parallel work its own folder and branch while the main worktree stays clean on the integration branch. Each project gets one sibling root, `<project>.worktrees/`, with one directory per branch named by its slug (`/` → `-`, so `feature/auth` → `feature-auth`). Remove the worktree and branch after the PR merges. A plain branch switch with no parallel work needs no worktree: check `git status --short`, then `git switch <branch>`. Trivial solo one-liners may also stay in the main worktree. ## Create Check `git status --short` and `git worktree list` first. Leave uncommitted changes where they are and never stash them silently; pass `--allow-dirty` only when the user has authorized isolating new work while keeping them. ```bash scripts/setup-worktree.sh <branch> [--base <ref>] [--allow-dirty] [--setup] [--test] ``` The script runs `git worktree add` from the main worktree root. It checks out an existing local or `origin` branch instead of recreating it, and refuses an existing path, a branch checked out in another worktree, or a dirty tree without `--allow-dirty`. It reports base divergence from local refs without fetching. …
Read the whole file at its exact version.
How to install
mdr add alexei-led/cc-thingz/using-git-worktrees@sha256:f9e62ffe1ebd491bThe line at the top of this page pins the label git:20261005.978baca, 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_mhpphbcv2p2bvlzf)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 8 versions of this file, between May 17, 2026 and Oct 5, 2026, about one every 20 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261005.978baca latest | 2026-10-05 | 978baca | 3,246 B | B | view · diff |
| git:20260930.6a82c33 | 2026-09-30 | 6a82c33 | 2,905 B | B | view · diff |
| git:20260928.b87f747 | 2026-09-28 | b87f747 | 2,778 B | A | view · diff |
| git:20260908.c37b890 | 2026-09-08 | c37b890 | 4,170 B | A | view · diff |
| git:20260716.29b4d22 | 2026-07-16 | 29b4d22 | 3,637 B | A | view · diff |
| git:20260602.01d2ec8 | 2026-06-02 | 01d2ec8 | 3,643 B | A | view · diff |
| git:20260602.bfcd1a9 | 2026-06-02 | bfcd1a9 | 5,919 B | B | view · diff |
| git:20260517.bdfd651 | 2026-05-17 | bdfd651 | 5,910 B | B | view |
Audit of the latest version
- fail: Frontmatter declares a description
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Size between 200 bytes and 200 KB (3246 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
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
alexei-led/cc-thingz · 38 stars · license MIT · pushed 2026-10-25 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_mhpphbcv2p2bvlzf GET https://markdownregistry.com/api/v1/resolve?ref=alexei-led/cc-thingz/using-git-worktrees GET https://markdownregistry.com/api/v1/blob/f9e62ffe1ebd491b15fa81ba94cdb20c9acd1fcb02f676f43a7c93f63b483490
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 alexei-led/cc-thingz
Every file in alexei-led/cc-thingz