Go 1.25+ Standards
OfficialEnforce modern Go coding standards.
Authorkreuzberg-dev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill ensures Go code adheres to modern best practices, improving code quality, maintainability, and reducing bugs.
Core Features & Use Cases
- Modern Go Features: Enforces use of Go 1.25+ features like error wrapping (
fmt.Errorf("%w", err)). - Testing Standards: Mandates table-driven tests with
t.Run()and black-box testing approaches. - Linting & Analysis: Integrates
golangci-lintwith specific linters and complexity limits. - Package Structure: Guides on organizing code into
cmd/,internal/, andpkg/. - Naming Conventions: Enforces consistent naming across types, variables, and constants.
- Context Handling: Ensures
Context.Contextis used correctly for I/O operations and cancellation. - Logging: Promotes structured logging with
zerolog.
Quick Start
Apply the Go 1.25+ Standards skill to the current Go project to ensure best practices are followed.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: Go 1.25+ Standards Download link: https://github.com/kreuzberg-dev/html-to-markdown/archive/main.zip#go-1-25-standards Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.