Home / fmind / dot · skills/git-worktree/SKILL.md · GitHub

git-worktree skillA

git-worktree is agent-read markdown (skill) from fmind/dot: Prepare Git branches, isolated worktrees, or snapshots that preserve staged and unstaged changes..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# Git Worktree

Choose a branch in the current checkout or an isolated workspace according to the task. Branch naming and creation follow [branches](references/branches.md); isolation, candidate identity, and cleanup follow the workflow below. A branch-only request needs no extra checkout.

## Workflow

1. **Record the source**: inspect `git status --short`, `git diff`, `git diff --cached`, `git rev-parse HEAD`, and `git worktree list --porcelain`. Identify whether the candidate is a commit, the index, or selected working-tree changes.
1. **Choose isolation**: use a linked worktree for a committed revision or new branch. Use the [dirty candidate procedure](references/dirty-candidate.md) when validation must include uncommitted files, or when checks must not share Git refs or hooks with the source.
1. **Create a fresh destination**: choose a new sibling or temporary path outside the source. For a read-only review of committed code, use `git worktree add --detach <destination> <revision>`; for implementation, use `git worktree add -b <new-branch> <destination> <base>`.
…

Read the whole file at its exact version.

How to install

Latest version
mdr add fmind/dot/git-worktree@git:20260916.50d6810
Exact content
mdr add fmind/dot/git-worktree@sha256:9cd1ecc96c5dfa12

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

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

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260916.50d6810 latest2026-09-16 50d6810 3,439 BA view · diff
git:20260911.616be7a2026-09-11 616be7a 3,492 BA view · diff
git:20260909.892d8592026-09-09 892d859 3,415 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3439 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

GitHub

fmind/dot · 9 stars · license MIT · pushed 2026-09-24 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_a2i57hmdsahy53n3
GET https://markdownregistry.com/api/v1/resolve?ref=fmind/dot/git-worktree
GET https://markdownregistry.com/api/v1/blob/9cd1ecc96c5dfa12aaf759ac0e792e26b66eec0ddc9c1b425ff08308b2143005

Your agent 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.

More from fmind/dot

chezmoi skill
fmind/dot · .agents/skills/chezmoi/SKILL.md · Manage chezmoi source names, templates, secrets, diffs, and deployment in fmind/dot.
git:20260920.d5fedf5 · audit A · 9 stars
dot-development skill
fmind/dot · .agents/skills/dot-development/SKILL.md · Develop fmind/dot CLI commands, session parsers, storage, configuration, and installation.
git:20260920.d5fedf5 · audit A · 9 stars
dot-release skill
fmind/dot · .agents/skills/dot-release/SKILL.md · Prepare, publish, recover, and verify fmind/dot releases through the repository task.
git:20260920.d5fedf5 · audit A · 9 stars
dot-skills skill
fmind/dot · .agents/skills/dot-skills/SKILL.md · Maintain fmind/dot skill packages, catalog budgets, routing contracts, and installed links.
git:20260920.d5fedf5 · audit A · 9 stars
dot-verify skill
fmind/dot · .agents/skills/dot-verify/SKILL.md · Qualify the fmind/dot working tree before a release: review changes, sync docs, run every gate, and smoke-test the dot…
git:20260924.4be3d0c · audit A · 9 stars
AGENTS.md agents
fmind/dot · AGENTS.md
git:20260920.d5fedf5 · audit A · 9 stars
CLAUDE.md claude
fmind/dot · CLAUDE.md
git:20260903.fa1d8bb · audit B · 9 stars
AGENTS.md@dot_agents agents
fmind/dot · dot_agents/AGENTS.md
git:20260920.d5fedf5 · audit A · 9 stars
acli skill
fmind/dot · skills/acli/SKILL.md · Search, plan, and update Atlassian Jira and Confluence with acli.
git:20260920.d5fedf5 · audit A · 9 stars
agent-evaluation skill
fmind/dot · skills/agent-evaluation/SKILL.md · Evaluate prompt, model, retrieval, and agent changes through repeated trials and outcome grading.
git:20260916.50d6810 · audit A · 9 stars
agent-frameworks skill
fmind/dot · skills/agent-frameworks/SKILL.md · Build Python agents with Google ADK, LangChain, LangGraph, and agents-cli: tools, state, and retrieval.
git:20260916.50d6810 · audit A · 9 stars
agent-harnesses skill
fmind/dot · skills/agent-harnesses/SKILL.md · Operate and configure Claude Code, Codex, Copilot, Grok, and OpenCode.
git:20260919.afe8ee0 · audit A · 9 stars

Every file in fmind/dot

Other files named git-worktree

git-worktree 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:20260918.0754cc3 · audit A · 42 stars
git-worktree 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 · 24 stars
git-worktree 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:20260924.a44cf8f · audit B · 15 stars
git-worktree 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 · 14 stars
git-worktree skill
kunanonj/ai-skills-hub · .agents/skills/git-worktree/SKILL.md · Create isolated git worktrees for feature development without switching branches
git:20260628.caecf60 · audit A · 5 stars
git-worktree 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 A, or by owner.