writing-go

Community

Idiomatic Go with stdlib-first guidance.

AuthorDalvinCodes
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This guidance helps development teams write idiomatic Go code following Go 1.25+ patterns, focusing on concrete types, robust error handling, and minimal dependencies to improve readability and maintainability.

Core Features & Use Cases

  • Private interfaces at the consumer to decouple implementations and simplify testing.
  • Flat control flow with early returns and guard clauses to reduce nesting.
  • Emphasis on concrete types over interface{} and effective use of generics where appropriate.
  • Clear error handling with context wrapping and use of errors.Is / errors.As.

Quick Start

Begin by applying the Go idiomatic patterns to a sample function and produce a clean, maintainable implementation.

Dependency Matrix

Required Modules

None required

Components

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: writing-go
Download link: https://github.com/DalvinCodes/ai-skills/archive/main.zip#writing-go

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.