Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>VSCode AutoPRNew to Visual Studio Code? Get it now.
VSCode AutoPR

VSCode AutoPR

morcen

| (0) | Free
Generate commit messages using Claude AI
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AutoPR

A VS Code extension that uses Claude AI to automatically generate commit messages from your staged changes.

Features

  • Generates a commit message from your staged git diff using Claude AI
  • Follows the Conventional Commits specification
  • One-click button in the Source Control input box
  • API key stored securely in your OS keychain — never in plaintext

Requirements

  • An Anthropic API key (free tier available)
  • VS Code 1.94+
  • A git repository

Usage

  1. Stage the files you want to commit (via git add or the VS Code Source Control panel)
  2. Click the robot button in the commit message input box, or open the Command Palette (Cmd+Shift+P) and run AutoPR: Generate Commit Message
  3. On first run, you will be prompted for your Anthropic API key — it is stored securely and never asked again
  4. The commit message is written directly into the input box — review it and commit when ready

Configuration

Setting Default Description
autopr.model claude-opus-4-6 Claude model used for generation. Switch to claude-haiku-4-5-20251001 for faster, lower-cost generation.

To change the model, open Settings (Cmd+,) and search for autopr.

Installation

From source

git clone https://github.com/morcen/vscode-autopr.git
cd vscode-autopr
npm install
npm run build
npx vsce package
code --install-extension vscode-autopr-0.1.0.vsix

Updating

Pull the latest changes, rebuild, and reinstall:

git pull
npm run build
npx vsce package
code --install-extension vscode-autopr-0.1.0.vsix

VS Code will prompt you to reload — the new version takes over immediately.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft