| name | go-style |
| description | Complete Go style reference for Dedalus. Loads the full guide, decisions, and best practices documents (~7000 lines). Use when writing, reviewing, or refactoring Go code and the rules file doesn't cover the specific pattern. |
| allowed-tools | Read, Grep, Glob |
Go Style — Full Reference
The Go style guide is split across three documents. Read all three before making style judgments.
Documents
-
Guide — Canonical principles (clarity, simplicity, concision, maintainability, consistency). Formatting, MixedCaps, line/file length, naming basics.
-
Decisions — Normative review decisions. File headers, naming (underscores, packages, receivers, constants, initialisms, getters), imports, error handling, documentation, struct tags, testing conventions.
-
Best Practices — Practical patterns. Function/method naming (avoid repetition), test doubles, util packages, package size, imports.
How to Use
Read the relevant document sections for the Go code you're working on. The .agents/rules/go.md file has the essentials loaded automatically. This skill provides the full reference for edge cases and review decisions.
When reviewing Go code, check the Decisions document for the specific convention. When writing new Go code, check Best Practices for the recommended pattern.