LLM PR Assistant
Generate code changes from a prompt, commit them on a new branch, and open a PR.
Includes a guided chat onboarding experience inside the editor.
Features
- Chat-based onboarding for Anthropic + GitHub
- Device login for GitHub
- Automatic repo and base-branch detection
- Multi-step planning for larger tasks
- Robust patch application with fallbacks
- PR creation from a single prompt
- Change summary after execution
- Optional local Qdrant sidecar for indexing
Usage
- Open any git repository in VS Code or Cursor.
- Click the status bar item LLM PR Assistant to open chat.
- Follow the onboarding steps, then enter a prompt.
Example prompts:
- Write unit tests for the payment service
- Add retry logic to the API client
- Refactor the auth middleware for clarity
- Fix lint errors in the checkout module
Commands
LLM PR Assistant: Open Chat
LLM PR Assistant: Quick Setup
LLM PR Assistant: Sign In to GitHub
LLM PR Assistant: Select Claude Model
Settings (advanced)
llmPrAssistant.claudeModel: Claude model name
llmPrAssistant.githubToken: GitHub token with repo scope (optional)
llmPrAssistant.repo: repository slug like org/repo
llmPrAssistant.baseBranch: base branch for PRs (default main)
llmPrAssistant.qdrantPath: local Qdrant binary path (optional)
llmPrAssistant.qdrantHost: Qdrant host (default 127.0.0.1)
llmPrAssistant.qdrantPort: Qdrant HTTP port (default 6333)
llmPrAssistant.qdrantDataDir: Qdrant data directory (optional)
Notes
- The repo must be clean (no uncommitted changes), except
.vscode/.
- The GitHub login token is used for PR creation and HTTPS pushes.
Logo / Icon
Add an icon by placing a 128x128 (or 256x256) PNG in the repo and setting:
{
"icon": "images/icon.png"
}
The path is relative to package.json. Include the image in your VSIX (don’t ignore it in .vscodeignore).
| |