Commit Writer is a Visual Studio Code extension that reads your Git changes and writes a short AI generated commit command into the integrated terminal.
Features
Generates concise commit messages from your current Git diff.
Uses Conventional Commits style, such as fix: escape commit message.
Shows a Generate Commit button in the VS Code status bar when the folder is a Git repository.
Opens the integrated terminal and writes the generated git commit -m "..." command for you to review.
Requirements
Visual Studio Code
Git installed
A workspace folder that is already a Git repository
How to use
Open a Git repository in VS Code.
Make changes to your files.
Click Generate Commit in the status bar.
Commit Writer checks both unstaged and staged changes.
The integrated terminal opens.
The extension writes a generated command like:
git commit -m "fix: update auth token"
Review the message in the terminal.
Press Enter to run it, or edit the message before running it.
Command Palette
You can also run the extension from the Command Palette:
Press Ctrl+Shift+P.
Search for Generate Commit.
Run the command.
Troubleshooting
If Generate Commit does not appear, make sure the current folder has a .git directory.
If you see No changes detected, make or stage a Git change first.
If the terminal opens but does not commit automatically, that is expected. Review the command and press Enter.