Go style

From Kevin-Liu-01/Agent-Machines · View interactive version

Go style is an AI agent skill from the GitHub repository Kevin-Liu-01/Agent-Machines. 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.

How to use this skill

Skill file

Go Style — Full Reference

The Go style guide is split across three documents. Read all three before making style judgments.

Documents

  1. Guide — Canonical principles (clarity, simplicity, concision, maintainability, consistency). Formatting, MixedCaps, line/file length, naming basics.
  1. Decisions — Normative review decisions. File headers, naming (underscores, packages, receivers, constants, initialisms, getters), imports, error handling, documentation, struct tags, testing conventions.
  1. 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.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.