CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

worktree-hygiene

Delete local Git worktrees and branches once their work is on GitHub, with `bun run worktrees`. Use when cleaning up worktrees or local branches, or deciding whether one is safe to delete, not when creating branches or commits.

Quality

93%

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

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.

An exemplary lean skill: it delegates mechanical checking to a script and spends its entire token budget on the judgment calls the script cannot make, with exact commands, owner-approval gates, and post-operation verification. Structure and length are perfectly matched to a single-purpose task.

DimensionReasoningScore

Conciseness

Every sentence carries judgment the script cannot make ("A local copy is disposable once its work is on GitHub", "Never reap a worktree a live session owns") with zero padding or explanation of git concepts Claude already knows. The 22-line body wastes no tokens; even 'List again afterward' is justified by 'sessions create and switch worktrees continuously'.

5 / 5

Actionability

Commands are exact and copy-paste ready (`bun run worktrees`, `bun run worktrees reap <branch…>`, `git worktree remove <path>`, `git branch -f main origin/main`), and the edge-case guidance is concrete (build output `dist/`, `target/`, `build-desktop/` is throwaway; modified source gets committed to the branch first). Per the rubric's instruction-only-skill note, the absence of code blocks is not penalized since the guidance is fully actionable.

5 / 5

Workflow Clarity

The destructive-batch cap does not apply because validation is explicit at every stage: the covered/UNCOVERED listing pre-validates state, 'After the owner approves names' is a hard gate, the script 'refuses a worktree with changed or untracked files', and 'List again afterward' verifies the result. Feedback loops are present — a refused dirty worktree routes to the changed-files handling, and an uncovered branch is auto-pushed to `backup/<branch>` before deletion.

5 / 5

Progressive Disclosure

The body is ~22 lines with no need for external reference files, so the under-50-lines exception applies: sections are well organized (principle, usage, then a 'What the script leaves to you' checklist of bolded edge cases). The single link to `scripts/worktree-audit.ts` is clearly signaled and one level deep.

5 / 5

Total

20

/

20

Passed

Description

87%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 in third-person imperative voice that explicitly answers both what it does and when to use it, with a negative trigger boundary that reduces conflict risk. The only room for improvement is marginally broader trigger synonyms and surfacing the backup-push safety net.

DimensionReasoningScore

Specificity

"Delete local Git worktrees and branches once their work is on GitHub, with `bun run worktrees`" names the exact action, the safety condition, and the tool — several specific actions with minor gaps. Not a 5 because the safety mechanism (uncovered branches pushed to `backup/<branch>`) and the covered/UNCOVERED listing are not mentioned, leaving coverage slightly short of comprehensive.

4 / 5

Completeness

Both halves are explicit: the 'what' is "Delete local Git worktrees and branches once their work is on GitHub, with `bun run worktrees`" and the 'when' gives concrete trigger phrases ("Use when cleaning up worktrees or local branches, or deciding whether one is safe to delete") plus a negative boundary. This matches the anchor-5 example pattern of explicit what-and-when with concrete triggers.

5 / 5

Trigger Term Quality

"cleaning up worktrees or local branches", "deciding whether one is safe to delete", and the explicit exclusion "not when creating branches or commits" give good natural-phrase coverage of what users would say. Not a 5 because common variants like "prune" or "remove old branches/worktrees" are absent.

4 / 5

Distinctiveness Conflict Risk

"worktree-hygiene" is a clear niche with distinct triggers tied to a project-specific command (`bun run worktrees`), and "not when creating branches or commits" explicitly fences off adjacent git workflows. Minimal conflict risk with generic git or cleanup skills.

5 / 5

Total

18

/

20

Passed

Validation

87%

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

Validation — 14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

relative_links

Relative link issues: 1 suspicious

Warning

referenced_paths_exist

Referenced path issues: 1 possibly missing (scripts/worktree-audit.ts)

Warning

Total

14

/

16

Passed

Repository

EpicenterHQ/epicenter

Path

.agents/skills/worktree-hygiene/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.