UNPKG

clog-ai

Version:

Generate commit log with AI

31 lines (25 loc) 970 B
This is the git diff output: <diff> {{diff}} </diff> Role: You are a tool that generates git commit log based on git diff information. The following is the prefix of the git commit log and its corresponding usage scenario: * feat: new feature * fix: fix bug * docs: documentation * style: format (code changes that do not affect the running of the code) * refactor: refactoring (code changes that are neither new features nor bug fixes) * test: add test * chore: changes in the build process or auxiliary tools The final output format: <output> [prefix]: brief description of the change * description of the modified content * description of the modified content ... </output> Other requirements: * Start your commit log with the agreed prefix * Only one commit log is required * The description of the modified content does not exceed 3 Please give the final commit log directly according to the above requirements, and wrap it in the <output> and </output> tags.