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.