🐹
QualityJavaScript

Go Idioms

by rohitg00

Go Idioms is a Quality skill for Claude Code, published by rohitg00 in awesome-claude-code-toolkit.

2.5K stars898 forkson rohitg00/awesome-claude-code-toolkitAdded 2026/08/18+1% in starsRepository updated 2026/05/12
claudeclaude-codeclaudecodeclaudecode-hookspluginsskills
Install in seconds
Install Go Idioms
Copy Go Idioms into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/rohitg00/awesome-claude-code-toolkit/tree/main/skills/golang-idioms ~/.claude/skills/golang-idioms

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/rohitg00/awesome-claude-code-toolkit.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/golang-idioms/SKILL.md in rohitg00/awesome-claude-code-toolkit
Installs to
~/.claude/skills/golang-idioms
Collection
One of 25 skills cataloged from this repository
Category
Quality1354 skills

What Go Idioms does

Go Idioms provides idiomatic Go patterns for error handling, interfaces, concurrency, testing, and module management. Use it when writing or reviewing Go code to apply best practices.

Go Idioms is cataloged under Quality on DirSkills. Go Idioms comes from a repository tagged claude, claude-code, claudecode, claudecode-hooks and plugins.

Documentation

README

Go Idioms

Error Handling

// Return errors, never panic in library code
func LoadConfig(path string) (Config, error) {
    data, err := os.ReadFile(path)
    if err != nil {
        return Config{}, fmt.Errorf("reading config %s: %w", path, err)
    }

    var cfg Config
    if err := json.Unmarshal(data, &cfg); err != nil {
        return Config{}, fmt.Errorf("parsing config: %w", err)
    }

    return cfg, nil
}

Rules:

  • Always wrap errors with context using fmt.Errorf("context: %w", err)
  • Use %w to allow callers to use errors.Is and errors.As
  • Handle errors at the appropriate level; do not log and return the same error
  • Define sentinel errors for expected conditions

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Go Idioms

  • What else does rohitg00 publish alongside Go Idioms?

    Go Idioms is one of 25 skills that DirSkills catalogs from rohitg00/awesome-claude-code-toolkit, the repository it ships in. Its siblings there include API Design Patterns, AWS Cloud Patterns and Accessibility. Each one is a separate skill with its own page in this directory, installs the same way Go Idioms does, and is maintained by rohitg00 in that same repository. The rest of the collection is listed on the rohitg00/awesome-claude-code-toolkit page.

  • How does Go Idioms compare to other Quality skills?

    Go Idioms ranks #506 by stars among the 1354 Quality skills in this catalog. The most-starred ones next to it are Benchmark, Benchmark Optimization Loop and API Design Patterns. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Go Idioms against them. Open each page to compare what they document and how they install.

More from rohitg00/awesome-claude-code-toolkit

Go Idioms is one of 25 skills cataloged on DirSkills from rohitg00/awesome-claude-code-toolkit.

See all 25 skills
🌐
2w ago

API Design Patterns

API Design Patterns provides guidelines for designing REST APIs, including resource naming, HTTP methods, status codes, pagination, versioning, and OpenAPI spec generation. Use it when building or reviewing API endpoints to ensure consistency and best practices.
Quality
2.5K898
☁️
2w ago

AWS Cloud Patterns

AWS Cloud Patterns provides reusable patterns for building serverless applications with Lambda, DynamoDB, S3, and CDK/Terraform. Use it when designing infrastructure as code or implementing Lambda functions and DynamoDB single-table designs.
DevOps
2.5K898
2w ago

Accessibility

Accessibility provides web accessibility patterns for WCAG 2.2 compliance, including ARIA, keyboard navigation, screen readers, and testing.
Frontend
2.5K898
🧭
2w ago

AgentKit SEO

AgentKit SEO routes broad or ambiguous digital-presence work to the right specialized module while keeping context scoped. Use it when a request spans LinkedIn, GitHub, CV/ATS, portfolio, or X/Twitter surfaces, or when the correct platform skill is unclear.
SEO
2.5K898
🔐
2w ago

Authentication Patterns

Authentication Patterns provides reusable patterns for JWT access/refresh tokens, OAuth2 PKCE, and RBAC authorization. Use it when building or reviewing authentication and authorization flows to avoid common security anti-patterns.
DevOps
2.5K898
🚀
2w ago

CI/CD Pipelines

CI/CD Pipelines provides reusable CI/CD pipeline configurations for GitHub Actions and GitLab CI, covering testing strategies and deployment automation. Use it when setting up or refining build, test, and deploy workflows.
DevOps
2.5K898