go

Enforce Go-specific craft guidelines for error handling, concurrency, and interface design.

Updated Apr 27, 2026
One-click install
npx skills add https://github.com/nokusukun/sublime --skill go-nokusukun
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: go
Source: https://github.com/nokusukun/sublime/tree/main/languages/go
Command: npx skills add https://github.com/nokusukun/sublime --skill go-nokusukun

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Sublime Go provides Go-specific craft guidance to improve error handling, interface design, concurrency discipline, and resource management in Go code.

Core Features & Use Cases

  • Enforces a Go-specific extension of Sublime code-craft guidelines across error handling, concurrency, interface design, and resource management.
  • Assists writing, reviewing, and refactoring Go code in net/http services, gRPC, CLI tools, and systems programming contexts.
  • Supplies contextual prompts and best practices to maintain robust, idiomatic Go code.

Quick Start

Load this Skill in a Go project to activate craft rules and context-aware guidance.

Frequently Asked Questions about go

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

FAQPage Schema
How do I wrap errors in Go correctly when refactoring a net/http service?

To wrap errors in Go correctly, use the %w verb with fmt.Errorf to preserve the original error chain. This craft guidance enforces this wrapping standard during refactoring to maintain robust error handling across net/http services.

What is the best way to manage bounded concurrency in golang code?

The best way to manage bounded concurrency in golang is by using the errgroup package. This craft guidance enforces bounded concurrency with errgroup, preventing goroutine leaks and ensuring safe concurrent execution.

How do I avoid naked returns and improve code quality in my Go CLI tools?

To avoid naked returns and improve code quality in Go CLI tools, enforce explicit return statements for clarity. This guidance identifies naked returns during code reviews and refactors them to enhance overall readability.

Can I use this to enforce Go interface design and resource cleanup in gRPC projects?

Yes, you can use this to enforce Go interface design and resource cleanup in gRPC projects. It provides specific craft guidance for gRPC contexts, ensuring proper resource management and idiomatic interface segregation.

Why should I avoid context misuse in golang systems programming?

You should avoid context misuse in golang systems programming to prevent canceled operations from running indefinitely and blocking resources. This guidance enforces context discipline to maintain reliable systems code.