CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

using-git-worktrees

当需要开始与当前工作区隔离的功能开发,或在执行实现计划之前使用——通过原生工具或 git worktree 回退机制确保隔离工作区存在

Quality

78%

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

Fix and improve this skill with Tessl

tessl review fix ./skills/using-git-worktrees/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Scored by GLM 5.3

Content

81%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.

The body delivers a tightly structured, highly executable workflow: detection commands with a submodule guard, a consent checkpoint, a validated directory-selection and worktree-creation procedure with a sandbox fallback, and project setup plus baseline-test verification. Validation and feedback loops are explicit throughout, and the quick-reference and anti-excuse tables aid navigation. The only notable inefficiencies are the repeated native-tool-first rule and pseudo-variables in the creation snippet.

DimensionReasoningScore

Conciseness

The body is built from concrete commands and tables with little concept explanation, assuming Claude's competence. However, the 'native tools first, git fallback' rule is repeated roughly four times (核心原则, 步骤 0 consent flow, 1a, 1b) and the 常见的合理化借口 table restates points already made in the steps, matching anchor 4 ('minor instances of over-explanation that could be trimmed') rather than the fully lean anchor 5.

4 / 5

Actionability

Nearly all guidance is executable copy-paste bash: 'git rev-parse --git-dir/--git-common-dir' detection, the submodule guard via '--show-superproject-working-tree', 'git check-ignore', 'git worktree add', and per-ecosystem setup/test commands. Minor gaps remain — '$LOCATION' and '$BRANCH_NAME' in the creation snippet are pseudo-variables never bound to concrete values, and the setup commands are per-ecosystem fragments rather than one runnable block — so anchor 4 fits better than 5.

4 / 5

Workflow Clarity

Steps 0→1→2→3 are clearly sequenced with explicit validation checkpoints and feedback loops: the submodule guard before declaring 'already in a worktree', the 'git check-ignore' gate with a remediation loop (add to .gitignore, commit, continue), the sandbox-permission fallback to in-place work, and baseline tests with '报告失败,询问是继续还是排查'. The 快速参考 table additionally serves as a checklist, matching anchor 5 ('explicit validation steps; feedback loops for error recovery; checklists').

5 / 5

Progressive Disclosure

No bundle files exist (no references/, scripts/, or assets/), so all ~175 lines live in SKILL.md. The single file is well-sectioned with an overview, numbered steps, a quick-reference table, and an anti-rationalization table, and the content is cohesive enough that splitting is not strictly required — but at this length the two lookup tables could reasonably move to a reference file, matching anchor 4 ('good structure; most content appropriately placed; minor organization gaps') rather than the reference-splitting anchor 5.

4 / 5

Total

17

/

20

Passed

Description

70%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.

The description explicitly answers both 'what' (ensure an isolated workspace exists) and 'when' (isolated feature development or before executing an implementation plan), with the key natural trigger term 'git worktree' included. Its main weakness is specificity: it describes a single action rather than enumerating several concrete capabilities, and the 'before executing an implementation plan' clause slightly widens its trigger surface.

Suggestions

Enumerate the concrete actions the skill performs, e.g. '检测现有 worktree/submodule 隔离、创建隔离工作区、运行项目设置与基线测试', instead of the single action '确保隔离工作区存在'.

Add natural trigger variations users might say, such as '并行开发' (parallel development), 'branch isolation', or 'worktree', to strengthen trigger-term coverage.

Tighten the 'before executing an implementation plan' clause or anchor it explicitly to isolation (e.g. '在执行实现计划前需要隔离检出时') to reduce overlap with general planning skills.

DimensionReasoningScore

Specificity

The description names the domain ('隔离工作区') and one concrete action ('确保隔离工作区存在') with its two mechanisms ('原生工具或 git worktree 回退机制'), matching the anchor for 1-2 concrete actions but not comprehensive coverage. It does not list several distinct specific actions, so it falls short of anchor 4.

3 / 5

Completeness

Both parts are present: an explicit 'when' ('当需要开始与当前工作区隔离的功能开发,或在执行实现计划之前使用') and a clear 'what' ('确保隔离工作区存在'). The 'what' is brief and lacks the full concreteness of the anchor-5 example, so anchor 4 is the best fit.

4 / 5

Trigger Term Quality

Natural terms a user would say are present: 'git worktree', '工作区隔离' (workspace isolation), '功能开发' (feature development), and '实现计划' (implementation plan). Coverage is good but misses common variations such as '并行分支' (parallel branches) or English synonyms like 'isolated workspace', matching anchor 4 rather than 5.

4 / 5

Distinctiveness Conflict Risk

The worktree-isolation niche is clear with distinct triggers ('git worktree', '隔离工作区'), giving minimal conflict risk. However, '在执行实现计划之前使用' (before executing an implementation plan) slightly broadens it into planning-skill territory, matching anchor 4 ('minor overlap risk with closely related skills') rather than 5.

4 / 5

Total

15

/

20

Passed

Validation

81%

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

Validation — 13 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_version

'metadata.version' is missing

Warning

metadata_field

'metadata' should map string keys to string values

Warning

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

13

/

16

Passed

Repository

jnMetaCode/superpowers-zh

Path

skills/using-git-worktrees/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.