go-review
✓用于审查 Go 代码的清单和反模式。涵盖 API 设计、错误处理、并发、接口、安全、性能、命名、测试、功能选项、日志记录和确定性模拟测试。
SKILL.md
| api-design | Export audit, signature evolution, parameter/result object usage | | errors | Log-and-return, missing %w, strategy consistency, sentinel/structured misuse | | interfaces | Compile-time checks, bloat detection, pointer-to-interface, driver pattern | | concurrency | Embedded mutexes, goroutine leaks, WaitGroup races, unbounded spawning |
| safety | Bare type assertions, missing defer, panic in library, boundary copies | | performance | fmt.Sprint for conversions, missing pre-allocation, string concatenation | | code-style | Naming, declarations, organization — combined style checks | | testing | Table-driven tests, assert vs require, bloated tables, goleak |
| functional-options | Exposed options struct, missing defaults, missing WithX | | logging | fmt.Sprintf in logs, wrong level, raw structs, global logger in library | | deterministic-simulation-testing | Direct time/rand/os calls, non-deterministic maps, missing seed logging, over-abstracted DST |
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/stuckinforloop/harness --skill go-review- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-11
- 更新时间
- 2026-02-18
快速解答
什么是 go-review?
用于审查 Go 代码的清单和反模式。涵盖 API 设计、错误处理、并发、接口、安全、性能、命名、测试、功能选项、日志记录和确定性模拟测试。 来源:stuckinforloop/harness。
如何安装 go-review?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/stuckinforloop/harness --skill go-review 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/stuckinforloop/harness
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-11