生成 Git hooks 脚本,自动格式化代码、检查 lint、运行测试等。
---
name: git-hooks-generator
description: 生成 Git hooks 脚本,自动格式化代码、检查 lint、运行测试等。
metadata: {"clawdbot":{"emoji":"🪝","requires":{},"primaryEnv":""}}
---
# Git Hooks Generator
自动生成 Git hooks,提升开发效率。
## 功能
- ✅ pre-commit 格式化
- ✅ commit-msg 规范检查
- ✅ pre-push 测试检查
- ✅ 多种语言支持
## 使用方法
```bash
git-hooks-generator init
git-hooks-generator add --hook pre-commit --type lint
```
don't have the plugin yet? install it then click "run inline in claude" again.