·go-style-guide
</>

go-style-guide

direktly/agent-skills

Go programming best practices and style guide. This skill should be used when writing, reviewing, or refactoring Go code to ensure optimal performance patterns. Triggers on tasks involving Go code, data structures, concurrency, or performance improvements.

4Installs·0Trend·@direktly

Installation

$npx skills add https://github.com/direktly/agent-skills --skill go-style-guide

SKILL.md

Styles are the conventions that govern our code. The term style is a bit of misnomer, since these conventions cover far more than just source file formatting—gofmt handles that for us.

The goal of this guide is to manage this complexity by describing in detail the Dos and Don'ts of writing Go code at Direkt. These rules exist to keep the code base manageable while still allowing developers to use Go language features productively. Created based on the Uber Go Style Guide.

| 1 | Correctness & Error Handling | CRITICAL | panic.md, error-once.md, error-wrap.md, exit-once.md | | 2 | Concurrency | CRITICAL | goroutine-forget.md, goroutine-exit.md, channel-size.md, atomic.md | | 3 | APIs & Types | HIGH | interface-pointer.md, interface-compliance.md, functional-option.md, struct-tag.md |

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/direktly/agent-skills --skill go-style-guide
Category
</>Dev Tools
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is go-style-guide?

Go programming best practices and style guide. This skill should be used when writing, reviewing, or refactoring Go code to ensure optimal performance patterns. Triggers on tasks involving Go code, data structures, concurrency, or performance improvements. Source: direktly/agent-skills.

How do I install go-style-guide?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/direktly/agent-skills --skill go-style-guide Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/direktly/agent-skills

Details

Category
</>Dev Tools
Source
skills.sh
First Seen
2026-02-01