go-skills

Standardize Go development practices for the LlamaFarm CLI.

4|5|Updated Feb 4, 2026
One-click install
npx skills add https://github.com/sacenox/Zoea-Nova --skill go-skills-sacenox
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: go-skills
Source: https://github.com/sacenox/Zoea-Nova/tree/main/.opencode/skills/go-skills
Command: npx skills add https://github.com/sacenox/Zoea-Nova --skill go-skills-sacenox

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill codifies idiomatic Go practices for the LlamaFarm CLI, helping teams write cleaner, more reliable, and maintainable Go code.

Core Features & Use Cases

  • Standardized error handling: Promote wrapping with context and the use of sentinel errors to improve diagnosability.
  • Concurrency & synchronization guidance: Safe patterns for mutexes, channels, and goroutine lifecycles to prevent data races.
  • Testing excellence: Table-driven tests, mock interfaces, and clear test structure to improve coverage and reliability.
  • Tooling alignment: Guidelines for Cobra-based commands, TUI components, and internal packages to keep the code cohesive.

Quick Start

Audit the Go modules in the CLI project and implement the recommended patterns: wrap errors, apply idiomatic concurrency, and adopt table-driven tests to align with the Go Skills guidelines.

Frequently Asked Questions about go-skills

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

FAQPage Schema
What is the best way to handle errors in a Go CLI application?

The best way to handle errors in a Go CLI is to wrap them with context and use sentinel errors. This standardized error handling approach improves diagnosability and reliability across your codebase.

How do I prevent data races when using goroutines in Go?

To prevent data races with goroutines in Go, apply safe concurrency patterns using mutexes and channels. Properly managing the goroutine lifecycle ensures synchronization and protects shared data.

How do I structure table-driven tests for Go modules?

Structure table-driven tests for Go modules by defining clear test cases, mocking interfaces, and organizing test logic. This testing convention improves coverage and ensures your functions remain focused and reliable.

Can I use Cobra and Bubble Tea guidelines for my Go CLI project?

Yes, you can use Cobra and Bubble Tea guidelines for your Go CLI project. These tooling alignment standards keep TUI components and internal packages cohesive, ensuring clean and maintainable code.

Why should I adopt coding standards for my Go codebase?

You should adopt coding standards for your Go codebase to enforce structured error handling, small focused functions, and secure input validation. This codification of idiomatic practices improves overall maintainability.