UNPKG

claude-git-hooks

Version:

Git hooks with Claude CLI for code analysis and automatic commit messages

25 lines (18 loc) 577 B
Analyze the following changes and generate a commit message following the Conventional Commits format. Respond ONLY with a valid JSON: ```json { "type": "feat|fix|docs|style|refactor|test|chore|ci|perf", "scope": "optional scope (e.g.: api, frontend, db)", "title": "short description in present tense (max 50 chars)", "body": "optional detailed description" } ``` ## CHANGES TO ANALYZE ### Modified files: {{FILE_LIST}} ### Summary of changes: Files changed: {{FILE_COUNT}} Insertions: {{INSERTIONS}}, Deletions: {{DELETIONS}} ### Detailed diffs: {{FILE_DIFFS}}