·go-write
</>

go-write

编写 Go 代码的模式和约定。涵盖 API 设计、错误处理、并发、接口、安全、性能、命名、测试、功能选项、日志记录和确定性模拟测试。

4安装·0热度·@stuckinforloop

安装

$npx skills add https://github.com/stuckinforloop/harness --skill go-write

如何安装 go-write

通过命令行快速安装 go-write AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/stuckinforloop/harness --skill go-write
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:stuckinforloop/harness。

SKILL.md

查看原文

| api-design | Export permanence, signature immutability, parameter objects, result objects | | errors | Handle-once, sentinel/structured/opaque strategy, wrapping, naming | | interfaces | Small interfaces, compile-time checks, consumer-side, upcasting, driver pattern |

| concurrency | Mutex placement, channel sizing, goroutine lifecycle, context cancellation | | worker-pools | Channel-based pools, context cancellation, WaitGroup shutdown | | safety | Defer cleanup, type assertions, no panic, copy at boundaries | | performance | strconv over fmt, pre-allocation, strings.Builder |

| naming | Package naming, unexported global prefix, import aliases, receiver names | | declarations | Short declarations, nil slices, zero-value structs, field names | | organization | Import grouping, function ordering, early returns, line length | | testing | Table-driven tests, subtests, testify, go.uber.org/goleak |

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/stuckinforloop/harness --skill go-write
分类
</>开发工具
认证
收录时间
2026-02-25
更新时间
2026-03-10

Browse more skills from stuckinforloop/harness

快速解答

什么是 go-write?

编写 Go 代码的模式和约定。涵盖 API 设计、错误处理、并发、接口、安全、性能、命名、测试、功能选项、日志记录和确定性模拟测试。 来源:stuckinforloop/harness。

如何安装 go-write?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/stuckinforloop/harness --skill go-write 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/stuckinforloop/harness

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-25