go-naming
@muratmirgun · 收录于 1 周前
Use when naming any Go identifier — packages, types, functions, methods, receivers, variables, constants, errors, options. Covers MixedCaps, scope-based length, initialism casing, the no-`Get` rule, `-er` interfaces, sentinel `ErrX` vs typed `XError`, and the most commonly missed conventions (constructors, boolean fields, enum zero values, lowercase error strings). Apply proactively whenever new identifiers are introduced, even if the user has not asked about naming.
适合你,如果写 Go 代码时总纠结变量、函数、包名该怎么起。
/ 通过 npx 安装 校验哈希
npx oh-my-skill add muratmirgun/gophers/go-naming/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- muratmirgun/gophers/go-naming/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify muratmirgun/gophers/go-naming安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
8GitHub stars
~1.7K最小装载
~4.6K含声明引用
~4.6K文本包总量
索引托管
评论
登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。
…