CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

git-worktree

Create, switch to, or delete a git worktree under ~/.worktrees/<path-key>/<branch>, then rebase the agent session onto that directory. Use when asked to make, enter, or remove a worktree for a branch, when work needs an isolated checkout, or when invoked as /git:worktree.

Quality

100%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

100%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A tightly engineered, production-quality skill body: it delegates implementation to the wt tool, gives executable commands and a fully ordered protocol with guardrails around the destructive remove operation, and stays lean with zero concept explanations. The 'Never' section doubles as an error-recovery and footgun checklist, which is a strong pattern.

DimensionReasoningScore

Conciseness

The body never explains concepts Claude already knows (no 'what is a worktree' preamble) and every line is non-obvious operational knowledge — the wt contract, harness detection order ("omp sets both OMPCODE=1 and CLAUDECODE=1"), and subagent cwd inheritance — delivered in dense tables and terse bullets. Matches the 5 anchor: every token earns its place.

5 / 5

Actionability

Guidance is copy-paste ready: the capture one-liner "wt_path=$(wt switch "$branch" ${allow_home:+--allow-home})", the executable harness-detection bash block, an exact subcommand table with flags and exit codes, and per-harness lines to print. This matches the 5 anchor's fully executable, common-cases-covered standard; not 4 since there are no minor gaps in the commands given.

5 / 5

Workflow Clarity

The Session Rebase Protocol is explicitly ordered ("Three parts, in this order", "order matters") with a binding checklist for shell/file/subagent calls, and the destructive wt remove has full validation: three documented refusal cases, a "git -C <path> status --porcelain=v1" report, ask-before---force, and never the main worktree — feedback loops present, so it matches the 5 anchor and avoids the destructive-operation cap of 3.

5 / 5

Progressive Disclosure

No bundle files exist, and the single file is cleanly sectioned (Contract, Actions, Protocol, Deleting, Never, Integration) with nothing inlined that belongs in a separate file; the one external pointer — "Layout and constraint questions belong to the `using-git-worktrees` skill" — is clearly signaled. Content is appropriately self-contained with easy navigation, matching the 5 anchor's intent.

5 / 5

Total

20

/

20

Passed

Description

100%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

An exemplary description: concise third-person action list with an explicit path convention, followed by an explicit 'Use when' clause with concrete trigger phrases, synonyms, and the slash-command invocation form. Both 'what' and 'when' are unmistakably answered with no fluff or over-claims.

DimensionReasoningScore

Specificity

"Create, switch to, or delete a git worktree under ~/.worktrees/<path-key>/<branch>, then rebase the agent session onto that directory" lists four concrete actions plus a concrete path convention, matching the comprehensive-coverage anchor; the unlisted wt subcommands (path/resolve/list/verify) are internal plumbing rather than a capability gap, so the 4 anchor's 'minor gaps' does not fit.

5 / 5

Completeness

The description explicitly answers both 'what' (create/switch/delete a worktree at a stated path, then rebase the session) and 'when' ("Use when asked to make, enter, or remove a worktree..., when work needs an isolated checkout, or when invoked as /git:worktree"), exactly matching the 5 anchor; the 'when' clause is fully explicit, so 4's 'could be more explicit' does not apply.

5 / 5

Trigger Term Quality

"make, enter, or remove a worktree", "isolated checkout", and "/git:worktree" give comprehensive natural-term coverage with action synonyms (make≈create, enter≈switch to, remove≈delete) and a concept-level trigger, matching the 5 anchor; no natural phrasing a user would say for this need is missing.

5 / 5

Distinctiveness Conflict Risk

"git worktree under ~/.worktrees/<path-key>/<branch>" plus session rebasing is a clear niche with distinct, worktree-specific triggers, giving minimal conflict risk with other git skills; it matches the 5 anchor rather than 4's 'minor overlap risk with closely related skills'.

5 / 5

Total

20

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

phatblat/dotfiles

Path

.agents/skills/git-worktree/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.