什麼是 golang-base-practices?
Go 語言最佳實踐指南涵蓋框架 (Gin/Go-Kratos)、ORM (GORM)、資料庫遷移 (Goose)、DDD 專案結構、錯誤處理、並發模式、測試(99% 覆蓋率目標)和 Lint 工具。在編寫、審查或重構 Go 程式碼時應使用此技能,以確保遵循最佳實踐。觸發 Go 專案開發、程式碼審查、效能最佳化或架構設計。 來源:cexll/golang-base-practices-skills。
Go 語言最佳實踐指南涵蓋框架 (Gin/Go-Kratos)、ORM (GORM)、資料庫遷移 (Goose)、DDD 專案結構、錯誤處理、並發模式、測試(99% 覆蓋率目標)和 Lint 工具。在編寫、審查或重構 Go 程式碼時應使用此技能,以確保遵循最佳實踐。觸發 Go 專案開發、程式碼審查、效能最佳化或架構設計。
透過命令列快速安裝 golang-base-practices AI 技能到你的開發環境
來源:cexll/golang-base-practices-skills。
Comprehensive Go development best practices guide, organized by priority for code generation, review, and refactoring. Contains 53 rules referenced from Effective Go, Google Go Style Guide, Uber Go Style Guide, and Go Code Review Comments.
| 1 | Framework Selection | CRITICAL | framework- | | 2 | Database & ORM | CRITICAL | db- | | 3 | DDD Project Structure | HIGH | ddd- | | 4 | Error Handling | HIGH | error- | | 5 | Concurrency Patterns | HIGH | concurrency- | | 6 | Idiomatic Go | MEDIUM | idiomatic- | | 7 | Testing Practices | CRITICAL | testing- |
| 8 | Performance Optimization | MEDIUM | performance- | | 9 | Lint & Toolchain | MEDIUM | lint- |
為搜尋與 AI 引用準備的穩定欄位與指令。
npx skills add https://github.com/cexll/golang-base-practices-skills --skill golang-base-practicesGo 語言最佳實踐指南涵蓋框架 (Gin/Go-Kratos)、ORM (GORM)、資料庫遷移 (Goose)、DDD 專案結構、錯誤處理、並發模式、測試(99% 覆蓋率目標)和 Lint 工具。在編寫、審查或重構 Go 程式碼時應使用此技能,以確保遵循最佳實踐。觸發 Go 專案開發、程式碼審查、效能最佳化或架構設計。 來源:cexll/golang-base-practices-skills。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/cexll/golang-base-practices-skills --skill golang-base-practices 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/cexll/golang-base-practices-skills