Overview Version History Q & A Rating & Review
Copilot Git Advisor
AI-powered git workflow advisory for VS Code, powered by GitHub Copilot.
Features
Copilot Git Advisor gives you intelligent feedback at every stage of your git workflow:
/review-staged — Analyzes staged changes for coherence, suggests improvements, recommends a commit message, and warns about unstaged work
/commit-advice — Evaluates push readiness, provides branch/workflow suggestions, validates commit message format, and tracks quality trends
/pr-description — Generates a polished PR title and description from your pushed commits
/code-review — Pre-push code review that catches security vulnerabilities and quality issues
/resolve-conflicts — AI-guided merge conflict resolution with per-file analysis
/changelog — Auto-generates a changelog from commits since last tag (Keep a Changelog format)
/plan-release — Release planning with version bump analysis, AI release notes, and one-click tag/bump actions
/prepare-pr — Comprehensive PR preparation: title, description, reviewer context, focus areas, and checklist
/check-docs — Documentation health analysis: scans for undocumented exports, stale docs, and suggests improvements
/analyze-arch — Architecture analysis: identifies coupling issues, circular dependencies, design patterns, and complexity hotspots
Additional Capabilities
Conventional Commits Enforcer — Validates and auto-fixes commit messages (integrated into /review-staged and /commit-advice)
Commit Quality Trend — Scores your recent commit messages (0–100) with recurring issue detection
Status Bar — Context-aware indicator that detects git events and offers one-click advisory access
SCM Buttons — One-click actions in chat output (apply commit message, run push, copy changelog, create tag, open PR)
Language Model Resilience — Automatic retry on empty responses with 1-second delay; fallback chain tries multiple model families (gpt-4o → copilot-chat → gpt-4 → gpt-3.5-turbo)
Dynamic Model Selection — New "Copilot Git Advisor: Select Model" command to pick from available Copilot models; copilot-git-advisor.preferredModelFamily setting for persistent preference
Usage
Chat Commands
Open GitHub Copilot Chat and type @git-advisor followed by a command:
@git-advisor /review-staged — Analyze staged changes
@git-advisor /commit-advice — Post-commit advisory
@git-advisor /pr-description — Generate PR details
@git-advisor /code-review — Pre-push code review
@git-advisor /resolve-conflicts — Resolve merge conflicts
@git-advisor /changelog — Generate changelog
@git-advisor /plan-release — Plan a release
@git-advisor /prepare-pr — Prepare PR for review
@git-advisor /check-docs — Check documentation health
@git-advisor /analyze-arch — Analyze project architecture
Command Palette
Press Ctrl+Shift+P (or Cmd+Shift+P on macOS) and search "Copilot Git Advisor":
Copilot Git Advisor: Stage Advisory
Copilot Git Advisor: Commit Advisory
Copilot Git Advisor: Push Advisory
Copilot Git Advisor: Code Review
Copilot Git Advisor: Conflict Resolution
Copilot Git Advisor: Generate Changelog
Copilot Git Advisor: Release Planning
Copilot Git Advisor: PR Preparation
Copilot Git Advisor: Documentation Check
Copilot Git Advisor: Architecture Analysis
Copilot Git Advisor: Select Model — Configure which Copilot model family to use
Configuration
Settings → Extensions → Copilot Git Advisor :
Automatic Notifications
Copilot Git Advisor watches your git activity and offers relevant advisories via notifications when you stage files, create commits, or push branches. Configure behavior in Settings → Extensions → Copilot Git Advisor (off / notify / auto).
Requirements