·go-code-review
</>

go-code-review

existential-birds/beagle

檢查 Go 代碼的慣用模式、錯誤處理、並發安全性和常見錯誤。在檢查 .go 文件、檢查錯誤處理、goroutine 使用或界面設計時使用。

72安裝·1熱度·@existential-birds

安裝

$npx skills add https://github.com/existential-birds/beagle --skill go-code-review

SKILL.md

| Missing error checks, wrapped errors | references/error-handling.md | | Race conditions, channel misuse | references/concurrency.md | | Interface pollution, naming | references/interfaces.md | | Resource leaks, defer misuse | references/common-mistakes.md |

These patterns are acceptable and should NOT be flagged as issues:

| Missing error check | Error return is actionable (can retry, log, or propagate) | | Goroutine leak | No context cancellation path exists for the goroutine | | Missing defer | Resource isn't explicitly closed before next acquisition or return | | Interface pollution | Interface has > 1 method AND only one consumer exists |

檢查 Go 代碼的慣用模式、錯誤處理、並發安全性和常見錯誤。在檢查 .go 文件、檢查錯誤處理、goroutine 使用或界面設計時使用。 來源:existential-birds/beagle。

查看原文

可引用資訊

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

安裝指令
npx skills add https://github.com/existential-birds/beagle --skill go-code-review
分類
</>開發工具
認證
收錄時間
2026-02-01
更新時間
2026-02-18

快速解答

什麼是 go-code-review?

檢查 Go 代碼的慣用模式、錯誤處理、並發安全性和常見錯誤。在檢查 .go 文件、檢查錯誤處理、goroutine 使用或界面設計時使用。 來源:existential-birds/beagle。

如何安裝 go-code-review?

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

這個 Skill 的原始碼在哪?

https://github.com/existential-birds/beagle