cobra-dev

Official

Develop and debug Cobra internals with confidence.

Authorcarapace-sh
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Developers need a centralized, actionable guide to understand and debug Cobra's internal mechanics, including command resolution, execution flow, and the completion engine, to build robust CLI applications with spf13/cobra.

Core Features & Use Cases

  • Detailed references covering the Command struct, ExecuteC flow, Find vs Traverse, flag set hierarchy, and global state.
  • Insight into shell script generation and shell completion internals across Bash, Zsh, Fish, and PowerShell.
  • Practical guidance for troubleshooting, performance considerations, and extending Cobra internals.

Quick Start

Open this guide and follow the sections on ExecuteC, Find vs Traverse, and the completion engine to quickly understand Cobra's internal flow.

Dependency Matrix

Required Modules

None required

Components

references

💻 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-dev
Download link: https://github.com/carapace-sh/carapace/archive/main.zip#cobra-dev

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 510,000+ vetted skills library on demand.