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.

Install it, pinned
mdr add alexei-led/cc-thingz/using-git-worktrees@git:20261005.978baca

Pins 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

The exact contents, by fingerprint
mdr add alexei-led/cc-thingz/using-git-worktrees@sha256:f9e62ffe1ebd491b

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_mhpphbcv2p2bvlzf.svg)](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.

versioncommittedcommitsizeaudit
git:20261005.978baca latest2026-10-05 978baca 3,246 BB view · diff
git:20260930.6a82c332026-09-30 6a82c33 2,905 BB view · diff
git:20260928.b87f7472026-09-28 b87f747 2,778 BA view · diff
git:20260908.c37b8902026-09-08 c37b890 4,170 BA view · diff
git:20260716.29b4d222026-07-16 29b4d22 3,637 BA view · diff
git:20260602.01d2ec82026-06-02 01d2ec8 3,643 BA view · diff
git:20260602.bfcd1a92026-06-02 bfcd1a9 5,919 BB view · diff
git:20260517.bdfd6512026-05-17 bdfd651 5,910 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: 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

GitHub

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

AGENTS.md AGENTS.md file
alexei-led/cc-thingz · AGENTS.md
git:20261010.bc87856 · audit A · 38 stars
CLAUDE.md CLAUDE.md file
alexei-led/cc-thingz · CLAUDE.md
git:20260512.586616a · audit B · 38 stars
brainstorming-ideas SKILL.md skill
alexei-led/cc-thingz · src/skills/brainstorming-ideas/SKILL.md · Brainstorm ideas and stress-test draft plans before coding. Use when
git:20261021.2f01d27 · audit A · 38 stars
browser-automation SKILL.md skill
alexei-led/cc-thingz · src/skills/browser-automation/SKILL.md · 'Browser automation for rendered UI exploration, validation, screenshots,
git:20260928.aef806a · audit A · 38 stars
cleanup-git SKILL.md skill
alexei-led/cc-thingz · src/skills/cleanup-git/SKILL.md · Remove merged local branches and stale git worktrees. Use when the user
git:20261021.a9f3052 · audit A · 38 stars
committing-code SKILL.md skill
alexei-led/cc-thingz · src/skills/committing-code/SKILL.md · Create normal git commits with logical grouping. Use when committing,
git:20261005.de984fb · audit A · 38 stars
configuring-git-hygiene SKILL.md skill
alexei-led/cc-thingz · src/skills/configuring-git-hygiene/SKILL.md · 'Configure safe git workflow hygiene: pre-commit/pre-push hooks, Gitleaks
git:20260928.296db92 · audit A · 38 stars
documenting-code SKILL.md skill
alexei-led/cc-thingz · src/skills/documenting-code/SKILL.md · Write, rewrite, or update project docs from implementation facts - README
git:20261005.de984fb · audit A · 38 stars
evolving-config SKILL.md skill
alexei-led/cc-thingz · src/skills/evolving-config/SKILL.md
git:20260928.23d332d · audit B · 38 stars
fixing-code SKILL.md skill
alexei-led/cc-thingz · src/skills/fixing-code/SKILL.md · Fix code defects with a reproducible feedback loop, root-cause diagnosis,
git:20261021.2f01d27 · audit A · 38 stars
improving-tests SKILL.md skill
alexei-led/cc-thingz · src/skills/improving-tests/SKILL.md · Improve test design, speed, and coverage with behavior-focused tests,
git:20261021.2f01d27 · audit A · 38 stars
installation-doctor SKILL.md skill
alexei-led/cc-thingz · src/skills/installation-doctor/SKILL.md · Diagnose cc-thingz plugin installations with the bundled read-only doctor. Use for missing installed skills, helpers…
git:20260929.e2cd2eb · audit A · 38 stars

Every file in alexei-led/cc-thingz

Other files named using-git-worktrees

using-git-worktrees SKILL.md skill
obra/superpowers · skills/using-git-worktrees/SKILL.md · Use when starting feature work that needs isolation from current workspace or before executing implementation plans -…
git:20260724.bc86802 · audit A · 314,583 stars
using-git-worktrees SKILL.md skill
jnmetacode/superpowers-zh · skills/using-git-worktrees/SKILL.md · 当需要开始与当前工作区隔离的功能开发,或在执行实现计划之前使用——通过原生工具或 git worktree 回退机制确保隔离工作区存在
v1.0.0 · audit A · 8,494 stars
using-git-worktrees SKILL.md skill
a5c-ai/babysitter · library/methodologies/superpowers/skills/using-git-worktrees/SKILL.md · Use when starting feature work that needs isolation from current workspace or before executing implementation plans.
git:20260601.da7723a · audit A · 1,896 stars
using-git-worktrees SKILL.md skill
ganyuanran/aegis · skills/using-git-worktrees/SKILL.md · Use when a coding task needs a concurrent checkout, unrelated dirty state blocks safe branch switching, or the user or…
git:20260827.661bec4 · audit A · 1,417 stars
using-git-worktrees SKILL.md skill
coco-research/coco · skills/using-git-worktrees/SKILL.md · Use when starting feature work that needs isolation from current workspace or before executing implementation plans -…
git:20260802.1479e32 · audit A · 797 stars
using-git-worktrees SKILL.md skill
xu123-bob/baize · agent/skills/superpowers/5.1.0/skills/using-git-worktrees/SKILL.md · Use when starting feature work that needs isolation from current workspace or before executing implementation plans -…
git:20260912.5e131e8 · audit A · 617 stars
using-git-worktrees SKILL.md skill
jamditis/claude-skills-journalism · superjawn/skills/using-git-worktrees/SKILL.md · Creates isolated git worktrees with smart directory selection and safety checks. Use when starting isolated feature…
git:20261024.21f0bb2 · audit A · 450 stars
using-git-worktrees SKILL.md skill
ibrahim-3d/orchestrator-supaconductor · skills/using-git-worktrees/SKILL.md · Use when starting feature work that needs isolation from current workspace or before executing implementation plans -…
git:20260312.c37221c · audit A · 381 stars

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