VS Code Extensions
GitFlare Assistant

GitFlare Assistant

by PedroLouback

AI-powered commit messages, PR descriptions and code review via OpenRouter

Downloads

3

Rating

— (0)

Version

0.1.7

Last updated

Jul 08, 2026

VS Code Marketplace GitHub Repo License Build Status

Generate commit messages, PR descriptions, and code reviews using free AI models via OpenRouter — directly in VS Code.

🇧🇷 README em Português

✨ Features

Feature Description
🤖 AI Commit Messages Generates Conventional Commits messages based on your staged changes
📝 PR Descriptions Creates structured PR descriptions using GitHub CLI to fetch real PR data
🔍 Code Review Analyzes your code changes and provides categorized feedback

📦 Installation

  1. Open VS Code
  2. Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
  3. Search for "GitFlare Assistant"
  4. Click Install

From VSIX File

  1. Download the .vsix file from Releases
  2. Install via command palette: Extensions: Install from VSIX

⚙️ Configuration

1. Get OpenRouter API Key

  1. Visit OpenRouter.ai
  2. Sign up / Log in
  3. Go to API Keys section
  4. Create a new API key

2. Configure Extension

Open VS Code Settings (Ctrl+, / Cmd+,) and search for GitFlare Assistant:

Setting Default Description
gitFlareAssistant.apiKey "" Required - Your OpenRouter API key
gitFlareAssistant.model google/gemini-2.0-flash-exp:free AI model to use (see models)
gitFlareAssistant.baseBranch main Base branch for PR descriptions (main or master)
gitFlareAssistant.language en Output language: en or pt-BR
gitFlareAssistant.useGitHubCLI true Use gh CLI for PR descriptions (requires GitHub CLI)
Model Recommended For
google/gemini-2.0-flash-exp:free General use, fast, high quality
meta/llama-3.1-405b-instruct:free Complex reasoning, code review
openai/gpt-4o-mini Reliable, well-balanced
anthropic/claude-3-5-sonnet:free Technical accuracy

🎯 Usage

Generate Commit Message

  1. Stage your changes: git add .
  2. Open Command Palette (Ctrl+Shift+P / Cmd+Shift+P)
  3. Run GitFlare: Generate Commit Message
  4. The generated message is inserted into the SCM input box

Tip: You can also click the ✨ icon in the Source Control panel toolbar

Generate PR Description

Prerequisites: Install and authenticate GitHub CLI (gh auth login)

  1. Open Command Palette
  2. Run GitFlare: Generate PR Description
  3. Enter your PR number (e.g., 123) or full PR URL
  4. The extension fetches PR details via gh pr view and the diff
  5. AI generates a structured description in the webview panel

Fallback: If GitHub CLI isn't available, compares current branch with base branch

Review Changes

  1. Open Command Palette
  2. Run GitFlare: Review Changes
  3. Choose scope: Staged changes or All changes
  4. Review feedback appears in a webview panel with:
    • 🔴 Critical Issues
    • 🟡 Suggestions
    • 🟢 Positive Aspects
    • 📝 Summary

🖼️ Screenshots

Commit Message Generation

Generate Commit Message

PR Description Generation

PR Description

Code Review

Code Review

🔧 Requirements

  • VS Code 1.85.0 or higher
  • OpenRouter API Key (free registration)
  • GitHub CLI (optional, for PR description feature)

🐛 Troubleshooting

Problem Solution
"No staged changes found" Run git add . to stage your changes
"API Key is required" Configure gitAiAssistant.apiKey in settings
"Failed to get PR diff" Install and authenticate GitHub CLI: gh auth login
"Empty content from model" Try a different model in settings
"Request timed out" Check internet connection, try a smaller diff

How to Report Bugs

Open a bug report with:

  1. Extension version
  2. VS Code version
  3. Steps to reproduce
  4. Error messages from Output panel

🤝 Contributing

Suggest a feature • Report a bug

See CONTRIBUTING.md for development guidelines.


Made with ❤️ by PedroLouback

Related extensions