Skip to content
| Marketplace
Sign in
Visual Studio Code>SCM Providers>Commit & PR AssistantNew to Visual Studio Code? Get it now.
Commit & PR Assistant

Commit & PR Assistant

Skyer Infotech

|
19 installs
| (0) | Free
AI commit message and pull request generator for VS Code. Uses local Ollama models to turn staged Git diffs into clean commits, structured PR descriptions, and release notes — no OpenAI, no API key, no cloud.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Commit & PR Assistant

AI commit message, PR description, and release notes generator for VS Code. Fully local with Ollama and no API key required.

Turn staged Git diffs into clean commits, structured pull requests, and release notes in seconds.

Problem

You have seen commit subjects like:

  • fix stuff
  • update code
  • minor changes
  • wip

That creates noisy history, weak PR descriptions, and inconsistent release notes. Many AI tools also require cloud APIs.

Solution

Commit & PR Assistant analyzes your staged diff and generates:

  • Clean, structured commit messages
  • Review-ready pull request descriptions
  • Organized release notes between tags

All generation runs through your local Ollama model.

Features

  • AI commit message generation with configurable subject/body length limits and retry on invalid output
  • Commit quality score (0-10) after commit generation
  • AI pull request drafting with template support (Feature, Bug Fix, Security, and more)
  • AI release notes generation between tags with copy-to-clipboard support
  • Reword last commit message with the same style and length constraints
  • Privacy-first design: no OpenAI, no API keys, no telemetry, no hidden API calls

Installation

  1. Install Ollama.
  2. Start Ollama:
ollama serve
  1. Pull a model:
ollama pull qwen2.5-coder:3b
  1. Install Commit & PR Assistant from the VS Code Marketplace.
  2. Configure VS Code settings:
  • commitAssistant.ollamaEndpoint -> http://localhost:11434
  • commitAssistant.model -> qwen2.5-coder:3b

Commands

  • Commit Assist: Suggest Commit Message
  • Commit Assist: Reword Last Commit Message
  • Commit Assist: Draft Pull Request Description
  • Commit Assist: Open Pull Request
  • Commit Assist: Select PR Template
  • Commit Assist: Review Staged Changes
  • Commit Assist: Generate Release Notes (Between Tags)
  • Commit Assist: Copy Release Notes

Configuration

Setting Description
commitAssistant.ollamaEndpoint Ollama endpoint. Default: http://localhost:11434
commitAssistant.model Model name. Default: qwen2.5-coder:3b
commitAssistant.temperature Sampling temperature for generation. Default: 0.3
commitAssistant.maxCommitSubjectLength Maximum commit subject length. Default: 72, min: 50, max: 200
commitAssistant.maxCommitBodyLineLength Maximum commit body line length. Default: 150, min: 72, max: 200
commitAssistant.maxDiffChars Maximum diff characters sent to the model. Default: 8000
commitAssistant.maxDiffFiles Maximum prioritized files included in prompt preprocessing. Default: 8
commitAssistant.diffExcludePatterns Additional glob patterns excluded from diff preprocessing
commitAssistant.showCommitQualityScore Show a 0-10 commit quality score after generation. Default: true

Note: If you prefer strict 50/72 formatting, set:

  • commitAssistant.maxCommitSubjectLength = 50
  • commitAssistant.maxCommitBodyLineLength = 72

Requirements

  • VS Code ^1.109.0
  • A Git repository open in VS Code
  • Reachable Ollama endpoint
  • At least one pulled Ollama model

Privacy

Commit & PR Assistant keeps your code local:

  • No OpenAI
  • No API keys
  • No hidden API calls
  • No telemetry
  • No vendor lock-in

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft