Commit & PR AssistantGenerate high-quality commit messages and pull request drafts directly inside VS Code using local Ollama models. ❓ Why Commit & PR Assistant?⚡ Faster reviews: Turn staged diffs into clean commit messages and PR descriptions in seconds. 🧩 Built-in PR templates: Pick focused formats like Bug Fix, Feature, Security, Performance, and more. 🏠 Local-first AI: Runs entirely on your Ollama setup with models you control. 🔁 GitHub & GitLab ready: Open PR or MR pages with generated titles and paste-ready bodies. 🧠 Native VS Code experience: Works seamlessly with Source Control and the Command Palette. 🔐 No OpenAI API Key RequiredThis extension does not call OpenAI and does not require an All prompts are sent to your configured Ollama endpoint (default: 🚀 Getting Started with Ollama1️⃣ Install OllamaDownload from: https://ollama.com/download 2️⃣ Start Ollama
If Ollama is already running as a background service, you can skip this step. 3️⃣ Pull a modelDefault model used by this extension:
You can use any model available in your Ollama setup. 4️⃣ Verify Ollama is reachable
You should see a JSON list of installed models. 5️⃣ Configure the extension in VS CodeOpen Settings, search for
6️⃣ Available commands
🌟 Key Features✍️ AI Commit Message Generation
📝 AI Pull Request Drafting
🔗 Open PR / MR Flow
📦 Built-in PR Templates
⚡ Quick StartStep 1: Configure
Step 2: Generate a Commit Message
Step 3: Draft or Open a Pull Request
⚙️ Configuration OptionsSearch for
📌 Requirements
🛠️ How It Works
🧯 Troubleshooting❌ Ollama request failed (404)Check ❌ Ollama request failed (500)The selected model may not be available. Pull it first:
🤔 Empty or weak outputTry a stronger model or reduce diff size using ⏱️ Connection refused or timeoutEnsure Ollama is running and reachable from VS Code. 🔒 Privacy & Security
Q&AWhat does Commit & PR Assistant do?It analyzes your staged Git changes and generates clear, well-structured commit messages and pull request descriptions. The goal is to save time and keep your history and PRs easy to review. Does this extension use OpenAI or any paid API?No. Everything runs locally using Ollama. There’s no OpenAI, no cloud calls, and no API key required. What models are supported?Any model available in your local Ollama setup. By default, it uses Is my code sent anywhere?No. Your diffs are sent only to your local Ollama instance. Nothing leaves your machine. How does it generate commit messages?It reads the staged Git diff, summarizes the intent of the changes, and formats a concise commit message based on what actually changed. Can it generate pull request descriptions too?Yes. It can draft a full PR description, including summaries and structured sections, making it easier to open review-ready PRs. Does it support PR templates?Yes. You can select from available PR templates, and the assistant will adapt the generated description to match the chosen template. What Git platforms are supported?The extension works with Git repositories in VS Code and is compatible with workflows for GitHub, GitLab, and similar platforms. What if my diff is very large?You can control how much of the diff is sent to the model using the Can I customize the AI behavior?Yes. You can adjust the model name, temperature, and Ollama endpoint directly from the extension settings. Is this extension free?Yes. It’s open-source and licensed under MIT. Who is this extension for?Anyone who wants cleaner commits and better PRs without relying on cloud AI. It’s especially useful for teams that care about privacy and consistency. 📄 LicenseMIT |