Configure your AI provider and API key in Settings → GitHub PR Helper
Open a Git repository and create your first PR!
Extension Settings
Setting
Description
Default
githubPrHelper.provider
AI provider (google, openai, anthropic)
google
githubPrHelper.providerApiKey
API key for the selected AI provider
(empty)
githubPrHelper.model
AI model to use (preset list or custom)
google/gemini-2.5-flash
githubPrHelper.customModel
Custom model ID (when model is set to custom)
(empty)
githubPrHelper.baseBranch
Default base branch for PRs
main
githubPrHelper.defaultReviewers
Default reviewers (GitHub usernames or team slugs)
[]
githubPrHelper.titleTemplate
Custom instructions for title generation
(default prompt)
githubPrHelper.descriptionTemplate
Custom instructions for description generation
(default prompt)
githubPrHelper.promptOnBranchPublish
Behavior when pushing a new branch (ask, always, never)
ask
githubPrHelper.enableCopilotReviewer
Automatically assign Copilot as reviewer on PR creation
false
Usage
Creating a PR
Click the GitHub PR Helper icon in the Activity Bar
Click Create Pull Request
The extension will:
Create a draft PR with placeholder content
Generate a title and description using AI
Update the PR with the generated content
Editing a PR
Title: Click the edit icon next to the title
Description: Click "Description" to open a panel with Preview/Edit tabs and markdown rendering
Reviewers: Click the + icon on "Reviewers" to add, or the × icon next to a reviewer to remove
Regenerating AI Content
Click the ✨ sparkle icon next to the description to regenerate the title and description with AI.
Commands
Command
Description
GitHub PR Helper: Create Pull Request
Create a new draft PR
GitHub PR Helper: Refresh
Refresh the current PR details
GitHub PR Helper: Mark as Ready for Review
Convert draft to regular PR
GitHub PR Helper: Open in GitHub
Open the PR in your browser
GitHub PR Helper: Settings
Open extension settings
GitHub PR Helper: Regenerate with AI
Regenerate title and description
Development
# Install dependencies
npm install
# Compile TypeScript
npm run compile
# Watch for changes
npm run watch
# Run extension in debug mode
# Press F5 in VS Code