standards-golang
✓應用 Go 開發標準,包括模塊管理、go test 測試、gofmt/go vet/golangci-lint 代碼質量、慣用錯誤處理和自記錄代碼實踐。在使用 Go 後端代碼、管理依賴項、運行測試或確保代碼質量時,請使用此技能。在安裝包、編寫測試、格式化代碼、處理錯誤、組織導入或決定是否創建新文件還是擴展現有文件時應用。用於任何需要遵守工具標準和最佳實踐的 Go 開發任務。
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