CtrlK
BlogDocsLog inGet started
Tessl Logo

branching-logic-flow

Prefer defaulting and naked switches over if/else chains for shallow branching logic in Go. Use when writing or refactoring conditional logic with 1-3 branches.

73

Quality

90%

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

92%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 clean, well-structured Go pattern skill with executable examples and clear application boundaries. It assumes Claude's competence and every section earns its place.

DimensionReasoningScore

Conciseness

The body is lean with executable Go snippets and no padding about what Go or if/else is, but the opening rationale ('This reduces nesting, avoids duplication, and lowers the cognitive load') is a minor instance of over-explanation that could be trimmed.

4 / 5

Actionability

Provides copy-paste-ready, executable Go examples in clear avoid/prefer pairs covering type-assertion defaulting, numeric switch ladders, and min/max built-ins, spanning the common cases.

5 / 5

Workflow Clarity

As a single-purpose pattern skill, the 'When to Apply' and 'When NOT to Apply' sections give unambiguous decision guidance with explicit boundary conditions; no destructive/batch validation is needed.

5 / 5

Progressive Disclosure

Self-contained, well-organized into labeled sections (When to Apply, two Rules, When NOT to Apply, Related Patterns) with no nested references and no need for external bundle files.

5 / 5

Total

19

/

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 tight, well-scoped description that clearly states both the capability and a concrete usage trigger. It is specific to Go shallow branching and unlikely to collide with unrelated skills.

DimensionReasoningScore

Specificity

Names two concrete techniques ('defaulting' and 'naked switches') and the target to avoid ('if/else chains') for Go branching, which is more concrete than the score-3 anchor though it stops short of the 'several' actions implied by score 5.

4 / 5

Completeness

Explicitly answers both what ('Prefer defaulting and naked switches over if/else chains for shallow branching logic in Go') and when ('Use when writing or refactoring conditional logic with 1-3 branches') with a concrete trigger clause.

5 / 5

Trigger Term Quality

Natural phrases like 'writing or refactoring conditional logic', 'if/else chains', and 'branching logic' are terms a user would plausibly say, though synonyms like 'switch statements' are absent.

4 / 5

Distinctiveness Conflict Risk

Scoped to 'shallow branching logic in Go' with a precise '1-3 branches' trigger, giving it a clear niche with minimal overlap risk against other skills.

5 / 5

Total

18

/

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
ardanlabs/service
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.