|
| Setting | Type | Default | Description |
|---|---|---|---|
clawdCommit.model |
haiku | sonnet | opus |
sonnet |
Claude model to use for commit message generation. |
clawdCommit.includeFileContext |
boolean |
true |
Allow Claude to read files in the working directory for additional context beyond the diff. Disable to restrict analysis to the staged diff only. |
How it works
When you trigger ClawdCommit, it reads your staged diff and recent commit history, optionally fetches the full content of changed files for richer context, and sends everything to Claude in a single request. Claude generates a commit message matching your project's style.
Running locally
Clone the repo and install dependencies:
git clone <repo-url> cd ClawdCommit npm installOpen the project in VS Code.
Press F5 (or Run > Start Debugging). This launches a new Extension Development Host window with the extension loaded.
In the Extension Development Host, open a git repository, stage some changes, and click the ClawdCommit icon in the Source Control title bar.
Development build
npm run compile
This type-checks with tsc then bundles with esbuild into dist/extension.js.
Packaging as a .vsix
npx @vscode/vsce package
This produces a .vsix file you can install in VS Code via Extensions > Install from VSIX....
License
MIT — see LICENSE.