Uber Go Style

🌐Community
by ferhatelmas · vlatest · Repository

Generates Go code snippets adhering to Uber's style guide, ensuring consistency and readability for projects.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add uber-go-style npx -- -y @trustedskills/uber-go-style
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "uber-go-style": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/uber-go-style"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

The uber-go-style skill provides a consistent and idiomatic Go code style. It ensures adherence to established conventions, improving readability and maintainability of generated code. This includes formatting, naming, and overall structure aligned with standard Go practices.

When to use it

  • Generating new Go microservices or backend applications.
  • Refactoring existing Go codebases to improve consistency.
  • Creating command-line tools where a clean and standardized style is desired.
  • When collaborating on Go projects requiring shared coding standards.
  • For educational purposes, demonstrating best practices in Go development.

Key capabilities

  • Consistent formatting (indentation, line breaks)
  • Idiomatic naming conventions
  • Adherence to standard Go code structure
  • Improved readability and maintainability of generated code

Example prompts

  • "Generate a function that calculates the factorial of a number in Go."
  • "Write a simple HTTP server handler using Go, following best practices."
  • "Create a struct representing a user with fields for ID, name, and email, formatted according to Go style guidelines."

Tips & gotchas

The skill assumes familiarity with basic Go syntax. While it enforces style, it doesn't handle complex logic or error handling; those aspects still require careful prompting.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
ferhatelmas
Installs
2

🌐 Community

Passed automated security scans.