Use the experimental Code Review feature
mainThe codeReview feature performs an automated code review before generating the commit message.
CAUTION: This is an experimental feature. It significantly increases processing time, token consumption, and cost.
To enable it:
aicommit2 config set codeReview=trueYou can also specify a custom prompt for the review using codeReviewPromptPath.
aicommit2 config set codeReview=true
aicommit2 config set codeReviewPromptPath="/path/to/user/prompt.txt"