golang-style
CommunityEnforce Go coding standards.
Authorczyt
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill ensures Go code adheres to best practices, improving code quality, maintainability, and consistency across projects.
Core Features & Use Cases
- Happy Path Coding: Structures code for clear, linear execution flow.
- Error Handling: Enforces context-aware error wrapping and the use of sentinel errors.
- Documentation: Promotes godoc-style comments for all functions and types.
- Naming Conventions: Prevents shadowing of Go's predeclared identifiers.
- Line Length: Enforces a maximum line length for readability.
- Use Case: When writing new Go functions or refactoring existing ones, this skill will guide you to implement them according to established Go idioms.
Quick Start
Apply the golang-style skill to review and refactor the provided Go code snippet for adherence to best practices.
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: golang-style Download link: https://github.com/czyt/claude-skills/archive/main.zip#golang-style 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 223,000+ vetted skills library on demand.