·standards-golang
</>

standards-golang

maxritter/claude-codepro

应用 Go 开发标准,包括模块管理、go test 测试、gofmt/go vet/golangci-lint 代码质量、惯用错误处理和自记录代码实践。在使用 Go 后端代码、管理依赖项、运行测试或确保代码质量时,请使用此技能。在安装包、编写测试、格式化代码、处理错误、组织导入或决定是否创建新文件还是扩展现有文件时应用。用于任何需要遵守工具标准和最佳实践的 Go 开发任务。

11安装·0热度·@maxritter

安装

$npx skills add https://github.com/maxritter/claude-codepro --skill standards-golang

SKILL.md

Core Rule: Use Go modules for dependencies, go test for testing, gofmt + go vet + golangci-lint for quality. Write idiomatic Go with explicit error handling.

Test file naming: Tests go in test.go files alongside the code they test.

| Packages | lowercase, single word | http, json, user | | Exported | PascalCase | ProcessOrder, UserService | | Unexported | camelCase | processOrder, userService | | Acronyms | ALL CAPS | HTTPServer, XMLParser, ID | | Interfaces | -er suffix (often) | Reader, Writer, Handler |

应用 Go 开发标准,包括模块管理、go test 测试、gofmt/go vet/golangci-lint 代码质量、惯用错误处理和自记录代码实践。在使用 Go 后端代码、管理依赖项、运行测试或确保代码质量时,请使用此技能。在安装包、编写测试、格式化代码、处理错误、组织导入或决定是否创建新文件还是扩展现有文件时应用。用于任何需要遵守工具标准和最佳实践的 Go 开发任务。 来源:maxritter/claude-codepro。

查看原文

可引用信息

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

安装命令
npx skills add https://github.com/maxritter/claude-codepro --skill standards-golang
分类
</>开发工具
认证
收录时间
2026-02-05
更新时间
2026-02-18

快速解答

什么是 standards-golang?

应用 Go 开发标准,包括模块管理、go test 测试、gofmt/go vet/golangci-lint 代码质量、惯用错误处理和自记录代码实践。在使用 Go 后端代码、管理依赖项、运行测试或确保代码质量时,请使用此技能。在安装包、编写测试、格式化代码、处理错误、组织导入或决定是否创建新文件还是扩展现有文件时应用。用于任何需要遵守工具标准和最佳实践的 Go 开发任务。 来源:maxritter/claude-codepro。

如何安装 standards-golang?

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

这个 Skill 的源码在哪?

https://github.com/maxritter/claude-codepro

详情

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