worktree SKILL.md skillA

worktree from tercel/code-forge is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add tercel/code-forge/worktree@git:20260422.d0e053f

Pins git:20260422.d0e053f in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
tercel/code-forge
Path
skills/worktree/SKILL.md
Versions recorded
4
Latest version
git:20260422.d0e053f, committed Apr 22, 2026
First version recorded
Feb 26, 2026
Size
4,663 bytes
Repository stars
6
License
none declared

Use when starting feature work that needs workspace isolation — creates git worktree with automatic project setup and baseline test verification. Ensures worktree directory is git-ignored and safe. Integrates with code-forge:impl and code-forge:finish.

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

# Code Forge — Worktree

## ⚡ Execution Entry Point

@../shared/execution-entrypoint.md

**For this skill:** start at **the first executable step**. If you catch yourself about to say "falling back to manual worktree setup", STOP and go to the indicated step.

---

Create an isolated git worktree for feature development with automated project setup and safety verification.

## When to Use

- Starting feature work that should not affect the main workspace
- Before running code-forge:impl to isolate implementation changes
- When you need a clean baseline for testing or experimentation

## Iron Law

**NEVER create a project-local worktree without verifying it is git-ignored.** Worktree contents tracked by git will cause repository corruption.

## Workflow

```
Detect Directory → Verify Safety → Create Worktree → Project Setup → Baseline Tests → Report
```

### Step 1: Detect Worktree Directory

Check in order:
1. Existing `.worktrees/` or `worktrees/` directory in project root — use if found
2. Project CLAUDE.md for worktree preference — use without asking
3. Ask user:
   - **Project-local** `.worktrees/` (Recommended) — keeps worktrees near the code
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add tercel/code-forge/worktree@sha256:4a2201aa9877d286

