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).
# Clone this repo anywhere, then point Claude Code at the plugin:
claude plugin install /path/to/claude-code-best-practices/plugins/commit-helperOr copy the directory into ~/.claude/plugins/commit-helper/ and restart Claude Code.
claude /plugins
# Should list "commit-helper v1.0.0"Inside Claude, invoke the skill:
/conventional-commit
claude plugin remove commit-helperplugin.json— manifestskills/conventional-commit/SKILL.md— the skillhooks/block-secret-commits.sh— PreToolUse guard
MIT