Hooks banner
marclove marclove

Hooks

Development community

Description

--- name: Git Hooks (Lefthook) description: Configures and maintains Lefthook hooks for format/lint, tests, and commit message generation via llmc. --- # Git Hooks (Lefthook) Responsibilities - Ensure hooks are installed (`pnpm install` triggers prepare) and up to date. - prepare-commit-msg: runs `llmc --no-commit` (or `pnpm dlx llmc`, or `npx llmc`). - commit-msg: enforce Conventional Commits with commitlint.

Installation

Installs to ~/.claude/agents/marclove-typeforge-hooks.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/marclove/typeforge/HEAD/.claude/agents/hooks.md -o ~/.claude/agents/marclove-typeforge-hooks.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository