Use when working with zsh shell internals — completion system (compsys), compinit, compdef, compadd, _describe, _arguments, _alternative, _values, _multi_parts, _sep_parts, _regex_arguments, zstyle, matcher specification, tag system, ZLE widgets, keymaps, bindkey, compstate, quoting, parameter expansion, globbing, startup files, fpath, autoload, or compinstall. Triggers on: "zsh", "zsh completion", "zsh compinit", "zsh compdef", "zsh compadd", "zsh _describe", "zsh _arguments", "zsh zstyle", "zsh matcher", "zsh ZLE", "zsh widget", "zsh bindkey", "zsh compstate", "zsh quoting", "zsh expansion", "zsh globbing", "zsh startup", "zsh fpath", "zsh autoload", "zsh compinstall", "zsh list-colors", "zsh tag-order", "zsh group-name", "zsh menu-select", "zsh menu-complete", "curcontext", "words", "CURRENT", "PREFIX", "SUFFIX", "compquote", "comptilde", "compset", "zpty", "capture completion", "compadd override", "compprefuncs", "comppostfuncs".
Use when creating a compound skill — a structured knowledge base for a project or topic that uses a SKILL.md routing table and reference documents. Covers the research phase, topic decomposition, SKILL.md frontmatter and routing table format, reference document structure, cross-referencing, and maintenance. Triggers on: "compound skill", "create skill", "write skill", "skill template", "skill structure", "routing table", "reference document", "skill authoring", "skill creation guide".
Use when developing or debugging spf13/cobra internals — Command struct internals, ExecuteC dispatch, Find vs Traverse, flag set hierarchy, completion engine (__complete, getCompletions, ShellCompDirective), shell script generation (bash V1/V2, zsh, fish, powershell), flag group validation, global state, Levenshtein suggestions, or understanding the internal execution model. Triggers on: "cobra internals", "cobra ExecuteC", "cobra Find", "cobra Traverse", "cobra findNext", "cobra mergePersistentFlags", "cobra ParseFlags", "cobra getCompletions", "cobra __complete", "cobra completion engine", "cobra bash V2", "cobra flag resolution", "cobra flag groups internals", "cobra global state", "cobra EnablePrefixMatching", "cobra EnableCaseInsensitive", "cobra Levenshtein", "cobra stripFlags", "cobra legacyArgs", "cobra execute", "cobra preRun", "cobra postRun", "cobra mousetrap", "cobra templateFuncs".