NeVibeCode · 9 items
Hooks for Git and GitHub
Hooks for Git and GitHub: what each one does, an install command and example prompts.
smart-commit hook A Claude hook that commits the changed file right after Edit or Write. Useful when you would rather not build git history by hand.
3,745installs
session-auto-commit
official hook At the end of a GitHub Copilot session, this hook commits changed files and tries to push them to the remote repository. Use it to save session work automatically.
★ 40,451repo stars
secrets-scanner
official hook Scans the files a Copilot coding agent touched during a session for leaked keys and credentials before they get committed. Useful when the agent edits code fast.
★ 40,451repo stars
fix-broken-links
official hook This hook checks links in recently edited web files after GitHub Copilot uses a tool. It helps catch dead URLs and vague link labels before they linger in the project.
★ 40,451repo stars
dependency-license-checker
official hook A GitHub Copilot hook that scans newly added dependencies at session end and flags copyleft licenses before they get committed.
★ 40,451repo stars
conventional-commits hook This hook checks Git commit messages against the Conventional Commits pattern. Use it when commit history needs to support changelogs and semantic versioning.
773installs
validate-branch-name hook A hook that inspects Bash commands before they run and blocks any branch name that falls outside Git Flow.
464installs
worktree-ghostty hook Splits Ghostty into three panes when a worktree is created: Claude on the left, lazygit and yazi on the right. macOS only.
249installs
ai-bash-guard hook An AI agent inspects every bash command before execution, catching destructive patterns like recursive deletes outside /tmp, force pushes to protected branches, database drops, and credential leaks, then blocks them with a reason.
80installs