Skip to main content
Manus에서 모든 스킬 실행
원클릭으로

go-modern

스타4
포크3
업데이트2026년 6월 6일 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".

설치

Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.

파일 탐색기
7 개 파일
SKILL.md
readonly