From write-go-code
Go code style guide based on Google Go Style Guide, Effective Go, and Code Review Comments. Use when: (1) writing new Go code, (2) reviewing Go code for style compliance, (3) refactoring existing Go code, (4) conducting code reviews. Covers naming, error handling, concurrency, testing, data types, functions, interfaces, code organization, and Cobra CLI command behavior.
How this skill is triggered — by the user, by Claude, or both
Slash command
/write-go-code:write-go-codeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
1. **Clarity over cleverness** - Code should be obvious to readers
references/comprehensive/cobra.mdreferences/comprehensive/code-organization.mdreferences/comprehensive/concurrency.mdreferences/comprehensive/data-types.mdreferences/comprehensive/errors.mdreferences/comprehensive/functions.mdreferences/comprehensive/interfaces.mdreferences/comprehensive/makefile-conventions.mdreferences/comprehensive/naming.mdreferences/comprehensive/testing.mdreferences/essential/checklist.mdmake lint, make fmt or gofmt, goimports)references/essential/checklist.mdreferences/comprehensive/{topic}.mdreferences/comprehensive/cobra.mdQuick reviews (default):
references/essential/checklist.md - Condensed, actionable rulesDeep dives by topic:
references/comprehensive/naming.md - Package names, identifiers, receiversreferences/comprehensive/errors.md - Error handling, panic/recoverreferences/comprehensive/concurrency.md - Goroutines, channels, contextreferences/comprehensive/testing.md - Test quality and patternsreferences/comprehensive/code-organization.md - Imports, packages, structurereferences/comprehensive/data-types.md - new vs make, slices, mapsreferences/comprehensive/functions.md - Multiple returns, deferreferences/comprehensive/interfaces.md - Embedding, type assertionsreferences/comprehensive/makefile-conventions.md - Required CI targets, fmt vs formatreferences/comprehensive/cobra.md - Cobra root command usage templatesCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub cboone/agent-harness-plugins --plugin write-go-code