way-go-style

Installation
SKILL.md

Way Go Style

Project Setup (AGENTS.md)

Go projects MUST include this skill's Way Specific Conventions in their AGENTS.md file to ensure compliance.

  1. Reference this skill: Under "Local Skills".
  2. Copy Conventions: Copy the Way Specific Conventions section below into AGENTS.md under "Key Conventions".

Way Specific Conventions

  • Testing: Use standard testing and github.com/google/go-cmp/cmp only. No frameworks (Testify, Ginkgo, etc.).
  • Linting: Run GolangCI-Lint v2. Configure via project-specific .golangci.yml.
  • Build: Use way-magefile skill.
  • Encore: Use encore-go-* skills. Encore conventions (e.g., globals) take precedence.

Overview

This skill provides a condensed reference for writing high-quality Go code, synthesizing advice from "Effective Go", Google's "Code Review Comments", and other authoritative sources. It focuses on idiomatic usage, correctness, and maintainability.

Related skills
Installs
18
GitHub Stars
3
First Seen
Feb 2, 2026