Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/williamzujkowski/standardsnpx agentmods add skills/williamzujkowski/standards/goWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/williamzujkowski/standards/go)<a href="https://agentmods.dev/skills/williamzujkowski/standards/go"><img src="https://agentmods.dev/badge/skills/williamzujkowski/standards/go/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/williamzujkowski/standards/go"><img src="https://agentmods.dev/badge/skills/williamzujkowski/standards/go.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00044 | $0.02746 |
| Opus 5.5 | $0.00018 | $0.01098 |
| Sonnet 5.5 | $0.00009 | $0.00549 |
| Haiku 4.5 | $0.00004 | $0.00275 |
Grade A, and why
go-coding-standards scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 470 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Go Coding Standards
Quick Navigation: Level 1: Quick Start (5 min) → Level 2: Implementation (30 min) → Level 3: Mastery (Extended)
Level 1: Quick Start (<2,000 tokens, 5 minutes)
Core Principles
- Idiomatic Go: Write code that follows Go idioms - simple, clear, and effective
- Explicit Errors: Return errors explicitly, handle them properly, no exceptions
- Interfaces: Accept interfaces, return concrete types
- Concurrency: Goroutines and channels for concurrent operations
- Testing: Table-driven tests with >80% coverage
Essential Checklist
- Formatting: Code formatted with
gofmt, imports organized withgoimports - Naming: Follow Go conventions (MixedCaps, camelCase, short names in limited scope)
- Error Handling: All errors checked and wrapped with context
- Testing:
_test.gofiles with table-driven tests, benchmarks - Documentation: Package and exported function documentation
- Modules:
go.modwith semantic versioning, tidy dependencies - Linting: Pass
golangci-lintwith strict configuration - Security: Input validation, no hardcoded secrets, secure defaults
Quick Example
// Package auth provides user authentication services.
package auth
import (
"context"
"errors"
"fmt"
)
var (
// ErrInvalidCredentials indicates authentication failure.
ErrInvalidCredentials = errors.New("invalid credentials")
// ErrUserNotFound indicates user does not exist.
ErrUserNotFound = errors.New("user not found")
)
// User represents an authenticated user.
type User struct {
ID string
Username string
Email string
}
// Repository defines user storage operations.
type Repository interface {
FindByUsername(ctx context.Context, username string) (*User, error)
VerifyPassword(ctx context.Context, userID, password string) bool
}
// Service handles authentication operations.
type Service struct {
repo Repository
}
// NewService creates a new authentication service.
func NewService(repo Repository) *Service {
return &Service{repo: repo}
}
// Authenticate verifies credentials and returns the authenticated user.
//
// Returns ErrInvalidCredentials if authentication fails,
// ErrUserNotFound if user doesn't exist, or wrapped errors for other failures.
func (s *Service) Authenticate(ctx context.Context, username, password string) (*User, error) {
if username == "" || password == "" {
return nil, fmt.Errorf("username and password required")
}
user, err := s.repo.FindByUsername(ctx, username)
if err != nil {
if errors.Is(err, ErrUserNotFound) {
return nil, ErrInvalidCredentials // Don't reveal user existence
}
return nil, fmt.Errorf("find user: %w", err)
}
if !s.repo.VerifyPassword(ctx, user.ID, password) {
return nil, ErrInvalidCredentials
}
return user, nil
}
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 470 lines · 44 tokens per session scan A 49d69e0a431d
go-coding-standards is a skill published in the GitHub repository williamzujkowski/standards (22 stars, last pushed 3mo ago), licensed MIT. It adds 44 tokens to every session and 2,746 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-29.
go-coding-standards compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| go-coding-standardswilliamzujkowski/standards | Skill | 22 | 3mo ago | MIT | A | 44 | Claude Code, Codex |
| golang-testingaffaan-m/ECC | Skill | 313k | 7d ago | MIT | A | 37 | Claude Code, Kiro |
| setuponsi/ginkgo | Skill | 9.1k | 27d ago | MIT | A | 118 | Claude Code |
| timeouts-and-asynconsi/ginkgo | Skill | 9.1k | 27d ago | MIT | A | 106 | Claude Code |
| eng-test-conventionscompozy/compozy | Skill | 2.9k | today | MIT | A | 58 | Claude Code, Codex |
| golang-testingsamber/cc-skills-golang | Skill | 4.0k | 21d ago | MIT | A | 115 | Claude Code |
| golang-stretchr-testifysamber/cc-skills-golang | Skill | 4.0k | 21d ago | MIT | A | 97 | Claude Code |