Skip to content

tresic-cloud/go-expert-skill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Go Expert Skill

Expert guidance for Go (Golang) development following industry best practices.

Overview

This skill extends Claude and other AI coding agents with comprehensive Go expertise, including:

  • Project Layout — Standard Go project structure
  • Application Bootstrap — Minimal main(), Application struct pattern
  • Tooling Gates — gofmt, golangci-lint, govulncheck configuration
  • Health Endpoints — Kubernetes-compatible /healthz and /readyz
  • Observability — Structured logging, Prometheus metrics, OpenTelemetry tracing
  • Error Handling — Wrapping, sentinel errors, errors.Is/As patterns
  • Concurrency — Context propagation, mutex patterns, goroutine safety
  • Testing — Table-driven tests, race detection, build tags

Installation

RooCode

git clone https://github.com/tresic-cloud/go-expert-skill.git
cp -r go-expert-skill ~/.roo/skills/

Claude Code

git clone https://github.com/tresic-cloud/go-expert-skill.git
cp -r go-expert-skill ~/.claude/skills/

Claude.ai / Claude Desktop

  1. Download this repository as a ZIP file
  2. Go to Settings → Capabilities → Skills
  3. Click Upload skill and select the ZIP file

GitHub Copilot

git clone https://github.com/tresic-cloud/go-expert-skill.git
cp -r go-expert-skill .github/skills/

Usage

Just ask Claude naturally—the skill activates automatically when relevant:

Try asking:

  • "Bootstrap a new Go microservice with health endpoints and structured logging"
  • "Review this Go code against our coding standards"
  • "Set up golangci-lint configuration for our project"
  • "Implement graceful shutdown with context cancellation"
  • "Create table-driven tests for this function"
  • "Add OpenTelemetry tracing to this service"
  • "What's wrong with this error handling pattern?"

Requirements

  • Go 1.21+
  • golangci-lint
  • govulncheck

Related Resources

Resource Description
Standard Go Project Layout Community-driven project structure
Effective Go Official Go style guide
Uber Go Style Guide Production Go patterns
Go Code Review Comments Common review feedback

License

MIT

Contributing

Contributions welcome! Please open an issue or PR.

Questions?

Open an issue on GitHub.

About

Expert guidance for Go development - AI coding agent skill

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors