CtrlK
BlogDocsLog inGet started
Tessl Logo

golang-patterns

Idiomatic Go patterns, best practices, and conventions for building robust, efficient, and maintainable Go applications.

54

Quality

43%

Does it follow best practices?

Impact

Pending

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

Optimize this skill with Tessl

npx tessl skill review --optimize ./docs/zh-TW/skills/golang-patterns/SKILL.md
SKILL.md
Quality
Evals
Security

Evaluation results

100%

10%

Multi-Source Configuration Loader

Error handling patterns

Criteria
Without context
With context

fmt.Errorf %w wrapping

100%

100%

Context in error messages

100%

100%

Custom error type

100%

100%

Sentinel error variables

0%

100%

errors.Is or errors.As usage

100%

100%

No ignored errors

100%

100%

No panic for control flow

100%

100%

Early return pattern

100%

100%

Errors returned not swallowed

100%

100%

No naked returns

100%

100%

90%

30%

Concurrent Health Check Tool

Concurrency and context patterns

Criteria
Without context
With context

errgroup usage

0%

100%

errgroup.WithContext called

0%

100%

context.WithTimeout + defer cancel

100%

100%

Context-aware HTTP requests

100%

100%

Goroutine leak prevention

100%

100%

Context as first parameter

100%

100%

No ignored errors

100%

70%

Error wrapping

0%

100%

Race-safe result collection

100%

100%

g.Wait() error handled

0%

30%

86%

31%

High-Throughput Log Record Processor

Package design and performance patterns

Criteria
Without context
With context

Functional options pattern

16%

100%

Accept interfaces, return concrete

20%

60%

Standard project layout

50%

50%

Package naming conventions

100%

100%

No package-level mutable state

70%

90%

Pre-allocated slices

70%

100%

strings.Builder for assembly

100%

100%

sync.Pool for buffer reuse

16%

100%

Small focused interfaces

80%

100%

Interfaces at use site

50%

50%

Repository
haniakrim21/everything-claude-code
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

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.