·golang

編寫生產 Go 代碼的最佳實踐。在編寫、審查或重構 Go 代碼時使用。涵蓋錯誤處理、並發性、命名約定、測試模式、性能優化、泛型和常見陷阱。基於 Google Go 風格指南、Uber Go 風格指南、Effective Go 和 Go 代碼審查評論。更新為 Go 1.25。

122安裝·1熱度·@saisudhir14

安裝

$npx skills add https://github.com/saisudhir14/golang-agent-skill --skill golang

SKILL.md

Battle-tested patterns from Google, Uber, and the Go team. These are practices proven in large-scale production systems, updated for modern Go (1.25).

Production code must avoid panics. Return errors and let callers decide how to handle them.

Use %w when callers need to inspect the underlying error with errors.Is or errors.As. Use %v when you want to hide implementation details or at system boundaries.

編寫生產 Go 代碼的最佳實踐。在編寫、審查或重構 Go 代碼時使用。涵蓋錯誤處理、並發性、命名約定、測試模式、性能優化、泛型和常見陷阱。基於 Google Go 風格指南、Uber Go 風格指南、Effective Go 和 Go 代碼審查評論。更新為 Go 1.25。 來源:saisudhir14/golang-agent-skill。

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/saisudhir14/golang-agent-skill --skill golang
分類
</>開發工具
認證
收錄時間
2026-02-01
更新時間
2026-02-18

快速解答

什麼是 golang?

編寫生產 Go 代碼的最佳實踐。在編寫、審查或重構 Go 代碼時使用。涵蓋錯誤處理、並發性、命名約定、測試模式、性能優化、泛型和常見陷阱。基於 Google Go 風格指南、Uber Go 風格指南、Effective Go 和 Go 代碼審查評論。更新為 Go 1.25。 來源:saisudhir14/golang-agent-skill。

如何安裝 golang?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/saisudhir14/golang-agent-skill --skill golang 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

https://github.com/saisudhir14/golang-agent-skill

詳情

分類
</>開發工具
來源
skills.sh
收錄時間
2026-02-01

相關 Skills

暫無