Skip to main content
Execute qualquer Skill no Manus
com um clique

go-modern

Estrelas4
Forks3
Atualizado6 de junho de 2026 às 20:32

Write modern, idiomatic Go (1.21–1.26) using the standard library and current language features instead of legacy patterns. Covers slices/maps/cmp, the min/max/clear builtins, range-over-int and range-over-func iterators, errors.Is/As/Join and %w wrapping, generics, new(expr), omitzero, os.Root, slog, and the stdlib APIs that are now the recommended idiom. Use this skill BEFORE writing or editing any Go (.go) code, reviewing a Go diff, or picking a stdlib API — it replaces the legacy forms this project's lint rules ban (the old sort package, interface{}, manual index loops, append([]T(nil), …), ptr() helpers, hand-rolled min/max). Complements the `lo` skill, which owns functional transforms (Map/Filter/Reduce/GroupBy); reach here for everything stdlib- and language-level. Invoke whenever the task is "write some Go", "clean this Go up", "is there a stdlib way to do this", or CLAUDE.md says "Modern Go style".

Instalação

Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.

Explorador de arquivos
7 arquivos
SKILL.md
readonly