go-expert

Review and refactor Go code to align with idiomatic practices.

Updated Feb 13, 2026
One-click install
npx skills add https://github.com/mikeboe/research-helper --skill go-expert-mikeboe
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: go-expert
Source: https://github.com/mikeboe/research-helper/tree/main/.opencode/skills/go
Command: npx skills add https://github.com/mikeboe/research-helper --skill go-expert-mikeboe

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the frustration of writing non-idiomatic, inconsistent Go code that fails to meet community standards, reducing maintainability issues, collaboration friction, and avoidable bugs in Go projects.

Core Features & Use Cases

  • Comprehensive Go Best Practices: Provides detailed guidelines for code style, naming conventions, error handling, concurrency, and project structure aligned with official Go resources like Effective Go and Google's Go Style Guide.
  • Version-Specific Rules: Includes tailored instructions for different Go versions, such as WaitGroup usage patterns and ServeMux routing differences.
  • Use Case: Use this Skill when developing or refactoring the research-helper CLI to ensure your Go code is consistent, readable, and follows industry-accepted norms.

Quick Start

Use the go-expert skill to review and refactor the Go code in the research-helper project to align with idiomatic Go practices.

Frequently Asked Questions about go-expert

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

FAQPage Schema
What is idiomatic Go code and why does it matter for maintainability?

Idiomatic Go code adheres to official style guides and Effective Go recommendations, ensuring consistency and readability. This reduces maintainability issues and collaboration friction for Go development teams.

How do I handle errors in Go following best practices?

Error handling in Go best practices involves applying community-accepted patterns for wrapping, checking, and returning errors. This eliminates non-idiomatic code and avoidable bugs in Go projects.

Does this Skill provide guidelines for Go concurrency and project structure?

Yes, the Skill provides detailed guidelines for Go concurrency, project structure, and naming conventions. It includes version-specific rules for WaitGroup usage and ServeMux routing differences.

Can I use this for refactoring existing Go code in web services?

Yes, you can use this Skill to refactor Go code in web services, CLI tools, and libraries. It aligns your existing code with Google's Go Style Guide and community-accepted best practices.

What's the best way to review Go code for style guide compliance?

The best way to review Go code for style guide compliance is to apply guidelines for naming conventions, error handling, and dependency management. This ensures code meets official Go resources standards.