Write idiomatic Go
Use clear package APIs, naming, zero values, errors, interfaces, composition, formatting, documentation, and standard-library patterns.
Codex Skills for Golang give Codex practical instructions for writing idiomatic Go, organizing modules and packages, handling context and errors, building concurrent services, testing behavior, using the race detector, and producing simple deployable binaries. Download the skills for Go code that values clarity, explicit behavior, and dependable operations.
task: complete go development task
inspect:
- requirements and context
- existing standards
- failure and edge cases
verify: outputs + checks + handoffStrong Go code uses small interfaces, explicit errors, clear package boundaries, context-aware operations, and concurrency only where it improves the design.
These skills guide Codex through modules, APIs, services, tests, benchmarks, profiling, race checks, and standard tooling while following the repository's Go version.
Use clear package APIs, naming, zero values, errors, interfaces, composition, formatting, documentation, and standard-library patterns.
Define goroutine ownership, channel direction, cancellation, backpressure, synchronization, shutdown, and bounded resource use.
Create HTTP services, middleware, clients, workers, command-line programs, configuration, logging, and graceful lifecycle handling.
Run formatting, vetting, unit and integration tests, race detection, benchmarks, fuzzing, profiling, and module checks as appropriate.
The steps keep context, implementation, and verification visible so the result can be reviewed and repeated.
Read go.mod, Go version, package layout, commands, interfaces, tests, generated code, build tags, and local conventions.
Follow values, errors, context, goroutines, resources, dependencies, and shutdown paths before changing behavior.
Prefer direct code, narrow interfaces, explicit errors, bounded concurrency, and standard packages unless the project requires otherwise.
Format, test affected packages, vet, use the race detector for concurrency changes, and benchmark or profile claims about performance.
The workflow adjusts to the project, audience, tools, and risk while preserving the same quality standard.
Build HTTP or RPC handlers, middleware, clients, persistence, authentication, telemetry, and graceful shutdown.
Create composable commands, flags, configuration, input and output contracts, errors, and distributable binaries.
Design focused package APIs, interfaces, compatibility, examples, documentation, tests, and module releases.
Implement bounded queues, worker pools, cancellation, retries, backpressure, synchronization, and clean termination.
Start with one defined outcome and provide the source material, constraints, and checks that matter.
These skills are designed for people who need dependable go development work with a visible process.
Build services, tools, packages, tests, and concurrent systems with idiomatic project conventions.
Develop small deployable services with explicit errors, lifecycle control, observability, and performance checks.
Create operators, controllers, CLIs, agents, automation, and infrastructure tooling in Go.
Understand modules, packages, interfaces, errors, goroutines, channels, context, tests, and standard tooling.
The skills assist Go development but cannot guarantee race-free, secure, or production-ready behavior without review, representative tests, load checks, observability, and operational validation.
Install the complete skill folder and add the project-specific context before beginning.
Keep SKILL.md with idiom, concurrency, testing, performance, and service guidance.
Use project scope for one module's architecture, or personal scope for reusable Go practices.
Provide Go version, module layout, supported platforms, build tags, generated files, dependencies, and compatibility promises.
Add formatting, tests, vet, race, lint, benchmark, integration, build, and release commands used by the project.
Practical answers about capabilities, limits, setup, and review.
Golang is a common search term. The page uses Go as the language name within the technical content.
Yes. They can work with the standard library or the framework already used in the repository.
Yes. The workflow emphasizes ownership, cancellation, bounded work, backpressure, synchronization, shutdown, and race testing.
Yes. They can create table-driven unit tests, integration tests, benchmarks, fuzz tests, and race-focused checks where appropriate.
They can benchmark and profile before changing code, then verify allocation, CPU, memory, latency, and concurrency effects.
Clear context. Purposeful work. Relevant checks. A result others can understand.