commit-helper¶
A working Claude Code plugin that ships:
- A
conventional-commitskill — Claude writes Conventional Commits-style messages from the current diff. - A
PreToolUsehook — blocksgit commitwhen staged files contain obvious secrets (AWS keys, private keys,.envfiles).
Install¶
```bash
Clone this repo anywhere, then point Claude Code at the plugin:¶
claude plugin install /path/to/claude-code-best-practices/plugins/commit-helper ```
Or copy the directory into ~/claude_internal/plugins/commit-helper/ and restart Claude Code.
Verify¶
```bash claude /plugins
Should list "commit-helper v1.0.0"¶
```
Inside Claude, invoke the skill:
text
/conventional-commit
Uninstall¶
bash
claude plugin remove commit-helper
Files¶
plugin.json— manifestskills/conventional-commit/SKILL.md— the skillhooks/block-secret-commits.sh— PreToolUse guard
License¶
MIT