CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

golang-patterns

Idiomatic Go patterns, best practices, and conventions for building robust, efficient, and maintainable Go applications. Use when writing or reviewing Go code and idiomatic structure or conventions are in question.

Quality

77%

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/golang-patterns/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

72%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 highly actionable, well-organized catalog of idiomatic Go patterns with tight, executable examples and even subtle correctness notes. Its weaknesses are structural: everything lives inline in one long SKILL.md with no progressive disclosure to references, and it offers no sequenced workflow or verification checklist for its writing/review activation scenarios, while restating knowledge Claude already has.

Suggestions

Split the detailed pattern sections (e.g., concurrency, interface design, tooling config) into references/*.md files and keep SKILL.md as a lean overview with clearly signaled one-level-deep links.

Add a short sequenced workflow for the review/refactor use cases, e.g., 1) go vet ./... 2) golangci-lint run 3) check code against the pattern sections 4) go test -race ./..., so activation has a clear starting procedure.

Trim sections that restate standard-library knowledge Claude already has (e.g., the strings.Join example, the composed io.Reader/Writer interfaces) and keep only the non-obvious guidance like the sync.Pool aliasing note.

DimensionReasoningScore

Conciseness

The body is dense and well-trimmed — one-line principles plus tight Good/Bad code with no padded prose or explanations of basics — but the ~673-line catalog restates many patterns and proverbs Claude already knows (error wrapping, worker pools, functional options, strings.Join), leaving minor trimming opportunities.

4 / 5

Actionability

Nearly every section contains copy-paste-ready Go code, concrete tooling commands (go vet, golangci-lint run, go mod tidy), a complete .golangci.yml, and nuanced gotchas like sync.Pool buffer aliasing with bytes.Clone, fully matching the top anchor.

5 / 5

Workflow Clarity

The skill is a reference catalog with no sequenced multi-step workflow or validation checkpoints; for its stated review/refactor activation use cases a checklist (e.g., run go vet, then golangci-lint, then check these patterns) is implied but never laid out, matching the anchor for steps present but checkpoints missing.

3 / 5

Progressive Disclosure

No bundle files exist and the entire detailed catalog — full pattern sections, complete linter config, project-layout tree — is inlined in SKILL.md. Section headers are clear (above the unstructured anchor) but ~673 lines of content that would fit references/ files (e.g., concurrency, tooling) is inline, matching the middle anchor.

3 / 5

Total

15

/

20

Passed

Description

73%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 solid description that clearly bounds its Go niche and explicitly pairs a what-statement with a Use-when clause. Its main weakness is that capabilities are expressed as generic category nouns (patterns, best practices, conventions) rather than concrete actions, and a few natural trigger phrases from the body (refactoring, designing packages/modules) are omitted.

Suggestions

Replace category nouns with concrete actions, e.g., "Apply idiomatic Go patterns for error handling, concurrency, interfaces, and package layout".

Broaden trigger coverage with terms users actually say: "golang", "refactoring Go code", "designing Go packages or modules" (already listed in the body's When to Activate section).

DimensionReasoningScore

Specificity

The description names the domain and purpose ("Idiomatic Go patterns, best practices, and conventions for building robust, efficient, and maintainable Go applications") but relies on category nouns like "patterns, best practices, conventions" rather than listing concrete actions, matching the anchor for domain plus limited concrete actions.

3 / 5

Completeness

Both what ("Idiomatic Go patterns, best practices, and conventions for building...") and when ("Use when writing or reviewing Go code and idiomatic structure or conventions are in question") are explicitly stated, but the when-clause is a single compound trigger rather than the enumerated concrete trigger phrases of the top anchor.

4 / 5

Trigger Term Quality

Natural phrases users would say are present ("writing or reviewing Go code", "idiomatic structure", "conventions"), giving good keyword coverage, though common variants like "golang", "refactoring", or "Go project layout" are missing.

4 / 5

Distinctiveness Conflict Risk

Go is explicitly named in both the capability and trigger clauses, creating a clear niche with distinct triggers and only trivial overlap risk with language-agnostic code-review skills.

5 / 5

Total

16

/

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

skill_md_line_count

SKILL.md is long (682 lines); consider splitting into references/ and linking

Warning

metadata_version

'metadata.version' is missing

Warning

Total

14

/

16

Passed

Repository

affaan-m/ECC

Path

skills/golang-patterns/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.