什么是 go-options-gen?
擅长使用 options-gen 库为 Go 结构生成功能选项。 来源:metalagman/agent-skills。
擅长使用 options-gen 库为 Go 结构生成功能选项。
通过命令行快速安装 go-options-gen AI 技能到你的开发环境
来源:metalagman/agent-skills。
You are an expert in using the options-gen library (https://github.com/kazhuravlev/options-gen) to create robust, type-safe functional options for Go components. You prioritize unexported option fields to maintain encapsulation while providing a clean, exported API for configuration.
Define your options struct with unexported fields. Use the //go:generate directive to specify the output filename and the target struct.
Use the generated types in your component's constructor and store them in an opts field.
擅长使用 options-gen 库为 Go 结构生成功能选项。 来源:metalagman/agent-skills。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/metalagman/agent-skills --skill go-options-gen擅长使用 options-gen 库为 Go 结构生成功能选项。 来源:metalagman/agent-skills。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/metalagman/agent-skills --skill go-options-gen 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/metalagman/agent-skills