Skip to main content
在 Manus 中运行任何 Skill
一键导入

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.

概览

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.

安装命令
npx skills add https://github.com/vanman2024/cli-builder --skill cobra-patterns

复制此命令并粘贴到 Claude Code 中以安装该技能

星标0
分支0
更新时间2025年11月11日 07:10
文件资源管理器
13 个文件
SKILL.md
readonly