CtrlK
BlogDocsLog inGet started
Tessl Logo

cleanup-github-worktree

清理长时间未使用的 git worktree(GitHub 版)。仅在用户明确要求清理 worktree 时使用,不自动触发。 关键词:清理 worktree、删除 worktree、移除旧分支、worktree 回收。

64

Quality

76%

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 ./ai/skills/cleanup-github-worktree/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

75%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 is a well-structured, actionable batch-cleanup workflow with appropriate validation safeguards (preview, confirmation, skip-dirty, final report) and clean progressive disclosure to real bundle files and a sibling skill. It is concise and executable, with only minor trim and organization opportunities.

DimensionReasoningScore

Conciseness

The body is largely lean — tables, concise numbered steps, and code blocks with no padding of concepts Claude already knows; the only minor inefficiency is the Step 1 options-to-days table restating the inline '对应 N 天' notes, which could be trimmed.

4 / 5

Actionability

Concrete executable commands are provided (git branch --show-current, the powershell/bash script invocations with -Days/-d args) and detail is delegated to the real scripts and the close-github-worktree-done skill; templated placeholders like <天数> and <N> are clearly signaled, leaving only minor gaps.

4 / 5

Workflow Clarity

A clear 5-step sequence with explicit checkpoints — master-branch precondition check, preview-before-delete, user AskQuestion confirmation, skip-dirty-branches rule, continue-on-failure, and a summary report — so the destructive/batch cap does not apply; it stops short of a fix-retry feedback loop, keeping it at 4 rather than 5.

4 / 5

Progressive Disclosure

Content is well-organized into signaled sections and delegates depth one level deep to real bundle scripts (cleanup-worktree.ps1/.sh, both present in ./scripts) and to the close-github-worktree-done skill rather than inlining it; minor organization gaps (the script-explanation bullets could live with the scripts) keep it just below 5.

4 / 5

Total

16

/

20

Passed

Description

78%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 is well-formed: it states a clear purpose, an explicit trigger condition, and natural-language keywords. Its main weakness is specificity — the enumerated keywords are synonyms for one action rather than the full capability set, which lives only in the body.

DimensionReasoningScore

Specificity

The description names the domain ('清理长时间未使用的 git worktree') and a concrete action via synonyms (清理/删除/移除旧分支/回收), but these are variations of one operation rather than a comprehensive capability list; the full actions (close issue, delete branch) only appear in the body, and we score only what is stated.

3 / 5

Completeness

It explicitly answers both what ('清理长时间未使用的 git worktree(GitHub 版)') and when ('仅在用户明确要求清理 worktree 时使用,不自动触发'), with concrete trigger keywords — matching the anchor for a clear explicit what AND when.

5 / 5

Trigger Term Quality

Keywords 清理 worktree、删除 worktree、移除旧分支、worktree 回收 are natural phrases a user would say, with good synonym coverage; a few natural variations (e.g. 'git worktree 清理', '删除分支') are absent, and no file extensions apply to this domain.

4 / 5

Distinctiveness Conflict Risk

The 'long-unused' + 'GitHub 版' + explicit-trigger constraint carves a clear niche with minimal conflict risk; minor overlap remains with closely related worktree skills such as close-github-worktree-done.

4 / 5

Total

16

/

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.

Validation16 / 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.