What problem does it solve?
This Skill addresses inconsistencies in Go development by enforcing repository-specific conventions for API design, documentation, import management, and testing strategies.
Core Features & Use Cases
- API & Documentation Standards: Ensures exported Go packages and types follow established naming, ownership, and GoDoc conventions.
- Import & Dependency Management: Prevents unnecessary import aliasing and enforces correct wrapper-package usage to maintain clean dependency graphs.
- Testing & Benchmarking: Guides the selection of appropriate test harnesses and mandates concrete rationales for adding benchmarks or fuzz tests.
- Use Case: When refactoring a Go package, use this skill to determine whether to add a new helper function or if an existing wrapper package should be extended instead.
Quick Start
Use the go-standards skill to review the proposed changes in the current Go package for adherence to naming and import conventions.