CtrlK
BlogDocsLog inGet started
Tessl Logo

use-modern-go

Apply modern Go syntax guidelines based on project's Go version. Use when user ask for modern Go code guidelines.

81

2.20x
Quality

74%

Does it follow best practices?

Impact

86%

2.20x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

Fix and improve this skill with Tessl

tessl review fix ./claude/modern-go-guidelines/skills/use-modern-go/SKILL.md
SKILL.md
Quality
Evals
Security

Evaluation results

80%

50%

Word Report Generator

Modern Go 1.24 idioms in tests, benchmarks, and JSON serialization

Criteria
Without context
With context

t.Context() in tests

100%

0%

b.Loop() in benchmarks

0%

100%

strings.SplitSeq for iteration

0%

100%

omitzero on Duration field

0%

100%

omitzero on slice/struct fields

0%

100%

slices.Sort used

0%

100%

slices package for searching/membership

100%

60%

min/max built-ins

100%

40%

go 1.24 module

100%

100%

No legacy for-N loop in benchmarks

0%

100%

No strings.Split in iteration

0%

100%

88%

15%

In-Memory Key-Value Store HTTP API

Modern Go HTTP API with routing and error patterns

Criteria
Without context
With context

Method-prefixed routes

100%

100%

PathValue for path params

100%

100%

cmp.Or for address fallback

0%

100%

errors.Join for multi-error

0%

0%

errors.Is for error comparison

100%

100%

any instead of interface{}

100%

100%

for-range integer loop

100%

100%

strings.Cut usage

100%

100%

go.mod version 1.22

100%

100%

90%

74%

Concurrent Job Scheduler Package

Go 1.25 concurrent job scheduler with modern stdlib APIs

Criteria
Without context
With context

wg.Go() goroutine spawning

0%

100%

sync.OnceValue init

0%

100%

context.WithCancelCause

18%

100%

context.Cause usage

100%

100%

maps.Clone registry copy

0%

100%

maps.DeleteFunc purge

0%

100%

slices.SortFunc with cmp.Compare

0%

100%

slices.Contains membership check

0%

0%

clear() for reset

0%

100%

go.mod Go 1.25

100%

100%

Repository
JetBrains/go-modern-guidelines
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.