Skip to content

us-asad/claude-commit-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Claude Commit Generator

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).

Requirements

  • Claude Code installed and logged in: claude must be on your PATH
  • Git repository with staged changes

Install (local)

npm i -g @vscode/vsce
vsce package           # produces claude-commit-generator-0.0.1.vsix

In Windsurf: Extensions panel → menu → Install from VSIX… → pick the .vsix.

Use

  1. Stage changes (git add).
  2. Open Source Control view.
  3. Click the sparkle icon in the SCM title bar (next to Windsurf's own commit-message button).
  4. Commit message is written into the input box.

Settings

  • claudeCommitGen.claudePath — path to claude binary (default claude)
  • claudeCommitGen.model — optional model override (sonnet, opus, haiku, …)
  • claudeCommitGen.prompt — prompt sent to claude
  • claudeCommitGen.extraArgs — extra CLI args

Publish to Open VSX

npx ovsx publish claude-commit-generator-0.0.1.vsix -p <TOKEN>

About

Windsurf/VSCode extension: generate commit messages via Claude Code CLI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors