go-coding-standards

Enforce Go idioms and project-specific coding standards for new code and reviews.

Updated Feb 18, 2026
One-click install
npx skills add https://github.com/riddopic/cc-tools --skill go-coding-standards-riddopic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: go-coding-standards
Source: https://github.com/riddopic/cc-tools/tree/main/.claude/skills/go-coding-standards
Command: npx skills add https://github.com/riddopic/cc-tools --skill go-coding-standards-riddopic

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill ensures that Go code adheres to established idioms, project-specific coding standards, and best practices, leading to more maintainable, readable, and robust codebases.

Core Features & Use Cases

  • Idiomatic Go: Enforces core Go principles like error handling, interface design, and struct patterns.
  • Code Quality: Provides guidelines for function length, receiver consistency, and memory optimization.
  • Decision Framework: Applies the LEVER framework (Leverage, Extend, Verify, Eliminate, Reduce) for new code development.
  • Use Case: When writing new Go functions, consult this Skill to ensure they follow best practices for error wrapping, use functional options for structs, and adhere to the LEVER decision-making process.

Quick Start

Review the Go coding standards for applying interfaces and handling errors.

Frequently Asked Questions about go-coding-standards

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What are the best practices for error handling in Go?

Idiomatic Go struct configuration uses functional options for flexible initialization. This Skill enforces applying functional options patterns to ensure struct configuration adheres to project-specific coding standards.

How do I apply interfaces correctly in Golang?

Idiomatic Go struct configuration uses functional options for flexible initialization. This Skill enforces applying functional options patterns to ensure struct configuration adheres to project-specific coding standards.

What is the LEVER framework for Go development?

Idiomatic Go struct configuration uses functional options for flexible initialization. This Skill enforces applying functional options patterns to ensure struct configuration adheres to project-specific coding standards.

How do I review existing Go code for coding standards compliance?

Reviewing existing Go code for standards compliance involves checking explicit error handling, receiver consistency, and interface design. This Skill enforces these project-specific coding standards during code review.

Can I use functional options for struct configuration in Go?

Idiomatic Go struct configuration uses functional options for flexible initialization. This Skill enforces applying functional options patterns to ensure struct configuration adheres to project-specific coding standards.