Use when writing conditionals, loops, or switch statements in Go — including if with initialization, early returns, for loop forms, range, switch, type switches, and blank identifier patterns. Also use when writing a simple if/else or for loop, even if the user doesn't mention guard clauses or variable scoping. Does not cover error flow patterns (see go-error-handling).
安装
尚未确认此技能的独立目录。下面命令会打开仓库技能选择器,请按上游说明选择技能。
skills CLI
npx skills add cxuu/golang-skills