Commit Message Generator
When the user asks to generate a commit message or when you are preparing a commit, you MUST follow the format below exactly.
Output Structure
Return the commit message as shown:
<Short Summary of the Commit starting with ##>
<Absolute Path to File 1>
- <Specific change in File 1>
- <Another specific change in File 1>
<Absolute Path to File 2>
- <Specific change in File 2>
Guidelines
- Header: The first line must be the commit summary, starting with
##.
- File Paths: Use the file path for each file that was modified.
- Changes: Under each file path, list the changes made to that file using a bullet point
-.
- Grouping: Group all changes by their respective files.
Examples
Please refer to the examples/ directory for concrete usage examples.