Skip to main content
Run any Skill in Manus
with one click

cobra-patterns

Production-ready Cobra CLI patterns including command structure, flags (local and persistent), nested commands, PreRun/PostRun hooks, argument validation, and initialization patterns used by kubectl and hugo. Use when building Go CLIs, implementing Cobra commands, creating nested command structures, managing flags, validating arguments, or when user mentions Cobra, CLI development, command-line tools, kubectl patterns, or Go CLI frameworks.

Overview

Production-ready Cobra CLI patterns including command structure, flags (local and persistent), nested commands, PreRun/PostRun hooks, argument validation, and initialization patterns used by kubectl and hugo. Use when building Go CLIs, implementing Cobra commands, creating nested command structures, managing flags, validating arguments, or when user mentions Cobra, CLI development, command-line tools, kubectl patterns, or Go CLI frameworks.

Install command
npx skills add https://github.com/vanman2024/cli-builder --skill cobra-patterns

Copy and paste this command into Claude Code to install the skill

Stars0
Forks0
UpdatedNovember 11, 2025 at 07:10
File Explorer
13 files
SKILL.md
readonly