One command takes you from dirty working tree to an open pull request — and pings
Teams/Slack to get it reviewed.
What it does
Authenticate once — you paste a GitHub personal access token; it is stored in
VS Code SecretStorage and reused on every run.
Commit — stages your changes and generates a relevant conventional commit
message from the diff (type + scope + summary + file list), editable before committing.
Push — pushes the current branch to origin. HTTPS remotes authenticate with your
token via http.extraHeader (token never appears on the command line). SSH remotes work
with your existing SSH keys — the token is only used for the GitHub API.
Create a PR — raises a pull request against the repo's default branch on your behalf
(reuses an already-open PR for the same branch). If you are on the default branch it
offers to create a feature branch first.
Remind reviewers — optionally posts a review reminder to an MS Teams or
Slack incoming webhook with the PR title, link, and author.
Install
Build the VSIX: npm install && npm run package
In VS Code: Extensions view → ... → Install from VSIX… → select
vscode-git-autopilot-0.1.0.vsix
Or copy dist/ into your extension folder (~/.vscode/extensions/codespriha.vscode-git-autopilot-0.1.0).
Usage
Set your token: command palette → Git AutoPilot: Set Git Token.
You only do this once per machine. The token needs repo and pull_request scopes.