Lightlines
By samber

golang-spf13-cobra

samber33.5k installs

Build Go command-line tools that are easy to test.

What it does

Guides the creation, extension, and review of Go command-line tools with Cobra, emphasizing error handling and testable commands.

When to use it

Use when adopting or working with spf13/cobra, including codebases that import github.com/spf13/cobra.

How to use it

It changes how the agent builds, extends, and reviews Go command-line tools by prescribing command structure, hooks, and validation practices.

What you provide

  • An existing project

Uses

Good to know

  • cannot be undone: GitHub

Latest review

What you need · 1

The metadata requires the go binary; no version is specified.


Access · 1

This skill

GitHub

Write

Posts Cobra issues on GitHub (irreversible)