home/categories/debugging/dkoosis-cc-plugins-plugins-go-lintbrush-skills-complexity-reduction-skill-md
debuggingtools

go-complexity-reduction

This skill should be used when the user asks about "gocyclo", "funlen", "cyclop", "nestif", "cognitive complexity", "refactor long function", "reduce nesting", "complexity reduction", or needs guidance on simplifying complex Go code. Provides patterns and techniques for reducing Go code complexity while preserving behavior.

dkoosis
maintainer
dkoosis
更新于 1/3/2026
星标
0
分支
0
quick start

Installation and usage

This skill should be used when the user asks about "gocyclo", "funlen", "cyclop", "nestif", "cognitive complexity", "refactor long function", "reduce nesting", "complexity reduction", or needs guidance on simplifying complex Go code. Provides patterns and techniques for reducing Go code complexity while preserving behavior.

安装
$ install --globalskills.sh
使用

安装后,您可以通过在终端运行以下命令来使用此技能:

skills use go-complexity-reduction