Windsurf / VSCode / Open VSX extension. Adds a sparkle button to the Source Control view that generates a commit message from staged changes via the claude CLI (Claude Code).
- Claude Code installed and logged in:
claudemust be on yourPATH - Git repository with staged changes
npm i -g @vscode/vsce
vsce package # produces claude-commit-generator-0.0.1.vsixIn Windsurf: Extensions panel → … menu → Install from VSIX… → pick the .vsix.
- Stage changes (
git add). - Open Source Control view.
- Click the sparkle icon in the SCM title bar (next to Windsurf's own commit-message button).
- Commit message is written into the input box.
claudeCommitGen.claudePath— path toclaudebinary (defaultclaude)claudeCommitGen.model— optional model override (sonnet,opus,haiku, …)claudeCommitGen.prompt— prompt sent to claudeclaudeCommitGen.extraArgs— extra CLI args
npx ovsx publish claude-commit-generator-0.0.1.vsix -p <TOKEN>