CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

finishing-a-development-branch

当实现完成、所有测试通过、需要决定如何集成这份工作时使用

Quality

72%

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/finishing-a-development-branch/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

96%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 an exemplary decision-procedure skill: lean, git-competent prose with copy-paste bash, exact menu and confirmation texts, and validation checkpoints at every destructive boundary (merge, worktree removal, branch deletion). Its only structural note is that it is a monolithic single file — entirely appropriate at ~200 lines, though the rationalizations table could be a reference file if the skill grows.

Suggestions

If the skill grows beyond its current size, move the 常见的合理化借口 table into a references/ file (e.g. references/rationalizations.md) and keep a one-line pointer in SKILL.md, preserving the lean overview pattern.

Consider mentioning the English equivalent of the core principle or key terms (merge, PR, worktree) alongside the Chinese, since the frontmatter tags are in English and cross-language matching may improve trigger and indexing fidelity.

DimensionReasoningScore

Conciseness

The body assumes Claude's competence throughout: no git tutorials, no explanation of what a worktree or PR is, and every code comment carries load ('现在就捕获 —— 此刻还在工作区里面。步骤 5 会切换目录,而清理(步骤 6)需要这个值'). The one duplication — the step-2 capture comment restated by the step-6 warning '不要在这里重新计算这些值' — is two sentences guarding against a real silent-failure mode, which earns its place rather than padding. This matches anchor 5 ('lean and efficient; every token earns its place'), not anchor 4, which requires over-explanation that could be trimmed — nothing here explains concepts Claude doesn't already know.

5 / 5

Actionability

Fully executable throughout: copy-paste bash blocks ('git worktree remove "$WORKTREE_PATH"', 'git push -u origin <feature-branch>', the MAIN_ROOT capture with `git -C`), verbatim menu texts to display character-for-character ('照原文展示菜单'), an exact confirmation token ('输入 discard 以确认… 等待**这个精确的**确认词'), and a state → menu → cleanup decision table. The placeholders (<base-branch>, <feature-branch>, <测试命令>) are genuinely project-specific parameters, not pseudocode. This is the anchor-5 case — commands are copy-paste ready and the common cases (normal repo, named worktree, detached HEAD, refused deletion) are each covered with concrete handling.

5 / 5

Workflow Clarity

A six-step sequence with validation at every destructive boundary: '如果测试失败,报告失败并停下——菜单是在测试全绿之后才出现的'; '先合并 —— 在删除任何东西之前先验证合并成功' followed by re-running tests on the merge result; merge-result test failure → stop and investigate with branch/worktree left in place; worktree removal refused → 3-option submenu instead of --force; and the discard path gated behind an exact confirmation word. The 快速参考 table and the step-2 environment matrix act as checklists. This matches anchor 5 ('explicit validation steps; feedback loops for error recovery; checklists') — the destructive-operation cap of 3 does not apply because validation and confirmation gates are pervasive.

5 / 5

Progressive Disclosure

No bundle files exist (no references/, scripts/, or assets/), and the skill is a single self-contained file with clear, navigable section headers (概述, 步骤 1–6, 快速参考, 常见的合理化借口) and a quick-reference table summarizing all paths. The ~200-line body is a cohesive decision procedure that does not clearly need splitting, fitting anchor 4 ('good structure; most content is appropriately placed'). It is not anchor 5, which is defined by well-signaled one-level-deep references to separate files — none exist — and the under-50-line simple-skill exception does not apply at this length; the rationalizations table (10 rows) is the one block that could plausibly live in a reference file.

4 / 5

Total

19

/

20

Passed

Description

40%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 a clean, explicit trigger clause with a distinctive situational hook, but it is a 'when' with no 'what': it names no concrete capabilities and omits the natural vocabulary (merge, PR, finish the branch) users would say at this moment. It sits at the midpoint of the rubric — functional for triggering, weak for describing.

Suggestions

Add a 'what' clause naming the concrete actions, e.g. '运行完整测试套件、检测仓库/worktree 状态、展示合并/创建 PR/保留分支三个选项并执行所选操作、清理 worktree。当实现完成、所有测试通过、需要决定如何收尾这个分支时使用。'

Include the natural trigger words users would actually say — 合并 (merge)、创建 PR / Pull Request、收尾/完成这个分支 — so keyword matching catches real phrasings rather than only the internal state description.

Keep the third-person imperative style ('Use when…') and avoid adding filler; the fix is coverage of actions and synonyms, not length.

DimensionReasoningScore

Specificity

The description names a concrete domain — '当实现完成、所有测试通过、需要决定如何集成这份工作时' (implementation complete, tests green, integration decision pending) — but contains zero action verbs describing what the skill actually does: no mention of running tests, presenting merge/PR/keep options, worktree cleanup, or branch deletion. It matches anchor 2 ('names the domain but actions are minimal or generic') more than anchor 1, since the situation is specific rather than 'pure abstract language', but it cannot reach anchor 3, which requires 1-2 named concrete actions.

2 / 5

Completeness

The 'when' is explicit and clear ('当实现完成、所有测试通过、需要决定…时使用'), but the 'what' — what the skill does once triggered — is entirely absent; the reader cannot tell from the description that it verifies tests, detects repo/worktree state, presents a 3-option menu, executes the choice, or cleans up worktrees. This is the anchor-2 case verbatim: 'only when is present without what'. It cannot be 3 (requires a clear what) or 4 (requires both).

2 / 5

Trigger Term Quality

Relevant trigger phrases are present — '实现完成' (implementation done), '所有测试通过' (all tests pass), '集成' (integrate) — but the natural words a user would actually say in this moment are missing: 合并 (merge), 'Pull Request' / PR, 创建 PR, 收尾/完成这个分支 (finish/wrap up this branch). Anchor 3 ('some relevant keywords but missing common variations or synonyms') fits: not anchor 2 (the keywords present are specific, not generic) and not anchor 4 (key user phrasings like merge/PR are absent).

3 / 5

Distinctiveness Conflict Risk

The trigger is a narrow internal state (finished work + green tests + pending integration decision), so it is unlikely to fire for unrelated skills. However, because domain nouns like 合并/PR/分支 are absent, there is minor overlap risk with closely related git-workflow skills (e.g. a PR-creation or commit-message skill). Anchor 4 ('mostly distinct; minor overlap risk with closely related skills') is the best fit — not 5 (no distinct domain keywords anchoring the niche) and not 3 (the situational trigger is far more specific than 'works with document files').

4 / 5

Total

11

/

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/finishing-a-development-branch/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.