The line at the top of this page pins the label git:20260422.d0e053f, 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_4ydirutwhujgiyhx.svg)](https://markdownregistry.com/a/art_4ydirutwhujgiyhx)

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

Versions

The registry has recorded 4 versions of this file, between Feb 26, 2026 and Apr 22, 2026, about one every 18 days.

versioncommittedcommitsizeaudit
git:20260422.d0e053f latest2026-04-22 d0e053f 4,663 BA view · diff
git:20260409.eba6a052026-04-09 eba6a05 5,602 BA view · diff
git:20260313.0860d482026-03-13 0860d48 4,420 BA view · diff
git:20260226.ce663522026-02-26 ce66352 3,892 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the 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 (4663 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

tercel/code-forge · 6 stars · license none declared · pushed 2026-09-16 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_4ydirutwhujgiyhx
GET https://markdownregistry.com/api/v1/resolve?ref=tercel/code-forge/worktree
GET https://markdownregistry.com/api/v1/blob/4a2201aa9877d286b64bfb02fbd819081bf18654157ca48b14c3eac11e08a2b6

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 tercel/code-forge

code-forge SKILL.md skill
tercel/code-forge · SKILL.md · Complete Codex development workflow for turning requirements, feature docs, or prompts into working code. Use when the…
v1 · audit A · 6 stars
debug SKILL.md skill
tercel/code-forge · skills/debug/SKILL.md · Use when encountering any bug, test failure, or unexpected behavior — enforces root cause investigation before fixes…
git:20260422.d0e053f · audit A · 6 stars
finish SKILL.md skill
tercel/code-forge · skills/finish/SKILL.md · Use when implementation is complete and you need to merge, create a PR, or clean up — verifies tests pass, presents 4…
git:20260422.d0e053f · audit A · 6 stars
fix SKILL.md skill
tercel/code-forge · skills/fix/SKILL.md · Use when fixing a DEFECT IN SOURCE CODE — wrong runtime behavior, a crash, a failing test, or the issues listed in a…
git:20260813.bd84674 · audit A · 6 stars
impl SKILL.md skill
tercel/code-forge · skills/impl/SKILL.md · Execute pending tasks for a feature — TDD-driven implementation with sub-agent isolation and progress tracking. Use…
git:20260610.fdf95d5 · audit A · 6 stars
parallel SKILL.md skill
tercel/code-forge · skills/parallel/SKILL.md · Use when facing 2+ independent problems that can be solved concurrently — dispatches one sub-agent per problem domain…
git:20260422.d0e053f · audit A · 6 stars
plan SKILL.md skill
tercel/code-forge · skills/plan/SKILL.md · Analyze documentation (or a prompt) and generate an implementation plan with task breakdown, TDD steps, and progress…
git:20260916.6717348 · audit A · 6 stars
port SKILL.md skill
tercel/code-forge · skills/port/SKILL.md · Port a documentation-driven project to a new target language — initializes project skeleton, analyzes reference…
git:20260422.d0e053f · audit A · 6 stars
review SKILL.md skill
tercel/code-forge · skills/review/SKILL.md · Use ONLY when reviewing SOURCE CODE — a code change, a feature implementation, a whole repository, or a GitHub pull…
git:20260820.fc44708 · audit A · 6 stars
status SKILL.md skill
tercel/code-forge · skills/status/SKILL.md · Display code-forge feature dashboard with task-level progress from state.json, or show detailed status for a specific…
git:20260610.16e086f · audit A · 6 stars
tdd SKILL.md skill
tercel/code-forge · skills/tdd/SKILL.md · Use when implementing any feature or fix outside code-forge workflow — enforces Red-Green-Refactor cycle with mandatory…
git:20260422.d0e053f · audit A · 6 stars
verify SKILL.md skill
tercel/code-forge · skills/verify/SKILL.md · Use before claiming ENGINEERING WORK is done, fixed, or passing — work whose correctness a command can demonstrate…
git:20260813.bd84674 · audit A · 6 stars

Every file in tercel/code-forge

Other files named worktree

worktree SKILL.md skill
imran31415/kube-coder · .claude/skills/worktree/SKILL.md · Create an isolated git worktree + branch + port for this session so concurrent kube-coder sessions and builds don't…
git:20260926.e57a6cf · audit A · 402 stars
worktree SKILL.md skill
shibing624/agentica · agentica/skills/bundled/worktree/SKILL.md · Isolate parallel work in a git worktree of the current repository (worktree tool: status / new / merge / remove). Use…
v2.1 · audit A · 360 stars
worktree SKILL.md skill
oprogramadorreal/optimus-claude · skills/worktree/SKILL.md · Creates a git worktree for isolated parallel development — new branch in a separate directory with project setup and…
git:20260924.6e7f925 · audit B · 75 stars
worktree SKILL.md skill
jantichy/claude · skills/worktree/SKILL.md · Skill se použije, když uživatel zadá "/worktree", "/worktree enable", "/worktree disable", "/worktree status", nebo…
git:20261007.55ccadb · audit A · 45 stars
worktree SKILL.md skill
outlinedriven/odin-claude-plugin · plugins/odin-git/skills/worktree/SKILL.md · Use when work needs an isolated git worktree: new work, an existing ref, a gated feature workspace, a manifest-tracked…
git:20260912.eaa5f2e · audit A · 40 stars
worktree SKILL.md skill
hidorakai002/ai-workspace-archive · ai_agent_frameworks/major_frameworks/AutoGPT/.claude/skills/worktree/SKILL.md · Set up a new git worktree for parallel development. Creates the worktree, copies .env files, installs dependencies, and…
v3.0.0 · audit A · 38 stars
worktree SKILL.md skill
byerlikaya/claude-starter-kit · kit/skills/worktree/SKILL.md · Isolate risky or parallel file-mutating work in a git worktree so the main tree's uncommitted changes are…
git:20260926.aaa5dbc · audit A · 26 stars
worktree SKILL.md skill
byerlikaya/claude-starter-kit · plugin/skills/worktree/SKILL.md · Isolate risky or parallel file-mutating work in a git worktree so the main tree's uncommitted changes are…
git:20260926.aaa5dbc · audit A · 26 stars

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