CtrlK
BlogDocsLog inGet started
Tessl Logo

github-worktree

须用户 @ 本 skill 或明确说要按 GitHub Issue worktree 流程执行时再读取。 在 master 上:确定关联的 GitHub Issue(默认关联已有,明确要建时才在上游建单)、生成分支名、git fetch、脚本同时创建新分支与 worktree、cursor --new-window 打开新窗口;细节与分支命名见正文。 不因泛泛提到 GitHub、issue、worktree、建分支等词而自动套用。

73

Quality

92%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

SKILL.md
Quality
Evals
Security

Quality

Content

88%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 well-engineered procedural skill: concrete commands and MCP call blocks throughout, a clearly sequenced workflow with genuine error-recovery paths, and scripts correctly factored out of the SKILL.md body. The only improvements are minor: deduplicate the branch-naming rules and script-path table, and consider moving the naming/title conventions into a reference file.

DimensionReasoningScore

Conciseness

Almost every line carries project-specific operational detail Claude cannot infer (bk-ci repo, jOOQ generation, .cursor/.idea sync, Cursor detection), so it earns its tokens. Minor trimming opportunities exist: "末段必须是 issue 号" is stated twice in Step 3, and the closing 脚本说明 table repeats script paths already given in Step 4 commands.

4 / 5

Actionability

Guidance is fully executable: copy-paste bash/PowerShell blocks (git branch --show-current, git fetch origin master, both script invocations with -Base origin/master, cursor --new-window), complete CallMcpTool argument blocks for issue_read and issue_write, and the exact AskQuestion prompt with its four options. Placeholders (分支名, issue号) are appropriately parameterized.

5 / 5

Workflow Clarity

The process is clearly sequenced (environment/branch/MCP prechecks, then Steps 1–5) with explicit validation checkpoints and error-recovery loops: skip when not Cursor or not on master, MCP-unavailable fallback to manual branch names, refusal to reuse an existing branch with rename/cleanup guidance, double confirmation before creating an upstream issue, and jOOQ-failure handling. The terminal state ("本次对话到此结束,不要再对任何文件做修改") is unambiguous.

5 / 5

Progressive Disclosure

The heavy executable logic is properly externalized into two real bundle scripts (scripts/git-worktree.ps1, scripts/git-worktree.sh) referenced one level deep with a closing table describing their add/list/remove operations. The ~60 lines of branch-naming and issue-title convention kept inline in the body are a minor organization gap — they could live in a reference file.

4 / 5

Total

18

/

20

Passed

Description

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

A strong description: it states concrete workflow actions, gives explicit positive and negative trigger guidance, and scopes itself narrowly to avoid conflicts. The only weakness is slightly thin synonym/variant coverage of natural trigger phrases.

DimensionReasoningScore

Specificity

The description lists five concrete actions covering the full workflow — "确定关联的 GitHub Issue…生成分支名、git fetch、脚本同时创建新分支与 worktree、cursor --new-window 打开新窗口" — with default behaviors specified (默认关联已有,明确要建时才在上游建单). This matches the comprehensive-coverage anchor; no meaningful action gaps remain.

5 / 5

Completeness

It explicitly answers both questions: what (the master-branch issue-linking, branch-naming, fetch, worktree-creation, and new-window steps) and when ("须用户 @ 本 skill 或明确说要按 GitHub Issue worktree 流程执行时再读取" plus the negative boundary "不因泛泛提到 GitHub、issue、worktree、建分支等词而自动套用"). Concrete trigger phrases are present, matching the top anchor.

5 / 5

Trigger Term Quality

Natural trigger phrases are present ("@ 本 skill", "明确说要按 GitHub Issue worktree 流程执行", "master", "建分支", "worktree"), giving good keyword coverage. A few natural terms users might say are missing (e.g., "git worktree", English phrasings, "新窗口"/"多分支" variants), so it sits just below the comprehensive-synonyms anchor.

4 / 5

Distinctiveness Conflict Risk

The description carves out a clear niche (GitHub Issue worktree flow on master, opening Cursor windows) and explicitly disclaims the generic terms (GitHub, issue, worktree, 建分支) that would cause overlap with other git/branch skills. Minimal conflict risk.

5 / 5

Total

19

/

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
TencentBlueKing/bk-ci
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.