Agent Skills: 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.

UncategorizedID: vanman2024/cli-builder/cobra-patterns

Install this agent skill to your local

pnpm dlx add-skill https://github.com/vanman2024/cli-builder/cobra-patterns

Skill Files

Browse the full folder contents for cobra-patterns.

Download Skill

Loading file tree…

Select a file to preview its contents.