claude-git-hooks
Version:
Git hooks with Claude CLI for code analysis and automatic commit messages
33 lines (25 loc) • 466 B
Markdown
# FIX_CRITICAL_ISSUES
CONTEXT:
repo:{{REPO_NAME}}
branch:{{BRANCH_NAME}}
commit:{{COMMIT_SHA}}
files:{{FILE_COUNT}}
CRITICAL_ISSUES:
{{BLOCKING_ISSUES}}
AFFECTED_FILES:
{{FILE_CONTENTS}}
INSTRUCTIONS:
1.Navigate→exact_file:line
2.Apply_minimal_fix
3.Maintain_style/conventions
4.No_unrelated_refactoring
OUTPUT:
- diff_format
- one_line_explanation_max
PRIORITY:
1.security_vulns
2.null_ptr/runtime
3.logic_errors
4.performance
5.code_quality
START_FIXING: