cobra-patterns

14

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.

Marketplace
Also in: linux

Third-Party Agent Skill: Review the code before installing. Agent skills execute in your AI assistant's environment and can access your files. Learn more about security

Installation for Agentic Skill

View all platforms →
skilz install vanman2024/cli-builder/cobra-patterns
skilz install vanman2024/cli-builder/cobra-patterns --agent opencode
skilz install vanman2024/cli-builder/cobra-patterns --agent codex
skilz install vanman2024/cli-builder/cobra-patterns --agent gemini

First time? Install Skilz: pip install skilz

Works with 14 AI coding assistants

Cursor, Aider, Copilot, Windsurf, Qwen, Kimi, and more...

View All Agents
Download Agent Skill ZIP

Extract and copy to ~/.claude/skills/ then restart Claude Desktop

1. Clone the repository:
git clone https://github.com/vanman2024/cli-builder
2. Copy the agent skill directory:
cp -r cli-builder/plugins/cli-builder/skills/cobra-patterns ~/.claude/skills/

Need detailed installation help? Check our platform-specific guides:

Related Agentic Skills

Agentic Skill Details

Repository
cli-builder
Type
Technical
Meta-Domain
cloud infrastructure
Primary Domain
kubernetes
Market Score
14

Report Security Issue

Found a security vulnerability in this agent skill?