go-125-standards
OfficialEnforce Go 1.25+ coding best practices.
Authorkreuzberg-dev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill enforces modern Go (1.25+) coding standards, ensuring code quality, maintainability, and adherence to best practices for Go projects.
Core Features & Use Cases
- Modern Go Features: Utilizes error wrapping (
fmt.Errorf("%w", err)) anderrors.Is/Asfor robust error handling. - Testing Standards: Implements black-box testing with
*_test.gofiles and table-driven tests usingt.Run(). - Linting & Analysis: Integrates
golangci-lintwith essential linters (errcheck,govet,staticcheck,gosec,gocyclo) and enforces complexity limits (≤25). - Package Structure: Promotes standard Go project layout (
cmd/,internal/,pkg/). - Naming Conventions: Enforces clear naming (
PascalCase,camelCase,SCREAMING_SNAKE_CASE). - Context Propagation: Ensures
Context.Contextis used correctly in I/O functions. - Structured Logging: Mandates
zerologfor consistent, searchable logs. - Use Case: Ensure a new Go microservice adheres to all company-wide coding standards before merging, preventing technical debt.
Quick Start
Apply the go-125-standards skill to the current Go project directory.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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-125-standards Download link: https://github.com/kreuzberg-dev/html-to-markdown/archive/main.zip#go-125-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.