go
Go: .go, go.mod, go.sum, goroutines, channels, interfaces, go test, go vet, or concurrency.
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ê.
Menu
Go: .go, go.mod, go.sum, goroutines, channels, interfaces, go test, go vet, or concurrency.
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ê.
Baseado na classificação ocupacional SOC
Pi extensions and tool policy: extensions/*.ts, hooks, registerTool, promptGuidelines, registerCommand, footer/status UI, tool_result, session hooks, or subprocesses. Not for slash-command placement; use pi-command.
README, CHANGELOG, docs/, RFCs, ADRs, guides, or Markdown structure. Not for prose cleanup or archival work.
Prose cleanup for filler, hype, vague claims, repetition, detection tells, or uncited specifics. Not for Markdown architecture or archival work.
Requirements, user stories, acceptance/verification criteria, or testable outcomes. Not for PRD drafting (/prd) or Pi /goal prompts.
Use for /prd-it or to draft, refine, or review a Product Requirements Document. Not for acceptance criteria, planning, or Pi /goal prompts.
Pi session, trace, metrics, routing, workflow-friction, workflow-telemetry, usage, or local JSONL analysis with DuckDB. Use for aggregating or correlating Pi runtime logs. Not for adding telemetry, generic SQL/database design, or non-Pi logs.
| name | go |
| description | Go: .go, go.mod, go.sum, goroutines, channels, interfaces, go test, go vet, or concurrency. |
Go emphasizes simplicity, explicit error handling, and strong concurrency primitives. Prefer composition over inheritance, return errors instead of panicking, and keep packages small and focused.
| Command | Purpose |
|---|---|
go build ./... | Build all packages |
go test ./... | Run all tests |
go test -race ./... | Run tests with race detector |
go fmt ./... | Format all code |
go vet ./... | Static analysis |
go mod tidy | Clean up module dependencies |
golangci-lint run | Comprehensive linting |
Error handling pattern:
if err != nil {
return fmt.Errorf("operation failed: %w", err)
}
go install <module>@<version> as code execution from that module. Pin reviewed versions; do not use @latest in committed scripts, CI, Dockerfiles, or docs examples.go mod tidy, inspect go.mod/go.sum diffs, and run govulncheck ./... after dependency changes.