CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

golang-patterns

堅牢で効率的かつ保守可能なGoアプリケーションを構築するための慣用的なGoパターン、ベストプラクティス、規約。

Quality

66%

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

Quality

Content

63%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 highly actionable — dense, executable Good/Bad Go examples with concrete tooling commands and lint config — and the activation section plus quick-reference table make it easy to apply. Its main weaknesses are token efficiency (much of it restates standard Go knowledge Claude already has, at 675 lines) and progressive disclosure (a single monolithic file where several sections belong in one-level-deep reference files).

Suggestions

Trim or cut sections that restate standard-library knowledge Claude already has (strings.Builder/strings.Join, sync.Pool basics, errgroup basics, interface embedding of Reader/Writer), keeping only project-specific conventions and the anti-patterns table — this addresses the lowest-scoring dimension, conciseness.

Split deep-dive material (concurrency patterns, struct design, golangci config) into one-level-deep reference files (e.g., references/concurrency.md, references/tooling.md) with a lean overview in SKILL.md, improving progressive disclosure.

Remove version-sensitive guidance such as 'i, url := i, url // Capture loop variables', which is obsolete since Go 1.22 per-iteration loop variables.

DimensionReasoningScore

Conciseness

At ~675 lines, the body re-teaches textbook Go that Claude already knows — worker pools, errgroup, context timeouts, errors.Is/As, sync.Pool, strings.Builder, functional options, and embedding are all standard knowledge, and sections like 'ループ内での文字列連結を避ける' (avoid string concatenation in loops) are fully covered by the standard library. The prose itself is lean, but the volume of already-known material constitutes 'several unnecessary explanations or padded sections' (level 2); it is not level 1 because there is no elementary concept introduction (no 'what is Go'), and the Good/Bad framing plus the anti-patterns section does add codification value.

2 / 5

Actionability

Nearly every section delivers complete, syntactically valid Go functions with Good/Bad contrasts ('// Good: Wrap errors with context' vs '// Bad: Ignoring error with blank identifier'), plus concrete commands (go test -race ./..., golangci-lint run) and a full .golangci.yml config. This matches 'fully executable; copy-paste ready code or commands; specific examples cover the common cases' — the examples span the common cases (error handling, concurrency, interfaces, package layout, performance).

5 / 5

Workflow Clarity

This is a reference skill rather than a multi-step workflow, and the activation section ('いつ有効化するか': write / review / refactor / design) makes the single application context unambiguous, while the tooling section supplies verification commands (go vet, staticcheck, go test -race) that function as checkpoints. It falls just short of 5 because no explicit loop connects applying a pattern to verifying it with those tools, and short of the anchor-4 example only by that integration gap — the sequence/validation elements are present but not woven into a usage flow.

4 / 5

Progressive Disclosure

There are no bundle files (no references/, scripts/, or assets/), so all ~675 lines are inlined in SKILL.md with good internal section headers and a quick-reference table. This matches 'some structure but could be better organized; content that should be separate is inline' — the detailed concurrency, error-handling, struct-design, and tooling sections are natural candidates for one-level-deep reference files (e.g., concurrency.md, tooling.md). It is above level 2 because internal structure and navigation are genuinely good, and below level 4 because a file of this size should split its deep-dive material into referenced files.

3 / 5

Total

14

/

20

Passed

Description

53%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 clearly communicates a Go-specific patterns/best-practices skill with a solid 'what', and its Go scoping keeps conflict risk low. However, it completely lacks a 'when to use' clause and natural trigger variations (golang, writing/reviewing Go code), which caps both completeness and trigger-term quality. Adding an explicit activation clause would lift it substantially.

Suggestions

Add an explicit trigger clause, e.g. 'Use when writing, reviewing, or refactoring Go code, or when designing Go packages/modules' — this directly addresses the completeness cap.

Include natural synonyms and variations users would say, such as 'golang', 'Go idioms', and 'Go code review', to improve trigger-term coverage.

Enumerate 1-2 concrete capability areas (e.g., 'covers error wrapping with %w/errors.Is, concurrency patterns with errgroup/context, and package layout conventions') to raise specificity.

DimensionReasoningScore

Specificity

The description names the domain ("Goアプリケーション") and the content categories ("慣用的なGoパターン、ベストプラクティス、規約" — idiomatic Go patterns, best practices, conventions), but lists no concrete actions like 'wrap errors with %w' or 'structure packages'. It matches the anchor 'names domain and 1-2 concrete items, but not comprehensive'; it is above level 2 because patterns/conventions are more concrete than purely generic 'processes files' language, but below level 4 because no specific capabilities are enumerated.

3 / 5

Completeness

There is a clear 'what' (provides idiomatic patterns, best practices, and conventions for robust, efficient, maintainable Go applications) but no 'when' — no 'Use when...' clause or equivalent trigger guidance, which caps this dimension at 3 per the judging guidelines. Not level 2 because the 'what' is clear, not vague; not level 4 because usage conditions are entirely absent rather than merely imprecise.

3 / 5

Trigger Term Quality

The only trigger root is "Go" (repeated as Goアプリケーション / Goパターン); common variations a user would naturally say — 'golang', 'Go code', 'idiomatic Go' — are absent. This fits 'some relevant keywords but missing common variations or synonyms'; it is not level 4 since coverage rests on a single keyword rather than a set of natural terms.

3 / 5

Distinctiveness Conflict Risk

"慣用的なGoパターン" (idiomatic Go patterns) carves out a clear language-specific niche that would not trigger for non-Go skills. It is not level 5 because the missing trigger clause means distinctiveness rests on the 'Go' keyword alone, leaving minor overlap risk with other Go-specific skills (e.g., a Go testing or Go project-setup skill); it is above level 3 since the language scoping is unambiguous.

4 / 5

Total

13

/

20

Passed

Validation

93%

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

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

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

Warning

Total

15

/

16

Passed

Repository

affaan-m/ECC

Path

docs/ja-JP/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.