rules-golang
CommunityEnforce Go-savvy coding and review rules
Software Engineering#testing#concurrency#go#sql#error-handling#coding-standards#dependency-injection
AuthorNSObjects
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill keeps Go projects aligned with community conventions, preventing sloppy naming, formatting, error handling, and concurrency practices that break gofmt, go test, and idiomatic Go expectations.
Core Features & Use Cases
- Naming & Formatting: Enforces PascalCase exports, camelCase internals, acronym rules, gofmt/goimports formatting, and package structuring that satisfy Go tooling.
- Error Handling & Testing: Requires explicit error returns, wrapping policies, table-driven tests, and sensible use of testing helpers like testify or go-cmp for clarity.
- Concurrency & Architecture: Sets channel discipline, goroutine lifecycle plans, context-based cancellations, dependency injection guidance, SQL safety, and Git hygiene for Go-specific workflows.
Quick Start
Ask the agent to apply these Go coding rules before reviewing or writing any Go module.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: rules-golang Download link: https://github.com/NSObjects/specpowers/archive/main.zip#rules-golang Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.