·git-hooks
</>

git-hooks

autumnsgrove/groveengine

設置和配置 Git 預提交掛鉤以實現代碼質量、機密掃描和提交消息驗證。在安裝 git hooks、配置預提交檢查或強制執行代碼標準時使用。

5安裝·2熱度·@autumnsgrove

安裝

$npx skills add https://github.com/autumnsgrove/groveengine --skill git-hooks

SKILL.md

| commit-msg | Validates conventional commit format | | pre-commit-secrets-scanner | Prevents leaked API keys/secrets |

| pre-commit-python | Python | Black, Ruff | | pre-commit-javascript | JS/TS | Prettier, ESLint, TypeScript | | pre-commit-go | Go | gofmt, go vet | | pre-commit-multi-language | Mixed | Auto-detects and runs appropriate tools |

| pre-push | Runs tests before push | | post-checkout | Auto-updates dependencies on branch switch | | post-commit | Shows commit summary and TODOs |

設置和配置 Git 預提交掛鉤以實現代碼質量、機密掃描和提交消息驗證。在安裝 git hooks、配置預提交檢查或強制執行代碼標準時使用。 來源:autumnsgrove/groveengine。

查看原文

可引用資訊

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

安裝指令
npx skills add https://github.com/autumnsgrove/groveengine --skill git-hooks
分類
</>開發工具
認證
收錄時間
2026-02-05
更新時間
2026-02-18

快速解答

什麼是 git-hooks?

設置和配置 Git 預提交掛鉤以實現代碼質量、機密掃描和提交消息驗證。在安裝 git hooks、配置預提交檢查或強制執行代碼標準時使用。 來源:autumnsgrove/groveengine。

如何安裝 git-hooks?

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

這個 Skill 的原始碼在哪?

https://github.com/autumnsgrove/groveengine