CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

new-branch

Name and create a task branch from fresh origin/main, and rotate a task-owned worktree to a new branch after its PR merges. Use when asked for a fresh branch, when /ship needs a branch for detached work, and after a merge.

Quality

93%

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

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.

This is an exemplary skill body: dense, executable, and assumption-respecting prose with complete commands, and both workflows gated by explicit validation checkpoints with failure-mode handling. Structure is appropriately self-contained with clear sections and no wasted tokens.

DimensionReasoningScore

Conciseness

Every line carries skill-specific constraints ("Never branch from a local `main`, which can be stale", "six digits at most, which skips legacy and timestamp-named branches") with zero padding and no explanation of git concepts Claude already knows. It assumes competence (squash merges, worktrees, pathspecs are used without preamble), matching the lean top anchor.

5 / 5

Actionability

Fully executable, copy-paste-ready commands throughout: the branch-numbering pipeline (`git for-each-ref ... | sed -nE ... | sort -n | tail -1`), `git switch -c`, `git worktree add -b`, `git merge-base --is-ancestor`, and `git cat-file -e "<oid>^{commit}"`. Placeholders like `<mergeCommit.oid>` and `<ship_merge_head_oid>` are each explicitly sourced ("comes from `gh pr view <number> --json mergeCommit`") and cover the common cases, so this is not the anchor-4 'minor gaps' level.

5 / 5

Workflow Clarity

Both flows are clearly sequenced with exceptional validation: check-first (`git status --short`, `git log --oneline origin/main..HEAD`) before creating, and a full pre-rotation gate (is-ancestor, clean-tree pathspec check, empty log, head-Oid match, cat-file existence). Explicit error recovery is present ("wait a few seconds and fetch again", "If the command fails, keep the branch", "keep the branch and list what you found"), matching the top anchor's validation-plus-feedback-loop profile.

5 / 5

Progressive Disclosure

A single cohesive workflow correctly kept inline (~90 lines) with clean section structure (Name / Create / After a merge) and no nested references; the only cross-reference ("see `babysit-pr` for the push target") is one level deep and clearly signaled. Nothing here belongs in a separate bundle file, so the well-organized-sections pattern earns the top anchor.

5 / 5

Total

20

/

20

Passed

Description

88%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 names concrete, well-scoped actions for both the create and post-merge-rotate workflows and pairs them with an explicit, natural "Use when" clause. The only weakness is trigger synonym coverage — "new branch" and similar common phrasings are missing, and "fresh branch" alone slightly raises conflict risk with a generic branch skill.

DimensionReasoningScore

Specificity

Quotes: "Name and create a task branch from fresh origin/main", "rotate a task-owned worktree to a new branch after its PR merges" — three concrete, parameterized actions (name, create from a specific base, rotate post-merge) that comprehensively cover the skill's scope. Not 4 because there are no coverage gaps: both workflows (creation and post-merge rotation) are each named with their concrete mechanics.

5 / 5

Completeness

The description explicitly answers both questions: what ("Name and create a task branch from fresh origin/main, and rotate a task-owned worktree to a new branch after its PR merges") and when ("Use when asked for a fresh branch, when /ship needs a branch for detached work, and after a merge") with concrete trigger phrases. Clearly matches the top anchor rather than 4, where the 'when' would be less explicit.

5 / 5

Trigger Term Quality

Quotes: "Use when asked for a fresh branch, when /ship needs a branch for detached work, and after a merge" — good natural triggers ("fresh branch", "after a merge", the /ship hook). Not 5 because the most common user phrasing "new branch" and variants like "switch/start a branch" are absent; not 3 because the included terms are ones users would actually say, not jargon.

4 / 5

Distinctiveness Conflict Risk

Quotes: "task-owned worktree", "after its PR merges", "when /ship needs a branch" — a clear niche with several distinct triggers. It sits between anchors: the rotation/merge triggers are highly distinctive (5-like), but "asked for a fresh branch" could also fire for a generic branch-creation skill, leaving minor overlap risk (4-like).

4 / 5

Total

18

/

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

BuilderIO/agent-native

Path

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