cobra

Community

Build Go CLI apps with confidence.

Authorrigerc
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill simplifies the creation, explanation, and debugging of command-line applications in Go, leveraging the powerful Cobra framework.

Core Features & Use Cases

  • CLI Generation: Quickly scaffold new CLI applications with Cobra.
  • Command & Flag Management: Define commands, subcommands, and flags (local, persistent, required, grouped).
  • Argument Validation: Ensure correct input with built-in and custom argument validators.
  • Shell Completions: Implement dynamic and static shell completions for enhanced user experience.
  • Use Case: You need to build a new CLI tool for managing cloud resources. Use this Skill to generate the basic structure, define commands like create, get, delete, and implement flag validation and shell autocompletion.

Quick Start

Use the cobra skill to generate a new Go CLI application named 'mycli'.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cobra
Download link: https://github.com/rigerc/bubbletea-v2-scaffold/archive/main.zip#cobra

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.